+ All Categories
Home > Documents > WRF-Hydro Forcing Data Pre-Processing · •Data Pre-processing Options: –Several utilities for...

WRF-Hydro Forcing Data Pre-Processing · •Data Pre-processing Options: –Several utilities for...

Date post: 29-Sep-2020
Category:
Upload: others
View: 3 times
Download: 0 times
Share this document with a friend
16
D. Gochis, W. Yu, D. Yates, K. Sampson, A. Dugger, J. McCreight, M. Barlage, A. RafieeiNasab, L. Karsten, L. Read, L. Pan, Y. Zhang, M. McAllister, J. Mills, K. FitzGerald National Center for Atmospheric Research WRF-Hydro Forcing Data Pre-Processing
Transcript
Page 1: WRF-Hydro Forcing Data Pre-Processing · •Data Pre-processing Options: –Several utilities for formatting and creating ‘forcing’ data: •Using netcdf as the underlying data

D. Gochis, W. Yu, D. Yates, K. Sampson, A. Dugger, J. McCreight, M. Barlage,A. RafieeiNasab, L. Karsten, L. Read, L. Pan, Y. Zhang, M. McAllister, J. Mills, K. FitzGerald

National Center for Atmospheric Research

WRF-Hydro Forcing Data Pre-Processing

Page 2: WRF-Hydro Forcing Data Pre-Processing · •Data Pre-processing Options: –Several utilities for formatting and creating ‘forcing’ data: •Using netcdf as the underlying data

WRF-Hydro Workflow

1. Define the Domain:

WRF-ARW/WPS: geogrid.exe

Inputs: namelist.wps, geographic data

Outputs: GEOGRID file(defines the domain and grid)

2. Define Initial Conditions:

create_Wrfinput.R scriptInputs: GEOGRID fileOutputs: wrfinput file

(initial conditions for a ‘cold’ start and other default model parameters)

3. Create Hydrologic Routing Inputs:

WRF-Hydro GIS Pre-Processsing Tool Inputs: GEOGRID file, station points, lakes

Outputs: Full domain file, geospatial metadata file, Optional routing files

4. Prepare Meteorological Forcing Data:ESMF regridding scripts

Inputs: raw met. data, GEOGRID file, (regridded to match the GEOGRID domain

from step 1.)Outputs: LDASIN (and optional PRECIP) files

5. Run Model Simulations:wrf_hydro.exe

Inputs: GEOGRID file, fulldom_hires.nc, namelist.hrldashydro.namelist, wrfinput file, Optional routing files, LDASIN &

optional PRECIP files, Outputs: model outputs

6. Evlauate Model Output:Rwrfhydro

Inputs: model outputs, observationsOutputs: analyses, verifications,

visualizations, etc.

Page 3: WRF-Hydro Forcing Data Pre-Processing · •Data Pre-processing Options: –Several utilities for formatting and creating ‘forcing’ data: •Using netcdf as the underlying data

ALL FORCING DATA IS MAPPED TO SAME GRID (based on the ‘geogrid’)

SPECIFIED PRECIPITATION MAY HAVE HIGHER TIME RESOLUTION (e.g. 5min)

Input Forcing Data Requirements

Variable name Description Units

SWDOWN Incoming shortwave radiation W/m2

LWDOWN Incoming longwave radiation W/m2

Q2D Specific humidity kg/kg

T2D Air temperature K

PSFC Surface pressure Pa

U2D Near surface wind in the u-component m/s

V2D Near surface wind in the v-component m/s

RAINRATE Precipitation rate mm/s or kg/m2/s

Page 4: WRF-Hydro Forcing Data Pre-Processing · •Data Pre-processing Options: –Several utilities for formatting and creating ‘forcing’ data: •Using netcdf as the underlying data

ALL FORCING DATA IS MAPPED TO SAME GRID (based on the ‘geogrid’)

SPECIFIED PRECIPITATION MAY HAVE HIGHER TIME RESOLUTION (e.g. 5min)

