UW-Hydro / RVIC

RVIC Streamflow Routing Model
http://rvic.readthedocs.org
GNU General Public License v3.0
34 stars 59 forks source link

Some of the times given are before the first time in **nctime**. #140

Closed ethan6868 closed 1 year ago

ethan6868 commented 1 year ago

WARNING:init>> Could not find unit hydrograph var unit_hydrograph_LIQ WARNING:init>> trying var name unit_hydrograph INFO:_check_domain_file>> domain_file: domain.rvic.qinghai.20221220.nc INFO:_check_domain_file>> Parameter RvicDomainFile: domain.rvic.qinghai.20221220.nc INFO:_check_domain_file>> dom files match in parameter and domain file INFO:set_domain>> set domain INFO:set_domain>> Flipping Parameter File Y inds... DEBUG:start>> Filenum 0 INFO:write>> ============================================= INFO:write>> <class 'netCDF4._netCDF4.Variable'> INFO:write>> float64 time(time) INFO:write>> long_name: time INFO:write>> units: days since 0001-01-01 00:00:00 INFO:write>> calendar: standard INFO:write>> unlimited dimensions: INFO:write>> current shape = (31,) INFO:write>> filling on, default _FillValue of 9.969209968386869e+36 used ERROR:start>> [cftime.DatetimeGregorian(2000, 1, 1, 0, 0, 0, 0, has_year_zero=False) cftime.DatetimeGregorian(2000, 2, 1, 0, 0, 0, 0, has_year_zero=False) cftime.DatetimeGregorian(2000, 3, 1, 0, 0, 0, 0, has_year_zero=False) cftime.DatetimeGregorian(2000, 4, 1, 0, 0, 0, 0, has_year_zero=False) cftime.DatetimeGregorian(2000, 5, 1, 0, 0, 0, 0, has_year_zero=False) cftime.DatetimeGregorian(2000, 6, 1, 0, 0, 0, 0, has_year_zero=False) cftime.DatetimeGregorian(2000, 7, 1, 0, 0, 0, 0, has_year_zero=False) cftime.DatetimeGregorian(2000, 8, 1, 0, 0, 0, 0, has_year_zero=False) cftime.DatetimeGregorian(2000, 9, 1, 0, 0, 0, 0, has_year_zero=False) cftime.DatetimeGregorian(2000, 10, 1, 0, 0, 0, 0, has_year_zero=False) cftime.DatetimeGregorian(2000, 11, 1, 0, 0, 0, 0, has_year_zero=False) cftime.DatetimeGregorian(2000, 12, 1, 0, 0, 0, 0, has_year_zero=False)] ERROR:start>> timestamp: 2000-01-01 00:00:00 ERROR:start>> Some of the times given are before the first time in nctime. Traceback (most recent call last): File "/home/mjf/styj/conda/envs/rvic_1/lib/python3.6/site-packages/rvic/core/read_forcing.py", line 199, in start timestamp, self.current_fhdl.variables[self.time_fld]) File "src/cftime/_cftime.pyx", line 620, in cftime._cftime.date2index File "src/cftime/_cftime.pyx", line 855, in cftime._cftime.time2index ValueError: Some of the times given are before the first time in nctime. ERROR:write>> Traceback (most recent call last): ERROR:write>> File "/home/mjf/styj/conda/envs/rvic_1/bin/rvic", line 61, in ERROR:write>> main() ERROR:write>> File "/home/mjf/styj/conda/envs/rvic_1/bin/rvic", line 50, in main ERROR:write>> convolution(args.config_file) ERROR:write>> File "/home/mjf/styj/conda/envs/rvic_1/lib/python3.6/site-packages/rvic/convolution.py", line 47, in convolution ERROR:write>> time_handle, directories = convolution_init(config_file) ERROR:write>> File "/home/mjf/styj/conda/envs/rvic_1/lib/python3.6/site-packages/rvic/convolution.py", line 189, in convolution_init ERROR:write>> data_model.start(time_handle.timestamp, rout_var) ERROR:write>> File "/home/mjf/styj/conda/envs/rvic_1/lib/python3.6/site-packages/rvic/core/read_forcing.py", line 199, in start ERROR:write>> timestamp, self.current_fhdl.variables[self.time_fld]) ERROR:write>> File "src/cftime/_cftime.pyx", line 620, in cftime._cftime.date2index ERROR:write>> File "src/cftime/_cftime.pyx", line 855, in cftime._cftime.time2index ERROR:write>> ValueError ERROR:write>> : ERROR:write>> Some of the times given are before the first time in nctime.