<div dir="ltr"><div>Aaron,</div><div>I presume the error occurs during this command:</div><div><br></div><div>'define probp01 = 100.0*ave(const(const(maskout(precip,precip-0.01),1),0,-u),e=1,e=30)'</div><div><br></div><div>Is that correct? <br></div><div><br></div><div>If so, there could be a discrepancy in the structure of the ensemble dimension in the GEFS files. I'm pretty sure that G(E)FS precipitation is stored as an alternating series of 3- and 6-hour precip accumulation intervals. So during forecast hours that are divisible only by 3 and not 6 (i.e., 3, 9, 15, 21 ...) the GRIB2 identifier for APCPsfc may be different than at the other hours.</div><div><br></div><div>What I recommend is running g2ctl on two different valid time GEFS files to see if anything about the output (other than the valid time in the file changes). If it does, then I bet that's what it is, and you'll have to use more clever ways of templating over the member and forecast dimensions.</div><div><br></div><div>Jeff Duda<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 1, 2021 at 2:52 PM Perry, Aaron <<a href="mailto:axp09171@alumni.northernvermont.edu">axp09171@alumni.northernvermont.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 style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Good Afternoon,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
I am trying to use the GFS Ensemble to generate probabilities based on conditional thresholds and am running into some trouble.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Initially, I have tried to generate an ensemble mean of the probability of 0.01" of QPF in 3-hourly time increments.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
See attached GrADS script (<a href="http://gefs_p01.gs" target="_blank">gefs_p01.gs</a>) and the control file (gefs.ctl) that I am using.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
I am receiving the following error messages:</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<i>Operation error:  Invalid dimension environment</i>
<div><i>  Looping dimension does not vary</i></div>
<div><i>result is Operation error:  Invalid dimension environment</i></div>
<i>  Looping dimension does not vary</i><br>
</div>
<div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
What am I doing wrong here?</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Best,</div>
<div id="gmail-m_854013237294818225Signature">
<div>

<div id="gmail-m_854013237294818225divtagdefaultwrapper" dir="ltr" style="color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:Calibri,Arial,Helvetica,sans-serif">
<div style="font-size:13px;color:rgb(0,0,0);font-family:Tahoma"><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-size:13px;color:rgb(0,0,0);font-family:Tahoma"><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:14pt">Aaron
 Perry</span></b></span></font></font></div>
<div style="color:rgb(0,0,0);font-family:Tahoma"><font face="Calibri,Arial,Helvetica,sans-serif"><font style="font-size:13px" size="2" face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9"><span style="font-size:11pt"><span style="font-size:14pt"></span></span></font><font face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9"><span style="font-size:12pt">Meteorologist<br>
</span><span style="font-size:12pt"></span></font><font style="font-size:13px" size="2" face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9"><span style="font-size:12pt">Class of '16</span></font><font style="font-size:13px" size="2" face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9"><span style="font-size:12pt"><br>
</span></font><font style="font-size:13px" size="2" face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9"><span style="font-size:12pt">Northern Vermont University-Lyndon</span></font></font></div>
<div style="font-size:13px;color:rgb(0,0,0);font-family:Tahoma"><font face="Calibri,Arial,Helvetica,sans-serif"><font size="2" face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9"><span style="font-size:12pt"><span style="font-size:10pt">(formerly </span><span style="font-size:10pt">Lyndon
 State College)</span></span></font><font size="2" face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9"><span style="font-size:12pt"><br>
<span style="font-size:12pt"></span><span style="font-size:12pt">Boston, Mass.</span></span></font></font></div>
<span style="font-size:12pt"></span>
<div style="font-size:13px;color:rgb(0,0,0);font-family:Tahoma"><font face="Calibri,Arial,Helvetica,sans-serif"><font size="2" color="#006FC9"><span style="font-size:12pt"><span style="font-size:12pt">Twitter:
</span><a href="https://twitter.com/AaronPerryWx" target="_blank"><span style="font-size:12pt">@AaronPerryWx</span></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_854013237294818225LPNoLP" target="_blank"></a><a href="https://twitter.com/AaronPerryWx" target="_blank"></a></span></span></font></font></div>
<span style="font-size:12pt"></span>
<div style="font-size:13px;color:rgb(0,0,0);font-family:Tahoma"><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_854013237294818225LPNoLP" 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>
</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>