Skip to content

Commit

Permalink
Merge pull request #205 from wrf-hydro-nwm-bot/pr-54-merge
Browse files Browse the repository at this point in the history
WRF-Hydro v5.0.0 release changes
  • Loading branch information
kafitzgerald authored May 24, 2018
2 parents 0396da6 + af10f9d commit 987a4e0
Show file tree
Hide file tree
Showing 5 changed files with 59 additions and 6 deletions.
Binary file added .github/images/wrf_hydro_symbol_logo_2017_09.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
55 changes: 55 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# WRF-Hydro v5.0.0

## High-Level Highlights:
- New capability to aggregate and route flow with user-defined mapping (catchments and reaches, e.g., NHDPlus).
- New capability to specify key hydrologic and vegetation parameters in 2 dimensions (and 3 in the case of soil properties).
- New Noah-MP surface resistance formulation that improves snowpack simulation.
- Updates to Noah-MP infiltration scheme to better handle high intensity rainfall events in fast-draining soils.
- Significant improvements to model output routines, including full CF compliance, new capabilities for applying internal scale/offset and compression to reduce file sizes, and built-in coordinate information to allow outputs to be read natively in GIS environments.
- New streamflow nudging data-assimilation capability for the Muskingum-Cunge method.
- Testing is now available for WRF-Hydro. More information can be found [here](tests/README.md).

## Details:
### Namelists:
The hydro.namelist and namelist.hrldas files used to control model run options have changed. The existing v3.0 namelists should be replaced with the new files in the /template directory in the tarball. The major changes are specified below.

#### Changes in hydro.namelist
- A new 2-dimensional file option for specifying hydrologic terrain routing parameters (HYDROTBL_F), which allows these parameter to be freely distributed across the domain as opposed to tied to a lookup table.
- The option to provide a Geospatial land metadata file (LAND_SPATIAL_META_FLNM) to write out CF compliant files. This can be generated by the WRF-Hydro ArcGIS Pre-Processing Toolkit under “Build Spatial Metadata file”. Note: any spatial metadata file created before November, 2016 will need to be re-created due to an added attribute in the x/y variables. If this file is not provided, the output will not be CF compliant but the model will still run.
- io_form_outputs option: file outputs can now provide flexibility in the format of output (compressed, scale factor/add offset, etc.).
- The io_config_outputs option is used for switching between different predefined output variable sets
- New option to differentiate channel inflow components into surface and groundwater bucket model contributions in the model output (output_channelBucket_influx).
- New capability to specify distinct timesteps for channel (DTRT_CH) and terrain (DTRT_TER) routing modules.
- The UDMP_OPT and associated udmap_file option for allowing user-defined mapping such as the NHDPlus network used in the National Water Model (NWM).
- New options to support streamflow nudging data assimilation.

#### Output options: new features in the hydro.namelist
- frxst_pts_out: An option to turn on and off forecast points for gridded routing has been created. When frxstpts = 1 AND the user has specified frxstpts in the Fulldom_hires file generation (using the WRF-Hydro GIS Pre-processing Tool), then a `frxstpts_out.txt` file will be generated.
- CHANOBS_DOMAIN: An option to output frxstpts in netCDF format has been created. Control this option by specifying the CHANOBS = 1 (will output) and CHANOBS = 0 (off). The CHANOBS file will output streamflow at the frxstpts specified in the `Fulldom_hires.nc` file.
- output_gw: GW files can be output independently.
- The RTOUT files now have geospatial metadata appended, making it much easier to work with these files in GIS.

#### Changes in namelist.hrldas
- New option to specify key vegetation and surface properties in 2 dimensions and soil properties in 3 dimensions. This allows much more user flexibility in how these parameters are assigned and calibrated.
- Specification (dependency) of the geogrid file has been removed

