Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add explicit timezone (UTC) to datetime objets #41

Open
supermanzer opened this issue Nov 14, 2022 · 0 comments
Open

Add explicit timezone (UTC) to datetime objets #41

supermanzer opened this issue Nov 14, 2022 · 0 comments

Comments

@supermanzer
Copy link
Owner

Update the date/time parsing and creation code to explicitly add a timezone of UTC to the datetime objects returned.

Motivation:

  I'm Sunni, and I use NDBC data for model validation.

I'm writing because I want to verify the time zone of the data I'm pulling.

I read on the NDBC Measurement Descriptions and Units page: https://www.ndbc.noaa.gov/measdes.shtml that both Realtime and Historical files show times in UTC only.

I took a look at the NDBC.py code, and it looks like the data I'm pulling (stdmet) is coming from files that are accessed.

If that's the case, I would imagine the remark about Realtime and Historical files (UTC) applies to the data I'm pulling.

I just want to confirm for my own use and for the benefit of others.

Thanks!

Originally posted by @piratepheasant in #22 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant