<div dir="ltr"><div dir="ltr"><div>Hi,</div><div><br></div><div>Many of the more unusual product definition templates are not supported <br></div><div>by g2ctl. The work around is to use alt_g2ctl and alt_gmp (for gribmap).</div><div><br></div><div> <a href="https://www.cpc.ncep.noaa.gov/products/wesley/alt_g2ctl_gmp.html">https://www.cpc.ncep.noaa.gov/products/wesley/alt_g2ctl_gmp.html</a></div><div><br></div><div></div><div>Once you start using aerosols, chemical tracers, probabilities, the automatically</div><div>generated variable names become longer that the GrADS can handle without</div><div>aliasing. I use alt_g2ctl with the -short option. When the variable listing gets</div><div>too long, I use the -match option to generate ctl files with a subset of the</div><div>variables. <br></div><div><br></div><div>In summary, g2ctl is still supported. However, when you start using aerosols, chemical</div><div>tracers, probabilities, alt_g2ctl and alt_gmp are the preferred solutions, I only use g2ctl</div><div>for files > 2GB or using the ensemble dimension. For large templated grib2 datasets, <br></div><div>alt_gmp is faster than gribmap. The former uses multiple threads to index the data, <br></div><div>while the latter uses one thread.<br></div><div><br></div><div>Wesley<br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 5, 2019 at 4:12 AM Perry, Aaron <<a href="mailto:Aaron.Perry@lsc.vsc.edu">Aaron.Perry@lsc.vsc.edu</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 dir="ltr">
<div id="gmail-m_7371572534849283365divtagdefaultwrapper" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p style="margin-top:0px;margin-bottom:0px">Thank you for passing along this update Kevin!</p>
<p style="margin-top:0px;margin-bottom:0px"><br>
</p>
<div id="gmail-m_7371572534849283365Signature">
<div id="gmail-m_7371572534849283365divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:Calibri,Arial,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<div style="color:rgb(0,0,0);font-family:Tahoma;font-size:13px"><font face="Calibri,Arial,Helvetica,sans-serif"><font size="2" face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9"><span style="font-size:12pt"><br>
</span></font></font></div>
<span style="font-size:12pt"></span>
<div style="color:rgb(0,0,0);font-family:Tahoma;font-size:13px"><font face="Calibri,Arial,Helvetica,sans-serif"><font size="2" face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9"><span style="font-size:11pt"><b><span style="font-size:12pt">Aaron
Perry</span></b></span></font><font size="2" face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9"><span style="font-size:12pt"><br>
</span></font><font size="2" face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9"><span style="font-size:12pt">Class of 2016</span></font><font size="2" face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9"><span style="font-size:12pt"><br>
</span></font><font size="2" face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9"><span style="font-size:12pt">Lyndon State College</span></font><font size="2" face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9"><span style="font-size:12pt"><br>
Lyndonville, VT 05851</span></font></font></div>
<div style="color:rgb(0,0,0);font-family:Tahoma;font-size:13px"><font face="Calibri,Arial,Helvetica,sans-serif"><font size="2" color="#006FC9"><span style="font-size:12pt">Twitter:
<a href="https://twitter.com/AaronPerryWx" class="gmail-m_7371572534849283365OWAAutoLink" id="gmail-m_7371572534849283365LPNoLP" target="_blank">@AaronPerryWx</a></span></font><font size="2"><span style="font-size:11pt"><span style="font-size:12pt"><a href="https://twitter.com/arnpry" id="gmail-m_7371572534849283365LPNoLP" target="_blank"></a><a href="https://twitter.com/AaronPerryWx" class="gmail-m_7371572534849283365OWAAutoLink" id="gmail-m_7371572534849283365LPNoLP" target="_blank"></a></span></span></font></font></div>
<div style="color:rgb(0,0,0);font-family:Tahoma;font-size:13px"><font face="Calibri,Arial,Helvetica,sans-serif"><font size="2" face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9"><span style="font-size:12pt">Email: </span></font><a href="http://Aaron.Perry@lyndonstate.edu/" id="gmail-m_7371572534849283365LPNoLP" target="_blank"><font size="2" face="Calibri,Arial,Helvetica,sans-serif"><span style="font-size:12pt">Aaron.Perry@lyndonstate.edu</span></font></a></font></div>
</div>
</div>
</div>
<hr style="display:inline-block;width:98%">
<div id="gmail-m_7371572534849283365divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> gradsusr <<a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</a>> on behalf of Kevin Levey <<a href="mailto:klevey@customweather.com" target="_blank">klevey@customweather.com</a>><br>
<b>Sent:</b> Thursday, April 4, 2019 6:32:14 PM<br>
<b>To:</b> GrADS Users Forum<br>
<b>Subject:</b> Re: [gradsusr] WPC 2.5km GRIB2 Files</font>
<div> </div>
</div>
<div style="overflow-wrap: break-word;"><font color="red">
<h4><b>This message is from an external sender. Please be careful when clicking on links and attachments.
</b></h4>
</font><br>
<br>
<div>Hi Aaron,
<div><br>
</div>
<div>WPC changed their files recently and I ran into a similar issue with the regular QPF files. </div>
<div><br>
</div>
<div>Here is my current CTL file to read in the QPF files: (note the slight differences in the various variable settings)</div>
<div><br>
</div>
<div>
<div>weather:fweather1 /mnt/modeldata/domModel/WPC/grads_ctl > cat 2019040418_wpc_18_078_20km.ctl</div>
<div>dset /mnt/modeldata/domModel/WPC/18Z/201904/2019040418_wpc_20km_078.grb2</div>
<div>index /mnt/modeldata/domModel/WPC/grads_ctl/2019040418_wpc_18_078_20km.idx</div>
<div>undef 9.999E+20</div>
<div>title /mnt/modeldata/domModel/WPC/18Z/201904/2019040418_wpc_20km_078.grb2</div>
<div>* produced by g2ctl v0.1.1</div>
<div>* command line options: /mnt/modeldata/domModel/WPC/18Z/201904/2019040418_wpc_20km_078.grb2 /mnt/modeldata/domModel/WPC/grads_ctl/2019040418_wpc_18_078_20km.idx</div>
<div>* griddef=1:21:(2145 x 1597):grid_template=30:winds(grid): Lambert Conformal: (2145 x 1597) input WE:SN output WE:SN res 8 Lat1 20.191999 Lon1 238.445999 LoV 265.000000 LatD 25.000000 Latin1 25.000000 Latin2 25.000000 LatSP -90.000000 LonSP 0.000000 </div>
<div>dtype grib2</div>
<div>pdef 2145 <b><font color="#ff0000">1597</font></b> lccr 20.191999 -121.554001 1 1 25.000000 25.000000 -95 2539.703000 2539.702000</div>
<div>xdef <b><font color="#ff0000">2966</font></b> linear -131.995167 0.0246001009814572</div>
<div>ydef <b><font color="#ff0000">1598</font></b> linear 20.196426 0.0230882</div>
<div>tdef 1 linear 00Z07apr2019 1mo</div>
<div>zdef 1 linear 1 1</div>
<div>vars 1</div>
<div>APCPl1_1 0,1,0,-1 0,1,8,1 ** surface - surface Total Precipitation [kg/m^2]</div>
<div>ENDVARS</div>
</div>
<div><br>
</div>
<div>Someone was gracious enough in this group to help me fix this issue for my purposes, so hopefully this resolves yours. </div>
<div><br>
</div>
<div>Regards,</div>
<div>
<div><br>
Kevin M Levey, MSc in Oceans and Atmospheric Sciences (University of Cape Town)<br>
Vice President of Operations<br>
CustomWeather, Inc.<br>
San Francisco, California, USA<br>
<br>
"Taking the World by Storm!"<br>
<br>
<a href="http://www.customweather.com" target="_blank">http://www.customweather.com</a><br>
<a href="http://www.myforecast.com" target="_blank">http://www.myforecast.com</a><br>
<a href="http://www.1stweather.com" target="_blank">http://www.1stweather.com</a><br>
<br>
cell: 415-794-0411<br>
work: 415-777-3566<br>
email: <a href="mailto:klevey@customweather.com" target="_blank">klevey@customweather.com</a> </div>
<div><br>
<blockquote type="cite">
<div>On Mar 1, 2019, at 6:42 AM, Perry, Aaron <<a href="mailto:Aaron.Perry@lsc.vsc.edu" target="_blank">Aaron.Perry@lsc.vsc.edu</a>> wrote:</div>
<br class="gmail-m_7371572534849283365x_Apple-interchange-newline">
<div>
<div id="gmail-m_7371572534849283365x_divtagdefaultwrapper" dir="ltr" style="font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;font-size:12pt;font-family:Calibri,Helvetica,sans-serif">
<div style="margin-top:0px;margin-bottom:0px">Hi All,</div>
<div style="margin-top:0px;margin-bottom:0px"><br>
</div>
<div style="margin-top:0px;margin-bottom:0px">I am working with the WPC's 2.5km Winter Probability GRIB2 files and I'm having trouble generating index files and opening them in GrADS.</div>
<div style="margin-top:0px;margin-bottom:0px"><br>
</div>
<div style="margin-top:0px;margin-bottom:0px">Data: <a href="ftp://ftp.wpc.ncep.noaa.gov/pwpf/conus_2.5km/2.5kmpwpf_48hr/2.5kmprcntil_48hsnow_50pt_2019030100f048.grb" class="gmail-m_7371572534849283365x_OWAAutoLink" id="gmail-m_7371572534849283365LPlnk36552" target="_blank">ftp://ftp.wpc.ncep.noaa.gov/pwpf/conus_2.5km/2.5kmpwpf_48hr/2.5kmprcntil_48hsnow_50pt_2019030100f048.grb</a></div>
<div style="margin-top:0px;margin-bottom:0px"><br>
</div>
<div style="margin-top:0px;margin-bottom:0px"><b>Control File</b></div>
<div style="margin-top:0px;margin-bottom:0px"><br>
</div>
<p style="margin-top:0px;margin-bottom:0px"></p>
<div>dset /home/weather/data/wpc/2.5kmprcntil_48hsnow_50pt_2019030112f048.grb</div>
<div>index /home/weather/data/wpc/2.5kmprcntil_48hsnow_50pt_2019030112f048.grb.idx</div>
<div>undef 9.999E+20</div>
<div>title /home/weather/data/wpc/2.5kmprcntil_48hsnow_50pt_2019030112f048.grb</div>
<div>* produced by g2ctl v0.1.4</div>
<div>* command line options: /home/weather/data/wpc/2.5kmprcntil_48hsnow_50pt_2019030112f048.grb</div>
<div>* griddef=1:21:(2145 x 1377):grid_template=30:winds(grid): Lambert Conformal: (2145 x 1377) input WE:SN output WE:SN res 8 Lat1 20.191999 Lon1 238.445999 LoV 265.000000 LatD 25.000000 Latin1 25.000000 Latin2 25.000000 LatSP -90.000000 LonSP 0.000000 </div>
<div>dtype grib2</div>
<div>pdef 2145 1377 lccr 20.191999 -121.554001 1 1 25.000000 25.000000 -95 2539.702000 2539.698000</div>
<div>xdef 2814 linear -130.103416 0.0246000912952455</div>
<div>ydef 1413 linear 20.196426 0.0230881636363636</div>
<div>tdef 1 linear 12Z03mar2019 1mo</div>
<div>zdef 1 linear 1 1</div>
<div>vars 1</div>
<div>ASNOW50PCsfc 0,1,0 a50 ** surface acc Total Snowfall [m]</div>
<div>ENDVARS</div>
<br>
<p style="margin-top:0px;margin-bottom:0px"></p>
<div style="margin-top:0px;margin-bottom:0px"><b>GrADS Error</b></div>
<div style="margin-top:0px;margin-bottom:0px"><br>
</div>
<p style="margin-top:0px;margin-bottom:0px"></p>
<div>Open Error: Invalid variable record</div>
<div> --> The invalid description file record is: </div>
<div> --> ASNOW50PCsfc 0,1,0 a50 ** surface acc Total Snowfall [m]</div>
<div> The data file was not opened. </div>
<div><br>
</div>
<div>What's going on here? This should be rather cut-and-dry.</div>
<p style="margin-top:0px;margin-bottom:0px"></p>
<div style="margin-top:0px;margin-bottom:0px"><br>
</div>
<div id="gmail-m_7371572534849283365x_Signature">
<div id="gmail-m_7371572534849283365x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt;background-color:rgb(255,255,255);font-family:Calibri,Arial,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<div style="font-family:Tahoma;font-size:13px"><font face="Calibri,Arial,Helvetica,sans-serif"><font size="2" face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9"><span style="font-size:12pt"><br>
</span></font></font></div>
<span style="font-size:12pt"></span>
<div style="font-family:Tahoma;font-size:13px"><font face="Calibri,Arial,Helvetica,sans-serif"><font size="2" face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9"><span style="font-size:11pt"><b><span style="font-size:12pt">Aaron
Perry</span></b></span></font><font size="2" face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9"><span style="font-size:12pt"><br>
</span></font><font size="2" face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9"><span style="font-size:12pt">Class of 2016</span></font><font size="2" face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9"><span style="font-size:12pt"><br>
</span></font><font size="2" face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9"><span style="font-size:12pt">Lyndon State College</span></font><font size="2" face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9"><span style="font-size:12pt"><br>
Lyndonville, VT 05851</span></font></font></div>
<div style="font-family:Tahoma;font-size:13px"><font face="Calibri,Arial,Helvetica,sans-serif"><font size="2" color="#006FC9"><span style="font-size:12pt">Twitter:<span class="gmail-m_7371572534849283365x_Apple-converted-space"> </span><a href="https://twitter.com/AaronPerryWx" class="gmail-m_7371572534849283365x_OWAAutoLink" id="gmail-m_7371572534849283365LPNoLP" target="_blank">@AaronPerryWx</a></span></font><font size="2"><span style="font-size:11pt"><span style="font-size:12pt"><a href="https://twitter.com/arnpry" id="gmail-m_7371572534849283365LPNoLP" target="_blank"></a><a href="https://twitter.com/AaronPerryWx" class="gmail-m_7371572534849283365x_OWAAutoLink" id="gmail-m_7371572534849283365LPNoLP" target="_blank"></a></span></span></font></font></div>
<div style="font-family:Tahoma;font-size:13px"><font face="Calibri,Arial,Helvetica,sans-serif"><font size="2" face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9"><span style="font-size:12pt">Email: </span></font><a href="http://Aaron.Perry@lyndonstate.edu/" id="gmail-m_7371572534849283365LPNoLP" target="_blank"><font size="2" face="Calibri,Arial,Helvetica,sans-serif"><span style="font-size:12pt">Aaron.Perry@lyndonstate.edu</span></font></a></font></div>
</div>
</div>
</div>
<span style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline">_______________________________________________</span><br style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
<span style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline">gradsusr
mailing list</span><br style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
<a href="mailto:gradsusr@gradsusr.org" style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">gradsusr@gradsusr.org</a><br style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a></div>
</blockquote>
</div>
<br>
</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>