#### Changes to parameter files
- The supplemental domain parameter files are new or have updates since the last release: `wrfinput_d0x.nc`, `soil_properties.nc`, and `hydro2dtbl.nc`
- New `soil_properties.nc` file, which can be created using the provided R script `create_soilProperties.R`. Note: the `soil_properties.nc` file is only active (and required) if the SPATIAL_SOIL compile option is selected. If the compile option is set to 0, the model will read from `SOILPARM.TBL`. The creation of this file has a dependency on “R” and several of its libraries.
- The model can now read a `hydro2dtbl.nc` file (HYDROTBL_F) instead of the `HYDRO.TBL` file, which enables easy manipulation of parameters. The model will create one for you if it is not provided, or if you use the R script to generate the `soil_properties.nc` file, it will also create the `hydro2dtbl.nc` file.
- Changes to the `wrfinput_d0x.nc` file to ensure consistency between the geogrid and the initial land surface model states. A new `wrfinput_d0x.nc` file is required due to some variable changes and can be generated using the `create_Wrfinput.R` script. Note: the v3.0 shell script for creating the `wrfinput_d0x.nc` file from the geogrid file will not work for v5; use the v5 script provided on the [WRF-Hydro website](https://ral.ucar.edu/projects/wrf_hydro/pre-processing-tools). The creation of this file has a dependency on “R” and the “netCDF4” library. This script is currently only compatible with the Noah-MP land surface model.
- The water and urban land cover type flags are now read from geogrid file global attributes, allowing flexibility to use classification systems other than the previously supported USGS (e.g., MODIS).

#### Lakes / reservoirs
- For gridded routing (channel_option = 3) or Muskingum-Cunge routing with user-defined mapping active (channel_option = 2 and UDMP_OPT = 1), a LAKEPARM file can now be read in either in .TBL format or .nc format. The WRF-Hydro GIS Pre-processing Toolkit will generate either or both. Note that variable names have changed and to convert to the new format, use the `convert_LAKEPARM_to_V5.0.sh` script available on the website. Note: that lakes will not run at this time using reach-based routing (channel_option=2) unless paired with user-defined mapping (UDMP_OPT=1). Namelist checks will prevent users from running with a LAKEPARM supplied and channel_option=2 selected.

#### Groundwater
- The model now reads in netCDF versions of the GWBUCKPARM file and `gw_basins_geogrid.txt` file. These are required for running groundwater (GWBASESWCRT options 1 and 2). The WRF-Hydro GIS Pre-processing Toolkit can generate these files using a tool in the Utilities called “Build GWBUCKPARM Table”: See details in the WRF-Hydro GIS Pre-processing Toolkit documentation for options for how to generate this file.

### Bug fixes
- A bug in the gridded lake code was fixed to properly translate inflows and outflows.
- An error in the calculation of the trapezoidal celerity for Muskingum-Cunge was corrected.
- An error in soil moisture accounting in the subsurface flow module was fixed.
- Accumulated variables in a few locations in the code were converted to single timestep accounting to minimize machine truncation errors on large values.
- Fixed issue with energy calculations that was leading to above freezing temperatures for very shallow snowpacks.

6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
# WRF-Hydro
# WRF-Hydro <img src=".github/images/wrf_hydro_symbol_logo_2017_09.png" width=100 align="left" />

|Single node|
|----------|
|[![Build Status](https://travis-ci.org/NCAR/wrf_hydro_nwm_public.svg?branch=master)](https://travis-ci.org/NCAR/wrf_hydro_nwm_public)|

**IMPORTANT:** Please note that the model code contained in this repository is currently a **pre-release to beta users** and is **not fully supported at this time.** A full public release with additional documentation will be made available and officially announced through our [email listserv](https://ral.ucar.edu/projects/wrf_hydro/subscribe). If you would like to receive notification of the official public release please subscribe to our [email listserv](https://ral.ucar.edu/projects/wrf_hydro/subscribe).

## Description
This is the code repository for [WRF-Hydro](https://ral.ucar.edu/projects/wrf_hydro).

WRF-Hydro is a community modeling system and framework for hydrologic modeling and model coupling. In 2016 a configuration of WRF-Hydro was implemented as the [National Water Model](http://water.noaa.gov/about/nwm) (NWM) for the continental United States.

## Documentation
Documentation is forthcoming and will be made available with the official public release.
Documentation can be found on our [project website](https://ral.ucar.edu/projects/wrf_hydro/technical-description-user-guide).

## Resources and Support
For news and updates regarding the WRF-Hydro project please subscribe to our [email list](https://ral.ucar.edu/projects/wrf_hydro/subscribe).
Expand Down
2 changes: 1 addition & 1 deletion trunk/NDHMS/Routing/module_NWM_io_dict.F
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module module_NWM_io_dict
implicit none

! Declare parameter values for module.
character (len=512), parameter :: codeVersion = "WRF-Hydro v5.0.0-dev"
character (len=512), parameter :: codeVersion = "WRF-Hydro v5.0.0"
integer, parameter :: numChVars = 10
integer, parameter :: numLdasVars = 95
integer, parameter :: numRtDomainVars = 5
Expand Down
2 changes: 1 addition & 1 deletion trunk/NDHMS/template/NoahMP/namelist.hrldas
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
&NOAHLSM_OFFLINE

HRLDAS_SETUP_FILE = "./DOMAIN/wrfinput_d01"
HRLDAS_SETUP_FILE = "./DOMAIN/wrfinput_d01.nc"
INDIR = "./FORCING"
SPATIAL_FILENAME = "./DOMAIN/soil_properties.nc"
OUTDIR = "./"
Expand Down

0 comments on commit 987a4e0

Please sign in to comment.