Input Forcing Data Requirements

Optional formats of forcing data:• Unified analysis (all met. variables together – Netcdf file, e.g.

NLDAS-hourly)• Specified precipitation (Netcdf file , precipitation comes from

alternate source, e.g. radar, satellite, gauge analysis)• Fully-coupled model• Existing wrf output files

Page 5: WRF-Hydro Forcing Data Pre-Processing · •Data Pre-processing Options: –Several utilities for formatting and creating ‘forcing’ data: •Using netcdf as the underlying data

• Data Requirements:

– Forcing Input: Forecast Example…

00Z

01Z

02Z

Met. Forcing Met. Forcing Met. Forcing

01Z

Input Forcing Data Requirements

Page 6: WRF-Hydro Forcing Data Pre-Processing · •Data Pre-processing Options: –Several utilities for formatting and creating ‘forcing’ data: •Using netcdf as the underlying data

• Data Pre-processing Options:– Several utilities for formatting and creating ‘forcing’ data:

• Using netcdf as the underlying data model…• One file per forcing input time…• Direct use or simple regrid of existing wrf output• ESMF/ncl scripts for conservative regridding of data between structured or

unstructured grids, ASCII-netcdf formats, etc.• nco-based shell scripts to change variable names, threshold units, re-order

grids, etc• HRLDAS tools for preparing forcing with topographic adjustment

* BEST PRACTICE: Use as high of time-resolution forcing data as possible! (particularly rainfall)

Input Forcing Data Requirements

Page 7: WRF-Hydro Forcing Data Pre-Processing · •Data Pre-processing Options: –Several utilities for formatting and creating ‘forcing’ data: •Using netcdf as the underlying data

• netcdf forcing input file header

Input Forcing Data Requirements

Page 8: WRF-Hydro Forcing Data Pre-Processing · •Data Pre-processing Options: –Several utilities for formatting and creating ‘forcing’ data: •Using netcdf as the underlying data

1. Create national 1km gridded fields of:– Temperature, mixing ratio, surface

pressure, u-, v-windspeed, longwave and shortwave radiation, precipitation rate

2. Downscaling of:– Temperature (NARR distributed

climatological lapse rate)

– Mixing ratio (conserve RH)

– Surface pressure

– Incoming shortwave radiation (terrain slope and aspect)

NWM Forcing Data Engine Construction

Page 9: WRF-Hydro Forcing Data Pre-Processing · •Data Pre-processing Options: –Several utilities for formatting and creating ‘forcing’ data: •Using netcdf as the underlying data

Cycling Forecast Outputs

Hourly

Daily x 16

ensembles

4x Daily

-3 - 0 hrs

to 10 days

to 30 days

1-km spatial fluxes

(water & energy);

250-m routed fluxes

(water);

NHDPlus channel

routing

1-km spatial fluxes

(water & energy);

NHDPlus channel

routing

Met Forcing

MRMS QPE

Downscaled

GFS

Downscaled &

NLDAS2 Bias-

Corrected CFS

1-km spatial fluxes

(water & energy);

250-m routed fluxes

(water);

NHDPlus channel

routing

1-km spatial fluxes

(water & energy);

250-m routed fluxes

(water);

NHDPlus channel

routing

Downscaled

HRRR/RAP

Blend1 – 18 hrsHourly

NWM Operational Cycles

Page 10: WRF-Hydro Forcing Data Pre-Processing · •Data Pre-processing Options: –Several utilities for formatting and creating ‘forcing’ data: •Using netcdf as the underlying data

• Retrospective Benchmark (1998-2015)

NWM Forcing Data Engine Construction

Page 11: WRF-Hydro Forcing Data Pre-Processing · •Data Pre-processing Options: –Several utilities for formatting and creating ‘forcing’ data: •Using netcdf as the underlying data

• Retrospective Benchmark

• NARR/NLDAS2 merged dataset complete• Retrospective benchmark runs underway• Merged StageIV/II being processed

