WRF-Hydro Modeling System

Regridding Scripts

WRF-Hydro logo web banner

Regridding Scripts

Earth System Modeling Framework (ESMF) Regridding Scripts

Below we provide script packages to regrid meteorological forcing data to a smaller, completely encompassed WRF-Hydro domain. The tools used here utilize the ESMF regridding libraries contained within the NCL software. Download and install NCL 6.1 or later.

Each compressed tar.gz package contains NCL-based regridding scripts that will regrid meteorological forcing data onto a WRF/WRF-Hydro 'GEOGRID' domain. Each package contains sample input data, a sample geogrid file, and a README guide.

ESMF Regridding Script Packages
Memory Usage (RAM needed)

For further information see  Regridding using NCL and the Earth System Modeling Framework (ESMF) software.

Note: Since GFS, HRRR, and RAP are forecast products, were we to generate output files from this script with the proper naming conventions for WRF-Hydro there would potentially be more than one file with the same name. Therefore, we leave the step of renaming output files to meet the WRF-Hydro input filename convention to the user. However, the scripts if used with the provided example input data do print out the proper filename convention. The user can look at the scripts to see how they can alter them to work with their own forcing data files.
These scripts were updated on 05 September 2019 to address the following issues:
• A bug that caused the GFS regridding script to crash because a variable was not deleted (GFS)
• A bug that caused incorrect filenames to be generated near the end of a month (all forecast datasets)
• A bug that caused the GFS script to fail when regridding source files with forecast hours of 48 hours or greater (GFS)

Related data are available from the following sources:
NLDAS – North American Land Data Assimilation System
HRRR – High-Resolution Rapid Refresh
MRMS – Multi Radar Multi Sensor System  or https://vlab.ncep.noaa.gov/web/mrms
RAP – Rapid Refresh
GFS – Global Forecast System