From 0e258d726c5c50e4a0e5121b5c8c888348acfec8 Mon Sep 17 00:00:00 2001 From: Jim Bresch Date: Thu, 29 Oct 2015 00:10:48 +0000 Subject: [PATCH] Add support for the new NCEP SREF files. git-svn-id: https://svn-wrf-wps.cgd.ucar.edu/trunk@914 86b71a92-4018-0410-97f8-d555beccfc3a --- ungrib/Variable_Tables/Vtable.SREF | 41 ++++++++++++++++++++++++++++++++++++++ ungrib/src/g2print.F | 4 ++++ ungrib/src/rd_grib2.F | 4 ++++ 3 files changed, 49 insertions(+) create mode 100644 ungrib/Variable_Tables/Vtable.SREF diff --git a/ungrib/Variable_Tables/Vtable.SREF b/ungrib/Variable_Tables/Vtable.SREF new file mode 100644 index 0000000..9cecfd3 --- /dev/null +++ b/ungrib/Variable_Tables/Vtable.SREF @@ -0,0 +1,41 @@ +GRIB1| Level| From | To | metgrid | metgrid | metgrid |GRIB2|GRIB2|GRIB2|GRIB2|GB2| +Param| Type |Level1|Level2| Name | Units | Description |Discp|Catgy|Param|Level|PDT| +-----+------+------+------+----------+---------+-----------------------------------------+---------------------------+ + 11 | 100 | * | | TT | K | Temperature | 0 | 0 | 0 | 100 | 1 | + 33 | 100 | * | | UU | m s-1 | U | 0 | 2 | 2 | 100 | 1 | + 34 | 100 | * | | VV | m s-1 | V | 0 | 2 | 3 | 100 | 1 | + 52 | 100 | * | | RH | % | Relative Humidity | 0 | 1 | 1 | 100 | 1 | + 7 | 100 | * | | HGT | m | Height | 0 | 3 | 5 | 100 | 1 | + 11 | 105 | 2 | | TT | K | Temperature at 2 m | 0 | 0 | 0 | 103 | 1 | + 52 | 105 | 2 | | RH | % | Relative Humidity at 2 m | 0 | 1 | 1 | 103 | 1 | + 33 | 105 | 10 | | UU | m s-1 | U at 10 m | 0 | 2 | 2 | 103 | 1 | + 34 | 105 | 10 | | VV | m s-1 | V at 10 m | 0 | 2 | 3 | 103 | 1 | + 1 | 1 | 0 | | PSFC | Pa | Surface Pressure | 0 | 3 | 0 | 1 | 1 | + 2 | 102 | 0 | | PMSL | Pa | Sea-level Pressure | 0 | 3 | 1 | 101 | 1 | + 144 | 112 | 0 | 10 | SM000010 | fraction| Soil Moist 0-10 cm below grn layer (Up) | 2 | 0 | 192 | 106 | 1 | + 144 | 112 | 10 | 40 | SM010040 | fraction| Soil Moist 10-40 cm below grn layer | 2 | 0 | 192 | 106 | 1 | + 144 | 112 | 40 | 100 | SM040100 | fraction| Soil Moist 40-100 cm below grn layer | 2 | 0 | 192 | 106 | 1 | + 144 | 112 | 100 | 200 | SM100200 | fraction| Soil Moist 100-200 cm below gr layer | 2 | 0 | 192 | 106 | 1 | + 85 | 112 | 0 | 10 | ST000010 | K | T 0-10 cm below ground layer (Upper) | 2 | 0 | 2 | 106 | 1 | + 85 | 112 | 10 | 40 | ST010040 | K | T 10-40 cm below ground layer (Upper) | 2 | 0 | 2 | 106 | 1 | + 85 | 112 | 40 | 100 | ST040100 | K | T 40-100 cm below ground layer (Upper) | 2 | 0 | 2 | 106 | 1 | + 85 | 112 | 100 | 200 | ST100200 | K | T 100-200 cm below ground layer (Bottom)| 2 | 0 | 2 | 106 | 1 | + 91 | 1 | 0 | | SEAICE | proprtn | Ice flag | 10 | 2 | 0 | 1 | 1 | + 81 | 1 | 0 | | LANDSEA | proprtn | Land/Sea flag (1=land, 0 or 2=sea) | 2 | 0 | 0 | 1 | 1 | + 7 | 1 | 0 | | SOILHGT | m | Terrain field of source analysis | 0 | 3 | 5 | 1 | 1 | + 11 | 1 | 0 | | SKINTEMP | K | Skin temperature (can use for SST also) | 0 | 0 | 0 | 1 | 1 | + 65 | 1 | 0 | | SNOW | kg m-2 | Water equivalent snow depth | 0 | 1 | 13 | 1 | 1 | + 223 | 1 | 0 | | CANWAT | kg m-2 | Plant Canopy Surface Water | 2 | 0 | 196 | 1 | 1 | +-----+------+------+------+----------+---------+-----------------------------------------+---------------------------+ +# +# Vtable for SREF pressure-level data from the NCEP server. +# +# ftp://ftpprd.ncep.noaa.gov/pub/data/nccf/com/sref/prod/sref.ccyymmdd/hh/pgrb/ +# +# For use with SREF files produced after 15z 21 October 2015 +# +# approx. grid hours domain dx notes +# file size no. +# +# sref_arw.t15z.pgrb132.ctl.f00.grib2 72000 Kb 132 87 conus 16 +# sref_arw.t15z.pgrb212.ctl.f00.grib2 4800 Kb 212 87 conus 40 diff --git a/ungrib/src/g2print.F b/ungrib/src/g2print.F index a2ef8af..27e7a1d 100644 --- a/ungrib/src/g2print.F +++ b/ungrib/src/g2print.F @@ -451,8 +451,12 @@ end program g2print map%source = 'NCEP GFS Ensemble' elseif (iprocess.eq.107) then ! renumbered as of 23 Feb 2010 map%source = 'NCEP GFS Ensemble' + elseif (iprocess.eq.111) then + map%source = 'NCEP NMMB Model' elseif (iprocess.eq.112) then map%source = 'NCEP WRF-NMM Model' + elseif (iprocess.eq.116) then + map%source = 'NCEP WRF-ARW Model' elseif (iprocess.eq.129) then map%source = 'NCEP GODAS' elseif (iprocess.eq.197) then diff --git a/ungrib/src/rd_grib2.F b/ungrib/src/rd_grib2.F index 98d4c43..bc7da37 100644 --- a/ungrib/src/rd_grib2.F +++ b/ungrib/src/rd_grib2.F @@ -276,8 +276,12 @@ C SET ARGUMENTS map%source = 'NCEP GFS Ensemble' elseif (iprocess.eq.107) then ! renumbered as of 23 Feb 2010 map%source = 'NCEP GFS Ensemble' + elseif (iprocess.eq.111) then + map%source = 'NCEP NMMB Model' elseif (iprocess.eq.112) then map%source = 'NCEP WRF-NMM Model' + elseif (iprocess.eq.116) then + map%source = 'NCEP WRF-ARW Model' elseif (iprocess.eq.129) then map%source = 'NCEP GODAS' elseif (iprocess.eq.197) then -- 2.11.4.GIT