swb
swb copied to clipboard
Soil-Water-Balance: A Modified Thornthwaite-Mather Soil-Water-Balance Code for Estimating Groundwater Recharge.
JP suggests clarifying the irrigation calculation by forcing IrrigationAmount to equal IrrigationFromGW + IrrigationFromSW. rSoilWaterDeficit = rSoilWaterCap - rSoilMoisture rIrrigationFromGW = rFractionOfIrrigationFromGW *rSoilWaterDeficit / rIrrigationEfficiency_GW rIrrigationFromSW = (1.0 - rFractionOfIrrigationFromGW)...
Need to add code to allow PRECIPITATION_NETCDF_Z_VAR _or_ PRECIP_NETCDF_Z_VAR to work.
SWB 1.0 uses the syntax similar to: ``` TEMPERATURE NETCDF daymet_v3_tmax_%y_na.nc4 daymet_v3_tmin_%y_na.nc4 ``` whereas SWB 2.0 allows for specification with syntax similar to: ``` TMAX NETCDF daymet_v3_tmax_%y_na.nc4 TMIN NETCDF daymet_v3_tmin_%y_na.nc4...
"mean" works in SWB 2.0, but fails in SWB 1.0.
Assigning a constant landuse is not particularly useful, except for creating 'toy' test cases. Below is a file that makes use of a constant landuse code; it triggers an error....
A user sent in a control file that contained neither a "SOLVE" nor a "SOLVE_NO_TS_FILE" directive, with the following result:  It appears that if SWB has not actually...
It appears that INFLOW and OUTFLOW amounts are not included in the daily mass balance report file. This may be why users cannot reproduce the mass balance error amount printed...
Currently SWB halts if an **integer** ASCII grid file is given a NODATA_VALUE that is **real**. Need to see whether there is any kind of standard treatment for these within...