[gradsusr] [EXTERNAL] gribmap won't scan through all templated files

Adams, Jennifer M. (GSFC-610.2)[ADNET SYSTEMS INC] jennifer.m.adams at nasa.gov
Thu Dec 17 22:14:34 EST 2020


Hi, Jeff –
I believe the problem lies in the mismatch between your TDEF entry (which has a time axis length of 2), and your ensemble declarations that have a length of “1”. Also, why did you use gribmap with -e?
--Jennifer
--
Jennifer Miletta Adams
ADNET Systems, Inc.
NASA/GSFC, Code 610.2
Building 32, Room S159
(301) 614-6070


From: gradsusr <gradsusr-bounces at gradsusr.org> on behalf of Jeff Duda <jeffduda319 at gmail.com>
Reply-To: GrADS Users Forum <gradsusr at gradsusr.org>
Date: Thursday, December 17, 2020 at 1:17 PM
To: GrADS Users Forum <gradsusr at gradsusr.org>
Subject: [EXTERNAL] [gradsusr] gribmap won't scan through all templated files

I'm using the control file below (I don't feel like going through the procedure of downloading a text file off a protected supercomputer and transferring it over just to attach it here, so my choice is simply to copy+paste the text directly here):

dset /lfs1/BMC/wrfruc/jdduda/GEFS_35day/20201209/GEFS_all_mem_f%f3.grib2
index /lfs1/BMC/wrfruc/jdduda/GEFS_35day/GEFS_all_mem.idx
options template
dtype grib2
undef 9.999E+20
title all GEFS members - thinned
ydef 361 linear -90.000000 0.5
xdef 720 linear 0.000000 0.500000
tdef 2 linear 00Z09dec2020 06hr
* PROFILE hPa
zdef 12 levels 100000 92500 85000 70000 50000 40000 30000 25000 20000 10000 5000 1000
options pascals
vars 35
APCPsfc   0,1,0   0,1,8,1 ** surface Total Precipitation [kg/m^2]
CAPE180_0mb  0,108,18000,0   0,7,6 ** 180-0 mb above ground Convective Available Potential Energy [J/kg]
CFRZRsfc   0,1,0   0,1,193,0 ** surface Categorical Freezing Rain [-]
CICEPsfc   0,1,0   0,1,194,0 ** surface Categorical Ice Pellets [-]
CIN180_0mb  0,108,18000,0   0,7,7 ** 180-0 mb above ground Convective Inhibition [J/kg]
CRAINsfc   0,1,0   0,1,192,0 ** surface Categorical Rain [-]
CSNOWsfc   0,1,0   0,1,195,0 ** surface Categorical Snow [-]
DLWRFsfc   0,1,0   0,5,192,0 ** surface Downward Long-Wave Rad. Flux [W/m^2]
DSWRFsfc   0,1,0   0,4,192,0 ** surface Downward Short-Wave Radiation Flux [W/m^2]
HGTprs    12,100  0,3,5 ** (1000 925 850 700 500.. 250 200 100 50 10) Geopotential Height [gpm]
ICETKsfc   0,1,0   10,2,1 ** surface Ice Thickness [m]
LHTFLsfc   0,1,0   0,0,10,0 ** surface Latent Heat Net Flux [W/m^2]
PRESsfc   0,1,0   0,3,0 ** surface Pressure [Pa]
PRMSLmsl   0,101,0   0,3,1 ** mean sea level Pressure Reduced to MSL [Pa]
PWATclm   0,200,0   0,1,3 ** entire atmosphere (considered as a single layer) Precipitable Water [kg/m^2]
RHprs    12,100  0,1,1 ** (1000 925 850 700 500.. 250 200 100 50 10) Relative Humidity [%]
RH2m   0,103,2   0,1,1 ** 2 m above ground Relative Humidity [%]
SHTFLsfc   0,1,0   0,0,11,0 ** surface Sensible Heat Net Flux [W/m^2]
SNODsfc   0,1,0   0,1,11 ** surface Snow Depth [m]
SOILW0_10cm  0,106,0,0.1   2,0,192 ** 0-0.1 m below ground Volumetric Soil Moisture Content [Fraction]
TCDCclm   0,10,0   0,6,1,0 ** entire atmosphere Total Cloud Cover [%]
TMAX2m   0,103,2   0,0,4,2 ** 2 m above ground Maximum Temperature [K]
TMIN2m   0,103,2   0,0,5,3 ** 2 m above ground Minimum Temperature [K]
TMPprs    12,100  0,0,0 ** (1000 925 850 700 500.. 250 200 100 50 10) Temperature [K]
TMP2m   0,103,2   0,0,0 ** 2 m above ground Temperature [K]
TSOIL0_10cm  0,106,0,0.1   2,0,2 ** 0-0.1 m below ground Soil Temperature [K]
UGRDprs    12,100  0,2,2 ** (1000 925 850 700 500.. 250 200 100 50 10) U-Component of Wind [m/s]
UGRD10m   0,103,10   0,2,2 ** 10 m above ground U-Component of Wind [m/s]
ULWRFsfc   0,1,0   0,5,193,0 ** surface Upward Long-Wave Rad. Flux [W/m^2]
ULWRFtoa   0,8,0   0,5,193,0 ** top of atmosphere Upward Long-Wave Rad. Flux [W/m^2]
USWRFsfc   0,1,0   0,4,193,0 ** surface Upward Short-Wave Radiation Flux [W/m^2]
VGRDprs    12,100  0,2,3 ** (1000 925 850 700 500.. 250 200 100 50 10) V-Component of Wind [m/s]
VGRD10m   0,103,10   0,2,3 ** 10 m above ground V-Component of Wind [m/s]
VVEL850mb   0,100,85000   0,2,8 ** 850 mb Vertical Velocity (Pressure) [Pa/s]
WEASDsfc   0,1,0   0,1,13 ** surface Water Equivalent of Accumulated Snow Depth [kg/m^2]
ENDVARS
EDEF 30
Ep7 1  00Z09dec2020 3,7
Ep22 1  00Z09dec2020 3,22
Ep14 1  00Z09dec2020 3,14
Ep27 1  00Z09dec2020 3,27
Ep13 1  00Z09dec2020 3,13
Ep16 1  00Z09dec2020 3,16
Ep11 1  00Z09dec2020 3,11
Ep29 1  00Z09dec2020 3,29
Ep28 1  00Z09dec2020 3,28
Ep24 1  00Z09dec2020 3,24
Ep1 1  00Z09dec2020 3,1
Ep5 1  00Z09dec2020 3,5
Ep23 1  00Z09dec2020 3,23
Ep17 1  00Z09dec2020 3,17
Ep26 1  00Z09dec2020 3,26
Ep18 1  00Z09dec2020 3,18
Ep6 1  00Z09dec2020 3,6
Ep4 1  00Z09dec2020 3,4
Ep19 1  00Z09dec2020 3,19
Ep10 1  00Z09dec2020 3,10
Ep25 1  00Z09dec2020 3,25
Ep3 1  00Z09dec2020 3,3
Ep30 1  00Z09dec2020 3,30
Ep2 1  00Z09dec2020 3,2
Ep8 1  00Z09dec2020 3,8
Ep9 1  00Z09dec2020 3,9
Ep21 1  00Z09dec2020 3,21
Ep12 1  00Z09dec2020 3,12
Ep15 1  00Z09dec2020 3,15
Ep20 1  00Z09dec2020 3,20
ENDEDEF

