UW-Hydro / VIC

The Variable Infiltration Capacity (VIC) Macroscale Hydrologic Model
http://vic.readthedocs.io
MIT License
262 stars 393 forks source link

VIC v5.0.1 producing -nan values at 120 min timestep #761

Closed shahryaramd closed 6 years ago

shahryaramd commented 6 years ago

Bug Reports

As the VIC only runs at sub-daily forcings, I used MetSim to disaggregate the daily forcings to 2-hourly. Now, when I am trying to run VIC at 120min timestep, the VIC output files have -nan values for the columns of OUT_EVAP, OUT_RUNOFF and for the 1st soil layer values of OUT_SOIL_LIQ and OUT_SOIL_MOIST. I can't figure out why. I have attached the global param file, a sample forcing file, and corresponding output file.

global.param.mekong.txt forcing_9.6_105.4.txt fluxes_9.6_105.4.txt

jhamman commented 6 years ago

@shahryaramd -

When you say that you can't figure out why, what have you tried? Have you tried using a debugger to isolate when the nans are created?

jhamman commented 6 years ago

@shahryaramd - Closing as we never heard back from you. Feel free to reopen if you are able to provide more information.

shahryaramd commented 6 years ago

I actually was able to solve the problem. On changing the SOIL_QUARTZ value from -999 to a finite value solved it.