• Evaluations of NLDAS and StageIVunderway using GHCN data– Strong seasonality in QPE quality– NLDAS appears superior in winter, StageIV

in summer

• Issues: – Boundary issues– Poor characterization of mtn. valley

inversions

NLDAS2-NARR Boundary

NWM Forcing Data Construction

Page 12: WRF-Hydro Forcing Data Pre-Processing · •Data Pre-processing Options: –Several utilities for formatting and creating ‘forcing’ data: •Using netcdf as the underlying data

RFC

HUC6

StageIV MRMS

StageIV MRMS

4.315

4.379

5.186

2.308

1.784

6.628

1.752

4.448

5.389

4.717

4.545

4.352

4.352

RMSE (mm/day)

0 - 2

2 - 3

3 - 4

4 - 5

5 - 6

6 - 7

7 - 8

> 8

6.017

4.73

5.461

3.615

2.064

7.124

1.871

5.467

5.764

5.065

4.602

4.957

4.957

RMSE (mm/day)

0 - 2

2 - 3

3 - 4

4 - 5

5 - 6

6 - 7

7 - 8

> 8

RMSE (mm/day)

0 - 2

2 - 3

3 - 4

4 - 5

5 - 6

6 - 7

7 - 8

> 8

RMSE (mm/day)

0 - 2

2 - 3

3 - 4

4 - 5

5 - 6

6 - 7

7 - 8

> 8

White areas have no gauge

Analyses by: Arezoo Rafieei-Nasab

RMSE against GHCN-Daily

Page 13: WRF-Hydro Forcing Data Pre-Processing · •Data Pre-processing Options: –Several utilities for formatting and creating ‘forcing’ data: •Using netcdf as the underlying data

• Medium Range Configuration• Downscaled GFS (incoming

shortwave radiation Sept. 11, 2015 21Z)

NWM Forcing Data Engine Construction

Page 14: WRF-Hydro Forcing Data Pre-Processing · •Data Pre-processing Options: –Several utilities for formatting and creating ‘forcing’ data: •Using netcdf as the underlying data

General Cycling of WRF-Hydro

Forcing Engine Static

Data- Weight files- Terrain fields- Bias correc.

fields

WRF-Hydro Static Data

- Model config. files

- Model parameters

WORKFLOW

Resident Radar & NWP

Data(LDM or WCOSS)

Quality ranked

real-time USGS

streamflow data

Forcing Data Engine

WRF-Hydro Model

Analysis &Assimilation

Short Range

Medium Range

Long Range

Analysis &Assimilation

Short Range

Medium Range

Long Range

Page 15: WRF-Hydro Forcing Data Pre-Processing · •Data Pre-processing Options: –Several utilities for formatting and creating ‘forcing’ data: •Using netcdf as the underlying data

1. Create national 1km gridded fields of:– Temperature, mixing ratio, surface pressure,

u-, v-windspeed, longwave and shortwave radiation, precipitation rate

2. Terrain Downscaling of:– Temperature (NARR distributed

climatological lapse rate)

– Mixing ratio (conserve RH)

– Surface pressure

– Incoming shortwave radiation (terrain slope and aspect)

– Rain-snow portioning (in development)

– Wind (in development)

3. Statistical Bias Correction

4. Open source ncl/bash scripted workflow utilizing ESMF regriddingtools

5. Multi-thread job, scales almost linearly because there is no memory sharing across processors (1-d calculations)

Developed by Linlin Pan and Wei Yu with contributions from D. Kitzmiller, G. Fall, A. RafieeiNasab

NWM Meteorological Forcing Engine (MFE)

Page 16: WRF-Hydro Forcing Data Pre-Processing · •Data Pre-processing Options: –Several utilities for formatting and creating ‘forcing’ data: •Using netcdf as the underlying data

• Regridding process streamlined to a handful lines of code in R

• Works with most gridded GRIB/NetCDFdata

• Data passed back to user within R for analysis

Alternative Regridding in Rwrfhydro


Recommended