<div dir="ltr"><div>Yes! It was the EDEF entries that was the cause of the failure! Thank you, Jennifer!</div><div><br></div><div>I generally don't use gribmap with -e. I was just trying it as a potential solution and that happened to be the particular instance I sent in the email.</div><div><br></div><div>Jeff<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Dec 17, 2020 at 8:16 PM Adams, Jennifer M. (GSFC-610.2)[ADNET SYSTEMS INC] <<a href="mailto:jennifer.m.adams@nasa.gov">jennifer.m.adams@nasa.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div style="overflow-wrap: break-word;" lang="EN-US">
<div class="gmail-m_3233531100367814292WordSection1">
<p class="MsoNormal">Hi, Jeff –<u></u><u></u></p>
<p class="MsoNormal">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?
<u></u><u></u></p>
<p class="MsoNormal">--Jennifer<u></u><u></u></p>
<div>
<p class="MsoNormal"><span style="font-size:10pt">-- <span style="color:black"><br>
Jennifer Miletta Adams<br>
ADNET Systems, Inc.<br>
NASA/GSFC, Code 610.2</span><u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span style="font-size:10pt;color:black">Building 32, Room S159<br>
(301) 614-6070<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div style="border-color:rgb(181,196,223) currentcolor currentcolor;border-style:solid none none;border-width:1pt medium medium;padding:3pt 0in 0in">
<p class="MsoNormal"><b><span style="font-size:12pt;color:black">From: </span></b><span style="font-size:12pt;color:black">gradsusr <<a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</a>> on behalf of Jeff Duda <<a href="mailto:jeffduda319@gmail.com" target="_blank">jeffduda319@gmail.com</a>><br>
<b>Reply-To: </b>GrADS Users Forum <<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>><br>
<b>Date: </b>Thursday, December 17, 2020 at 1:17 PM<br>
<b>To: </b>GrADS Users Forum <<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>><br>
<b>Subject: </b>[EXTERNAL] [gradsusr] gribmap won't scan through all templated files<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<div>
<p class="MsoNormal">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):<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">dset /lfs1/BMC/wrfruc/jdduda/GEFS_35day/20201209/GEFS_all_mem_f%f3.grib2<br>
index /lfs1/BMC/wrfruc/jdduda/GEFS_35day/GEFS_all_mem.idx<br>
options template<br>
dtype grib2<br>
undef 9.999E+20<br>
title all GEFS members - thinned<br>
ydef 361 linear -90.000000 0.5<br>
xdef 720 linear 0.000000 0.500000<br>
tdef 2 linear 00Z09dec2020 06hr<br>
* PROFILE hPa<br>
zdef 12 levels 100000 92500 85000 70000 50000 40000 30000 25000 20000 10000 5000 1000<br>
options pascals<br>
vars 35<br>
APCPsfc   0,1,0   0,1,8,1 ** surface Total Precipitation [kg/m^2]<br>
CAPE180_0mb  0,108,18000,0   0,7,6 ** 180-0 mb above ground Convective Available Potential Energy [J/kg]<br>
CFRZRsfc   0,1,0   0,1,193,0 ** surface Categorical Freezing Rain [-]<br>
CICEPsfc   0,1,0   0,1,194,0 ** surface Categorical Ice Pellets [-]<br>
CIN180_0mb  0,108,18000,0   0,7,7 ** 180-0 mb above ground Convective Inhibition [J/kg]<br>
CRAINsfc   0,1,0   0,1,192,0 ** surface Categorical Rain [-]<br>
CSNOWsfc   0,1,0   0,1,195,0 ** surface Categorical Snow [-]<br>
DLWRFsfc   0,1,0   0,5,192,0 ** surface Downward Long-Wave Rad. Flux [W/m^2]<br>
DSWRFsfc   0,1,0   0,4,192,0 ** surface Downward Short-Wave Radiation Flux [W/m^2]<br>
HGTprs    12,100  0,3,5 ** (1000 925 850 700 500.. 250 200 100 50 10) Geopotential Height [gpm]<br>
ICETKsfc   0,1,0   10,2,1 ** surface Ice Thickness [m]<br>
LHTFLsfc   0,1,0   0,0,10,0 ** surface Latent Heat Net Flux [W/m^2]<br>
PRESsfc   0,1,0   0,3,0 ** surface Pressure [Pa]<br>
PRMSLmsl   0,101,0   0,3,1 ** mean sea level Pressure Reduced to MSL [Pa]<br>
PWATclm   0,200,0   0,1,3 ** entire atmosphere (considered as a single layer) Precipitable Water [kg/m^2]<br>
RHprs    12,100  0,1,1 ** (1000 925 850 700 500.. 250 200 100 50 10) Relative Humidity [%]<br>
RH2m   0,103,2   0,1,1 ** 2 m above ground Relative Humidity [%]<br>
SHTFLsfc   0,1,0   0,0,11,0 ** surface Sensible Heat Net Flux [W/m^2]<br>
SNODsfc   0,1,0   0,1,11 ** surface Snow Depth [m]<br>
SOILW0_10cm  0,106,0,0.1   2,0,192 ** 0-0.1 m below ground Volumetric Soil Moisture Content [Fraction]<br>
TCDCclm   0,10,0   0,6,1,0 ** entire atmosphere Total Cloud Cover [%]<br>
TMAX2m   0,103,2   0,0,4,2 ** 2 m above ground Maximum Temperature [K]<br>
TMIN2m   0,103,2   0,0,5,3 ** 2 m above ground Minimum Temperature [K]<br>
TMPprs    12,100  0,0,0 ** (1000 925 850 700 500.. 250 200 100 50 10) Temperature [K]<br>
TMP2m   0,103,2   0,0,0 ** 2 m above ground Temperature [K]<br>
TSOIL0_10cm  0,106,0,0.1   2,0,2 ** 0-0.1 m below ground Soil Temperature [K]<br>
UGRDprs    12,100  0,2,2 ** (1000 925 850 700 500.. 250 200 100 50 10) U-Component of Wind [m/s]<br>
UGRD10m   0,103,10   0,2,2 ** 10 m above ground U-Component of Wind [m/s]<br>
ULWRFsfc   0,1,0   0,5,193,0 ** surface Upward Long-Wave Rad. Flux [W/m^2]<br>
ULWRFtoa   0,8,0   0,5,193,0 ** top of atmosphere Upward Long-Wave Rad. Flux [W/m^2]<br>
USWRFsfc   0,1,0   0,4,193,0 ** surface Upward Short-Wave Radiation Flux [W/m^2]<br>
VGRDprs    12,100  0,2,3 ** (1000 925 850 700 500.. 250 200 100 50 10) V-Component of Wind [m/s]<br>
VGRD10m   0,103,10   0,2,3 ** 10 m above ground V-Component of Wind [m/s]<br>
VVEL850mb   0,100,85000   0,2,8 ** 850 mb Vertical Velocity (Pressure) [Pa/s]<br>
WEASDsfc   0,1,0   0,1,13 ** surface Water Equivalent of Accumulated Snow Depth [kg/m^2]<br>
ENDVARS</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">EDEF 30<br>
Ep7 1  00Z09dec2020 3,7<br>
Ep22 1  00Z09dec2020 3,22<br>
Ep14 1  00Z09dec2020 3,14<br>
Ep27 1  00Z09dec2020 3,27<br>
Ep13 1  00Z09dec2020 3,13<br>
Ep16 1  00Z09dec2020 3,16<br>
Ep11 1  00Z09dec2020 3,11<br>
Ep29 1  00Z09dec2020 3,29<br>
Ep28 1  00Z09dec2020 3,28<br>
Ep24 1  00Z09dec2020 3,24<br>
Ep1 1  00Z09dec2020 3,1<br>
Ep5 1  00Z09dec2020 3,5<br>
Ep23 1  00Z09dec2020 3,23<br>
Ep17 1  00Z09dec2020 3,17<br>
Ep26 1  00Z09dec2020 3,26<br>
Ep18 1  00Z09dec2020 3,18<br>
Ep6 1  00Z09dec2020 3,6<br>
Ep4 1  00Z09dec2020 3,4<br>
Ep19 1  00Z09dec2020 3,19<br>
Ep10 1  00Z09dec2020 3,10<br>
Ep25 1  00Z09dec2020 3,25<br>
Ep3 1  00Z09dec2020 3,3<br>
Ep30 1  00Z09dec2020 3,30<br>
Ep2 1  00Z09dec2020 3,2<br>
Ep8 1  00Z09dec2020 3,8<br>
Ep9 1  00Z09dec2020 3,9<br>
Ep21 1  00Z09dec2020 3,21<br>
Ep12 1  00Z09dec2020 3,12<br>
Ep15 1  00Z09dec2020 3,15<br>
Ep20 1  00Z09dec2020 3,20<br>
ENDEDEF</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">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.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">When I run gribmap, I get this output:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">[Jeffrey.Duda@fe6 GEFS_35day]$ gribmap -e -i GEFS_det_thin.ctl<br>
gribmap: scanning GRIB2 file: /lfs1/BMC/wrfruc/jdduda/GEFS_35day/20201209/GEFS_all_mem_f000.grib2<br>
gribmap: scanning GRIB2 file:<br>
gribmap: Warning! could not open GRIB file:<br>
gribmap: reached end of files<br>
gribmap: Writing out the GRIB2 index file (version 3)</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif">What is happening? All the files are certainly present:</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">[Jeffrey.Duda@fe6 GEFS_35day]$ du -sh 20201209/GEFS_all_mem_f*grib2<br>
397M    20201209/GEFS_all_mem_f000.grib2<br>
438M    20201209/GEFS_all_mem_f006.grib2<br>
436M    20201209/GEFS_all_mem_f012.grib2<br>
436M    20201209/GEFS_all_mem_f018.grib2<br>
438M    20201209/GEFS_all_mem_f024.grib2<br>
435M    20201209/GEFS_all_mem_f030.grib2<br>
428M    20201209/GEFS_all_mem_f036.grib2<br>
429M    20201209/GEFS_all_mem_f042.grib2<br>
430M    20201209/GEFS_all_mem_f048.grib2<br>
431M    20201209/GEFS_all_mem_f054.grib2<br>
429M    20201209/GEFS_all_mem_f060.grib2<br>
432M    20201209/GEFS_all_mem_f066.grib2<br>
430M    20201209/GEFS_all_mem_f072.grib2<br>
431M    20201209/GEFS_all_mem_f078.grib2<br>
431M    20201209/GEFS_all_mem_f084.grib2<br>
431M    20201209/GEFS_all_mem_f090.grib2<br>
431M    20201209/GEFS_all_mem_f096.grib2<br>
429M    20201209/GEFS_all_mem_f102.grib2<br>
431M    20201209/GEFS_all_mem_f108.grib2<br>
434M    20201209/GEFS_all_mem_f114.grib2<br>
433M    20201209/GEFS_all_mem_f120.grib2<br>
430M    20201209/GEFS_all_mem_f126.grib2<br>
431M    20201209/GEFS_all_mem_f132.grib2<br>
430M    20201209/GEFS_all_mem_f138.grib2<br>
428M    20201209/GEFS_all_mem_f144.grib2<br>
</span><span style="font-family:"Arial",sans-serif">...</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif">...</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif">...</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif">Jeff Duda</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">-- <u></u><u></u></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10pt">Jeff Duda, Research Scientist</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">University of Colorado Boulder<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Cooperative Institute for Research in Environmental Sciences<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">NOAA/OAR/ESRL/Global Systems Laboratory<br>
<span style="font-size:10pt">Boulder, CO</span><u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>

_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><font size="2"><span>Jeff Duda, Research Scientist</span></font></div><div dir="ltr"><font size="2"><span></span></font>University of Colorado Boulder</div><div dir="ltr"><font size="2"><span></span></font>Cooperative Institute for Research in Environmental Sciences</div><div dir="ltr">NOAA/OAR/ESRL/Global Systems Laboratory<br><font size="2"><span>

<span>Boulder, CO<br></span></span></font>



</div></div></div></div></div></div></div></div></div></div>