<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p></p>
<div>Hi everybody</div>
<div><br>
</div>
<div>I am a new Grads user. &nbsp;Right now I am running simulations using NHRCM and GCM models to get downscaling data (temperature, precipitation, humidity, etc.) most them as a ctl or binary output files.</div>
<div><br>
</div>
<div>I should do bias corrections. &nbsp;For instance for&nbsp;the temperature case I should compare or correlate values of observations versus simulation values. &nbsp;So, I would like to know if you could help me with a script which allow &nbsp;get the data or information (temperature,
 precipation, etc.) &nbsp;from these ctl files, allows to sort this data (small value to the largest one), and graph them to get the correlation coefficent....and so on.</div>
<div><br>
</div>
<div>Thanks so much in advance&nbsp;</div>
<div><br>
</div>
<div>Kind regards</div>
<p></p>
<p><br>
</p>
<p>Rei&nbsp;&nbsp;</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> gradsusr-bounces@gradsusr.org &lt;gradsusr-bounces@gradsusr.org&gt; on behalf of Frank Colby &lt;Frank_Colby@uml.edu&gt;<br>
<b>Sent:</b> Monday, July 11, 2016 6:51:46 PM<br>
<b>To:</b> GrADS Users Forum<br>
<b>Subject:</b> Re: [gradsusr] concatenating files</font>
<div>&nbsp;</div>
</div>
<div>Jennifer,<br>
<br>
Thanks for the help&nbsp; I didn't realize how much more meta data was included in the grib2 files.<br>
I had found something online that seemed to suggest grib1 files worked the same way as grib2.<br>
Now it makes sense that it didn't work out.<br>
<br>
Frank<br>
<br>
On 7/8/2016 9:18 AM, Jennifer M Adams wrote:
<blockquote type="cite">Hi, Frank —&nbsp;
<div>You can’t concatenate grib1 ensemble files and expect gribmap to distinguish between them — there isn’t any ensemble metadata in a grib1 header. This is discussed in the documentation for ensembles under ‘how to organize your data’:
<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__cola.gmu.edu_grads_gadoc_ensembles.html-23data&amp;d=CwMF-g&amp;c=lqHimbpwJeF7VTDNof4ddl8H-RbXeAdbMI2MFE1TXqA&amp;r=6tSfNfW9eok2dvPp1qvMgNtd3pXLhNg0FMEbTXyDrbI&amp;m=QPqA9k9AYEgTmQJHxaUoZ_ddngbq5ay2qvumidlIA3A&amp;s=rfyXUHXXIldohh5hjQltp04HTFH4kkXgAH3khibQUIk&amp;e=">
http://cola.gmu.edu/grads/gadoc/ensembles.html#data</a>. For GFS ensembles, I use a descriptor file like this:</div>
<div><br>
</div>
<div>
<div><font style="font-size: 14px;" face="Courier">dset ^gfsens.%e.%iy4%im2%id2%ih2.fh%f3.grib2</font></div>
<div><font style="font-size: 14px;" face="Courier">dtype grib2</font></div>
<div><font style="font-size: 14px;" face="Courier">title NCEP 5D Ensemble Forecast Initialized 00z08jul2016 6-hourly out to 192 hours</font></div>
<div><font style="font-size: 14px;" face="Courier">index ^gfsens.2016070800.map</font></div>
<div><font style="font-size: 14px;" face="Courier">options template pascals</font></div>
<div><font style="font-size: 14px;" face="Courier">undef -9.99e33</font></div>
<div><font style="font-size: 14px;" face="Courier">xdef 360 linear &nbsp;0.0 1.0</font></div>
<div><font style="font-size: 14px;" face="Courier">ydef 181 linear -90.0 1.0</font></div>
<div><font style="font-size: 14px;" face="Courier">zdef &nbsp;10 levels 100000 92500 85000 70000 50000 25000 20000 10000 5000 1000</font></div>
<div><font style="font-size: 14px;" face="Courier">tdef &nbsp;33 linear 00z08jul2016 6hr</font></div>
<div><font style="font-size: 14px;" face="Courier">edef 22</font></div>
<div><font style="font-size: 14px;" face="Courier">*name length initialtime &lt;type,pert or deriv&gt;</font></div>
<div><font style="font-size: 14px;" face="Courier">avg &nbsp;33 &nbsp;00z08jul2016 &nbsp; 0</font></div>
<div><font style="font-size: 14px;" face="Courier">c00 &nbsp;33 &nbsp;00z08jul2016 &nbsp;1,0</font></div>
<div><font style="font-size: 14px;" face="Courier">p01 &nbsp;33 &nbsp;00z08jul2016 &nbsp;3,1</font></div>
<div><font style="font-size: 14px;" face="Courier">p02 &nbsp;33 &nbsp;00z08jul2016 &nbsp;3,2</font></div>
<div><font style="font-size: 14px;" face="Courier">p03 &nbsp;33 &nbsp;00z08jul2016 &nbsp;3,3</font></div>
<div><font style="font-size: 14px;" face="Courier">p04 &nbsp;33 &nbsp;00z08jul2016 &nbsp;3,4</font></div>
<div><font style="font-size: 14px;" face="Courier">p05 &nbsp;33 &nbsp;00z08jul2016 &nbsp;3,5</font></div>
<div><font style="font-size: 14px;" face="Courier">p06 &nbsp;33 &nbsp;00z08jul2016 &nbsp;3,6</font></div>
<div><font style="font-size: 14px;" face="Courier">p07 &nbsp;33 &nbsp;00z08jul2016 &nbsp;3,7</font></div>
<div><font style="font-size: 14px;" face="Courier">p08 &nbsp;33 &nbsp;00z08jul2016 &nbsp;3,8</font></div>
<div><font style="font-size: 14px;" face="Courier">p09 &nbsp;33 &nbsp;00z08jul2016 &nbsp;3,9</font></div>
<div><font style="font-size: 14px;" face="Courier">p10 &nbsp;33 &nbsp;00z08jul2016 &nbsp;3,10</font></div>
<div><font style="font-size: 14px;" face="Courier">p11 &nbsp;33 &nbsp;00z08jul2016 &nbsp;3,11</font></div>
<div><font style="font-size: 14px;" face="Courier">p12 &nbsp;33 &nbsp;00z08jul2016 &nbsp;3,12</font></div>
<div><font style="font-size: 14px;" face="Courier">p13 &nbsp;33 &nbsp;00z08jul2016 &nbsp;3,13</font></div>
<div><font style="font-size: 14px;" face="Courier">p14 &nbsp;33 &nbsp;00z08jul2016 &nbsp;3,14</font></div>
<div><font style="font-size: 14px;" face="Courier">p15 &nbsp;33 &nbsp;00z08jul2016 &nbsp;3,15</font></div>
<div><font style="font-size: 14px;" face="Courier">p16 &nbsp;33 &nbsp;00z08jul2016 &nbsp;3,16</font></div>
<div><font style="font-size: 14px;" face="Courier">p17 &nbsp;33 &nbsp;00z08jul2016 &nbsp;3,17</font></div>
<div><font style="font-size: 14px;" face="Courier">p18 &nbsp;33 &nbsp;00z08jul2016 &nbsp;3,18</font></div>
<div><font style="font-size: 14px;" face="Courier">p19 &nbsp;33 &nbsp;00z08jul2016 &nbsp;3,19</font></div>
<div><font style="font-size: 14px;" face="Courier">p20 &nbsp;33 &nbsp;00z08jul2016 &nbsp;3,20</font></div>
<div><font style="font-size: 14px;" face="Courier">endedef</font></div>
<div><font style="font-size: 14px;" face="Courier">vars</font></div>
<div><font style="font-size: 14px;" face="Courier">....</font></div>
<div><font style="font-size: 14px;" face="Courier">endvars</font></div>
</div>
<div><br>
</div>
<div><br>
<div>
<div>On Jul 7, 2016, at 5:21 PM, Frank Colby &lt;<a href="mailto:Frank_Colby@uml.edu">Frank_Colby@uml.edu</a>&gt; wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">Hi GradsUsers,<br>
<br>
Does anyone have an easy way to handle GFS Ensemble files? &nbsp;I have <br>
output from ensemble runs that have separate files for each ensemble <br>
member at each forecast hour. &nbsp;I would like to put the ensemble members <br>
together into a single file. &nbsp;I used cat to put two files together as a <br>
test, and wgrib (these are grib1 files) shows that both ensemble members <br>
are indeed there. &nbsp;However, when I use grib2ctl and gribmap to make the <br>
ctl and index files, and open the file, it only has the first ensemble <br>
member. &nbsp;&nbsp;It's as if grib2ctl never read that there was a second <br>
ensemble member.<br>
<br>
What am I missing here?<br>
<br>
Thanks,<br>
Frank Colby<br>
UMass Lowell<br>
<br>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a class="moz-txt-link-freetext" href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</blockquote>
</div>
<br>
<div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); letter-spacing: normal;
            orphans: auto; text-align: start; text-indent: 0px;
            text-transform: none; white-space: normal; widows: auto;
            word-spacing: 0px; -webkit-text-stroke-width: 0px;
            word-wrap: break-word; -webkit-nbsp-mode: space;
            -webkit-line-break: after-white-space;">
<div style="color: rgb(0, 0, 0); letter-spacing: normal;
              orphans: auto; text-align: start; text-indent: 0px;
              text-transform: none; white-space: normal; widows: auto;
              word-spacing: 0px; -webkit-text-stroke-width: 0px;
              word-wrap: break-word; -webkit-nbsp-mode: space;
              -webkit-line-break: after-white-space;">
<div style="font-size: 12px; orphans: 2; widows: 2;">--</div>
<div style="font-size: 12px; orphans: 2; widows: 2;">Jennifer Miletta Adams<br>
Center for Ocean-Land-Atmosphere Studies (COLA)<br>
George Mason University<br>
<br>
<br>
</div>
</div>
</div>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset> <br>
<pre wrap="">_______________________________________________
gradsusr mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>
<a class="moz-txt-link-freetext" href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a>
</pre>
</blockquote>
<br>
<br>
***************Este mensaje (y sus adjuntos), en adelante &quot;mensaje&quot;, ha sido enviado exclusivamente a su(s) destinatario(s) y es confidencial. Si usted recibe este mensaje por error, por favor bórrelo y comunique inmediatamente al remitente. Toda utilización
 o publicación, total o parcial, queda prohibida salvo autorización expresa. La UTP no podrá ser considerada responsable si el mensaje ha sido modificado y/o utilizado sin autorización. This message (and any attachments), are confidential intended solely for
 the people whose addresses appear. If you have received this message by error, please delete it and immediately notify the sender. Any use, dissemination or disclosure, either whole or partial, without formal approval is prohibited. The UTP will not therefore
 be liable for the message if modified and/or used without approval.**************
</div>
***************Este mensaje (y sus adjuntos), en adelante &quot;mensaje&quot;, ha sido enviado exclusivamente a su(s) destinatario(s) y es confidencial. Si usted recibe este mensaje por error, por favor bórrelo y comunique inmediatamente al remitente. Toda utilización
 o publicación, total o parcial, queda prohibida salvo autorización expresa. La UTP no podrá ser considerada responsable si el mensaje ha sido modificado y/o utilizado sin autorización. This message (and any attachments), are confidential intended solely for
 the people whose addresses appear. If you have received this message by error, please delete it and immediately notify the sender. Any use, dissemination or disclosure, either whole or partial, without formal approval is prohibited. The UTP will not therefore
 be liable for the message if modified and/or used without approval.**************
</body>
</html>