The individual files in this template group were created by concatenating all of the GEFS member GRIB2 files together at each forecast lead time. I then constructed the control file using g2ctl and made only the necessary changes to reflect the template structure, adding 'options template', and modifying the TDEF line accordingly.

When I run gribmap, I get this output:
[Jeffrey.Duda at fe6 GEFS_35day]$ gribmap -e -i GEFS_det_thin.ctl
gribmap: scanning GRIB2 file: /lfs1/BMC/wrfruc/jdduda/GEFS_35day/20201209/GEFS_all_mem_f000.grib2
gribmap: scanning GRIB2 file:
gribmap: Warning! could not open GRIB file:
gribmap: reached end of files
gribmap: Writing out the GRIB2 index file (version 3)

What is happening? All the files are certainly present:
[Jeffrey.Duda at fe6 GEFS_35day]$ du -sh 20201209/GEFS_all_mem_f*grib2
397M    20201209/GEFS_all_mem_f000.grib2
438M    20201209/GEFS_all_mem_f006.grib2
436M    20201209/GEFS_all_mem_f012.grib2
436M    20201209/GEFS_all_mem_f018.grib2
438M    20201209/GEFS_all_mem_f024.grib2
435M    20201209/GEFS_all_mem_f030.grib2
428M    20201209/GEFS_all_mem_f036.grib2
429M    20201209/GEFS_all_mem_f042.grib2
430M    20201209/GEFS_all_mem_f048.grib2
431M    20201209/GEFS_all_mem_f054.grib2
429M    20201209/GEFS_all_mem_f060.grib2
432M    20201209/GEFS_all_mem_f066.grib2
430M    20201209/GEFS_all_mem_f072.grib2
431M    20201209/GEFS_all_mem_f078.grib2
431M    20201209/GEFS_all_mem_f084.grib2
431M    20201209/GEFS_all_mem_f090.grib2
431M    20201209/GEFS_all_mem_f096.grib2
429M    20201209/GEFS_all_mem_f102.grib2
431M    20201209/GEFS_all_mem_f108.grib2
434M    20201209/GEFS_all_mem_f114.grib2
433M    20201209/GEFS_all_mem_f120.grib2
430M    20201209/GEFS_all_mem_f126.grib2
431M    20201209/GEFS_all_mem_f132.grib2
430M    20201209/GEFS_all_mem_f138.grib2
428M    20201209/GEFS_all_mem_f144.grib2
...
...
...

Jeff Duda
--
Jeff Duda, Research Scientist
University of Colorado Boulder
Cooperative Institute for Research in Environmental Sciences
NOAA/OAR/ESRL/Global Systems Laboratory
Boulder, CO
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20201218/69b08972/attachment-0001.html>


More information about the gradsusr mailing list