Closed rbcarvin closed 6 years ago
I think this needs to be addressed and made exceptionally obvious in the vignette.
I am pretty sure this issue has been resolved with updates to RMprep and RMevents, and by using an appropriate timezone code such as "ETC/GMT+6".
Need to add a way to handle data recorded in CST year-round. Precip that occurs during the 2:00am hour on daylight savings day currently causes NA's, which makes RMevents fail.
One idea is to convert the date/time to UTC (aka GMT) during RMprep, run the remaining functions (RMevents, RMintense, RMerosivity, RMarf), then convert back to CST (or whatever timezone) at the end while building the output tables.
Open to other ideas.
tz_example.txt
It works if I assign tz="UTC", but the time would need to be converted back to 'local' at the end:
Here is the RMevents function - updated to handle files without "0" in the rain value column: