<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi Jeff!</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);">
Thank you very much for your insight!</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 going to take a closer look into the GFS Ensemble GRIB files and see if I can sort out what is happening with the alternating accumulation intervals.</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);">
Talk soon,</div>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div>
<div id="divtagdefaultwrapper" dir="ltr" style="color:rgb(0,0,0); background-color:rgb(255,255,255); font-family:Calibri,Arial,Helvetica,sans-serif">
<span style="font-size:12pt; 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 face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9" style=""><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" style=""><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9" style="font-size:13px"><span style="font-size:11pt"><span style="font-size:14pt"></span></span></font><font face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9" style=""><span style="font-size:12pt">Meteorologist<br>
</span><span style="font-size:12pt"></span></font><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9" style="font-size:13px"><span style="font-size:12pt">Class of '16</span></font><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9" style="font-size:13px"><span style="font-size:12pt"><br>
</span></font><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9" style="font-size:13px"><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 face="Calibri,Arial,Helvetica,sans-serif" size="2" 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 face="Calibri,Arial,Helvetica,sans-serif" size="2" 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" class="OWAAutoLink"><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" target="_blank" id="LPNoLP"></a><a href="https://twitter.com/AaronPerryWx" class="OWAAutoLink"></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 face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:12pt">Email: </span></font><a href="http://Aaron.Perry@lyndonstate.edu/" target="_blank" id="LPNoLP"><font face="Calibri,Arial,Helvetica,sans-serif" size="2"><span style="font-size:12pt">Aaron.Perry@lyndonstate.edu</span></font></a></font></div>
</div>
</div>
</div>
</div>
<div id="appendonsend"></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> gradsusr <gradsusr-bounces@gradsusr.org> on behalf of Jeff Duda <jeffduda319@gmail.com><br>
<b>Sent:</b> Tuesday, June 1, 2021 5:30 PM<br>
<b>To:</b> GrADS Users Forum <gradsusr@gradsusr.org><br>
<b>Subject:</b> Re: [gradsusr] Generating Ensemble Probabilities Based on Conditional Threshold(s)</font>
<div> </div>
</div>
<div>
<h4 style="display:block; color:#ff0000; background-color:white; font-size:16px; font-weight:bold">
This message is from an external sender. Please be careful when clicking on links and attachments.</h4>
<br>
<br>
<div>
<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="x_gmail_quote">
<div dir="ltr" class="x_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="x_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="https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgefs_p01.gs%2F&data=04%7C01%7Caxp09171%40alumni.northernvermont.edu%7C2af2bb031f6a4070c02108d92544b100%7Cb17e9703dbdd49fa909c03dfd13086af%7C0%7C0%7C637581800111838328%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=zZzvLCZ%2FFzXE0vW4K2fp5HMXCQHrE2kAhCRwmjF6XlA%3D&reserved=0" originalsrc="http://gefs_p01.gs/" shash="k6SCGckSDYyFMdFyM0LOQTzo0YWzw9v1nA4YSLTt2voXlGU+GhkLi39orOMgt42aK0e3rfBUvVpuAkZpeW2gvt3fwlSc4vEK6e+Cg5I+7RiP2D3lP3VM7d98AltJ3rTc2C2LA89XMyGA/y482RDfPd40sT2MklgxSds9u3WGwk4=" 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="x_gmail-m_854013237294818225Signature">
<div>
<div id="x_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 size="2" face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9" style="font-size:13px"><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 size="2" face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9" style="font-size:13px"><span style="font-size:12pt">Class of '16</span></font><font size="2" face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9" style="font-size:13px"><span style="font-size:12pt"><br>
</span></font><font size="2" face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9" style="font-size:13px"><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://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitter.com%2FAaronPerryWx&data=04%7C01%7Caxp09171%40alumni.northernvermont.edu%7C2af2bb031f6a4070c02108d92544b100%7Cb17e9703dbdd49fa909c03dfd13086af%7C0%7C0%7C637581800111848322%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=p92KSiM3WhMDTjnrbsocjWkTWYohqto9Fn5kNQeQQh0%3D&reserved=0" originalsrc="https://twitter.com/AaronPerryWx" shash="ueYOWfBy2IYYDj+dzdQLqmRV1YgM7kfbkRelLz39EhC/DK62Ecqwf8YIFUAp4vasTbpnUvmTGQv2aM2VF2vng/xv6Dpa2RsFe4NdHTCX1mFTEj3GF1DCGKIzfPHWg6iNERmemfqWNikVM6dR4tinJjkR99RbXrsdycD8P3SkJZA=" 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://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitter.com%2Farnpry&data=04%7C01%7Caxp09171%40alumni.northernvermont.edu%7C2af2bb031f6a4070c02108d92544b100%7Cb17e9703dbdd49fa909c03dfd13086af%7C0%7C0%7C637581800111848322%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=bkBhjk8y1VdOp8DrnneQGgB95gqfA3ij8Gw1HSGSMiA%3D&reserved=0" originalsrc="https://twitter.com/arnpry" shash="Ip85tYEYBtrp5hvnMLvotO3dyleprmiZUWc8dv24eEcm1HTtPJVrhCFWPGOepp9ts48bveBUXy/V8UYJsJ8UY2ExLAKTBFq5PH7Z1Acbp3HOOrvzB9hP6n2ggy/SazyjD8du+psdBxtHj8lyCUWtLsZiVdEDFzYtdeU5iIODSQ8=" id="x_gmail-m_854013237294818225LPNoLP" target="_blank"></a><a href="https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitter.com%2FAaronPerryWx&data=04%7C01%7Caxp09171%40alumni.northernvermont.edu%7C2af2bb031f6a4070c02108d92544b100%7Cb17e9703dbdd49fa909c03dfd13086af%7C0%7C0%7C637581800111858315%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=hexSHzsTXRCfSaTa4QTyg4QDmPPasXKT0KUfjsq1OfQ%3D&reserved=0" originalsrc="https://twitter.com/AaronPerryWx" shash="mlMsJK+f3vFlxrGi6orLUBHxFaAgdUiKJ6i2kQW6efEzojjICiDm0oqYT2twVqTom32iSHsXemqOf1yFuojBEZJm2upsvEaEKGP5xfD9yJlfLng/eCElXmi1tYbqW+b4W8WzDnifpyaQMP38XDOcjQkNbcY13EwtZ33rncg7ulU=" 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="https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2FAaron.Perry%40lyndonstate.edu%2F&data=04%7C01%7Caxp09171%40alumni.northernvermont.edu%7C2af2bb031f6a4070c02108d92544b100%7Cb17e9703dbdd49fa909c03dfd13086af%7C0%7C0%7C637581800111858315%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=y0DFxVv2teSSr2LxDbALKn%2BK9znJpTepgPcOro1QgZc%3D&reserved=0" originalsrc="http://Aaron.Perry@lyndonstate.edu/" shash="nUFV3C3G9JIDAqkK36WtKtdWdfCi42vt/evCpY9lesQw9BC1PnZS57UcZMnOQRIzPr/Akpej0R6RKwfXZD/dPyJa0CzGg6Hgwk2FNbZ4eZOQqnYOoesTCdZrOCAw15T/5CUgMBdFtP98SQoF9XBw0joJ/j0psBG22DZ3yVUp60I=" id="x_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="https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgradsusr.org%2Fmailman%2Flistinfo%2Fgradsusr&data=04%7C01%7Caxp09171%40alumni.northernvermont.edu%7C2af2bb031f6a4070c02108d92544b100%7Cb17e9703dbdd49fa909c03dfd13086af%7C0%7C0%7C637581800111868305%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=V3ziWdvGTHRTRSTPnQ1i8wNc9kMQttDxoWxPaDZskPM%3D&reserved=0" originalsrc="http://gradsusr.org/mailman/listinfo/gradsusr" shash="LtE9PxCmMfd0fvYv3qcybr4t5jPmBQTiGzCVwaAWwrjcoo9BTi4fFFv1iNGeXkAShNmnflNe/eXT+KKwUHKAfDHHKZkZeOgYMEr5F3BEBCEClOsQ9AbnMTXaGbJ9LGOWcvV21MkFNGGWXR0EvUTr3AlUO9ljZBL2ElS3HeEhXfg=" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</blockquote>
</div>
<br clear="all">
<br>
-- <br>
<div dir="ltr" class="x_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>
</div>
</div>
</body>
</html>