NOAA-OWP / ngen-forcing

Other
3 stars 6 forks source link

ExactExtract python GFS forecast data #10

Closed jduckerOWP closed 6 months ago

jduckerOWP commented 2 years ago

This script uses the ExactExtract python bindings (Regrid AORC using ExactExtract python bindings #8) to calculate aerial weighted averages of GFS forecast data for NextGen catchments within the hydrofabric. We use the GFS forecast product (GFS 12-13km surface flux grid dataset - T1534 Semi-Lagrangian grid) for force the NextGen framework. Gdal tools are required to read in GFS data and reconfigure rasters for the CONUS domain, where grid spacing remains even to properly calculate zonal statistics. This script will essentially calculate aerial weighted averages for GFS forecast data, perform bias correction and downscaling functions analogous to the National Water Model (NWM) Forcings Engine, and produce a NextGen netCDF file. Although there are still issues with the GFS forecast data (no precipitation data at initial forecast time 00z, hourly temporal output becomes 3-hourly temporal output beyond hour 120z), this script still lays a foundation of how we will approach GFS calculations for lumped sum forcings within NextGen catchments.

[Short description explaining the high-level reason for the pull request]

Additions

Removals

-

Changes

-

Testing

1.

Screenshots

Notes

-

Todos

-

Checklist

Testing checklist

Target Environment support