UW-Hydro / VIC

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

Undefined forcing variable type TMAX in file 0 #876

Open DawnEmil opened 5 years ago

DawnEmil commented 5 years ago

I am trying to run Classic driver of VIC 5. I am running the model in Ubuntu using gcc compiler. I would like to run VIC using daily meteorological data, considering only the minimum variables required (PREC, TMAX, TMIN, WIND). However, when I tried running the model, it is showing that the variable TMAX is undefined. When I checked the get_force_type.c code, only the sub daily variables are defined. Is there a provision in VIC5, where I can provide meteorological variables as daily data.

LSRathore commented 5 years ago

Hi, You can change the minimum or maximum sub daily steps for meteorological forcing file by editing the vic_def.h file. You can find that file in folder named vic_run.

jhamman commented 5 years ago

VIC.5 requires subdaily data. We are currently pointing people to MetSim (https://metsim.readthedocs.io/en/develop/) as a tool for desegregating daily data into VIC compatible forcings. More info here: https://vic.readthedocs.io/en/master/Documentation/Drivers/Classic/ForcingData/