NCAR / wrf_hydro_nwm_public

WRF-Hydro model code
https://ral.ucar.edu/projects/wrf_hydro
Other
180 stars 139 forks source link

hydro.namelist check inconsistent with selected options #61

Open laurareads opened 6 years ago

laurareads commented 6 years ago

The output options for output_channelBucket_influx = 0 state that these are only active for UDMP_OPT=1, however, the following is noted:

Current Behavior

If UDMP_OPT=0 and output_channelBucket_influx = 2 with GWBASESWCRT = 0, the model crashes since these options are inconsistent. This is GOOD because GWBASESWCRT cannot be zero if a user wants 2=channel+bucket fluxes (qSfcLatRunoff, qBucket, qBtmVertRunoff_toBucket)

Expected Behavior

The comment in the hydro.namelist, ! Options to output channel & bucket influxes. Only active for UDMP_OPT=1. , makes it seem like this entire suite of options are ignored if UDMP=0, but in reality they are not being ignored.

Possible Solution

Remove this comment from the hydro.namelist: ! Options to output channel & bucket influxes. Only active for UDMP_OPT=1.

Your Environment

kafitzgerald commented 6 years ago

It looks like the channel bucket fluxes (or equivalent) still aren't output when UDMP_OPT=0 so we should probably update the namelist check here (model should fail if this option is non-zero and UDMP_OPT is zero) as well as the documentation (namelist comments).