You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting this error running RVIC in hourly timesteps.
INFO:get_time_mode>> Coupling Timestep is (seconds): 3599.99999665
INFO:get_time_mode>> RVIC Timestep is (seconds): 86400.0
This problem seems to be (another) floating-point problem since the internal calculation does compute 1/24*8640 which ends up being an double instead of an int:
I have to do additional testing of any of the other errors are related to my tweak (right now I'm getting ERROR:write>> local variable 'end_timestamp' referenced before assignment)
Philipp
The text was updated successfully, but these errors were encountered:
PhilippBuehler
changed the title
Convolution not working for hourly timesteps
Coupling Timestep not calculating correct for hourly data
Nov 27, 2017
I tried to make it work out, but the problem is deep within the code and the use of datenum which is not working out. One fix could be to change the internal time format to "hours since xxx" instead of "days since xxx", but this is marked in the function as "DO NOT CHANGE".. So there probably needs to be a bigger fix for this.
I'm getting this error running RVIC in hourly timesteps.
This problem seems to be (another) floating-point problem since the internal calculation does compute
1/24*8640
which ends up being an double instead of an int:RVIC/rvic/core/read_forcing.py
Line 168 in 622f45d
I worked around it by rounding the result whoch gives me 3600 seconds :
See thecommit in my fork:
PhilippBuehler@8f333ce
I also created a pull request:
#104
I have to do additional testing of any of the other errors are related to my tweak (right now I'm getting
ERROR:write>> local variable 'end_timestamp' referenced before assignment
)Philipp
The text was updated successfully, but these errors were encountered: