<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Jennifer,<br>
<br>
Thanks for the help 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">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
Hi, Frank —
<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&d=CwMF-g&c=lqHimbpwJeF7VTDNof4ddl8H-RbXeAdbMI2MFE1TXqA&r=6tSfNfW9eok2dvPp1qvMgNtd3pXLhNg0FMEbTXyDrbI&m=QPqA9k9AYEgTmQJHxaUoZ_ddngbq5ay2qvumidlIA3A&s=rfyXUHXXIldohh5hjQltp04HTFH4kkXgAH3khibQUIk&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 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 10
levels 100000 92500 85000 70000 50000 25000 20000 10000 5000
1000</font></div>
<div><font style="font-size: 14px;" face="Courier">tdef 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 <type,pert or deriv></font></div>
<div><font style="font-size: 14px;" face="Courier">avg 33
00z08jul2016 0</font></div>
<div><font style="font-size: 14px;" face="Courier">c00 33
00z08jul2016 1,0</font></div>
<div><font style="font-size: 14px;" face="Courier">p01 33
00z08jul2016 3,1</font></div>
<div><font style="font-size: 14px;" face="Courier">p02 33
00z08jul2016 3,2</font></div>
<div><font style="font-size: 14px;" face="Courier">p03 33
00z08jul2016 3,3</font></div>
<div><font style="font-size: 14px;" face="Courier">p04 33
00z08jul2016 3,4</font></div>
<div><font style="font-size: 14px;" face="Courier">p05 33
00z08jul2016 3,5</font></div>
<div><font style="font-size: 14px;" face="Courier">p06 33
00z08jul2016 3,6</font></div>
<div><font style="font-size: 14px;" face="Courier">p07 33
00z08jul2016 3,7</font></div>
<div><font style="font-size: 14px;" face="Courier">p08 33
00z08jul2016 3,8</font></div>
<div><font style="font-size: 14px;" face="Courier">p09 33
00z08jul2016 3,9</font></div>
<div><font style="font-size: 14px;" face="Courier">p10 33
00z08jul2016 3,10</font></div>
<div><font style="font-size: 14px;" face="Courier">p11 33
00z08jul2016 3,11</font></div>
<div><font style="font-size: 14px;" face="Courier">p12 33
00z08jul2016 3,12</font></div>
<div><font style="font-size: 14px;" face="Courier">p13 33
00z08jul2016 3,13</font></div>
<div><font style="font-size: 14px;" face="Courier">p14 33
00z08jul2016 3,14</font></div>
<div><font style="font-size: 14px;" face="Courier">p15 33
00z08jul2016 3,15</font></div>
<div><font style="font-size: 14px;" face="Courier">p16 33
00z08jul2016 3,16</font></div>
<div><font style="font-size: 14px;" face="Courier">p17 33
00z08jul2016 3,17</font></div>
<div><font style="font-size: 14px;" face="Courier">p18 33
00z08jul2016 3,18</font></div>
<div><font style="font-size: 14px;" face="Courier">p19 33
00z08jul2016 3,19</font></div>
<div><font style="font-size: 14px;" face="Courier">p20 33
00z08jul2016 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 <<a
href="mailto:Frank_Colby@uml.edu">Frank_Colby@uml.edu</a>>
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?
I have <br>
output from ensemble runs that have separate files for each
ensemble <br>
member at each forecast hour. I would like to put the
ensemble members <br>
together into a single file. 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. 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. 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>
</body>
</html>