M3Works / metloom

Location Oriented Observed Meteorology
Other
15 stars 4 forks source link

timezone issues with mesowest #29

Closed micah-prime closed 2 years ago

micah-prime commented 2 years ago

Description

Sampling snotel station 'CESC1' around 2020-03-08 results in a timezone error sensor_df["datetime"].apply(self._handle_df_tz) results in nonexistanttimeerror 2020-03-08 02:02:00 the tzinfo is 'America/Los_Angeles'

micah-prime commented 2 years ago

@micahjohnson150 fyi. Not sure how to fix this yet. I hardcoded the TZ for CDEC because of this issue, but that fix won't work here.