<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
6.3.0 linux.<br>
<br>
file is<br>
<br>
air.2m.1901.grb<br>
<br>
Cathy<br>
<br>
<div class="moz-cite-prefix">On 2/22/17 8:13 AM, Dennis Shea wrote:<br>
</div>
<blockquote
cite="mid:CAOF1d_52b3hmDuzwpqK_BLf2F0FpXvmsjQFwfJoGpToYvnucnw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>
<div>What version of NCL are you using?<br>
<br>
===<br>
<br>
Please do put sample file at:<br>
<br>
</div>
ftp <a moz-do-not-send="true"
href="http://ftp.cgd.ucar.edu">ftp.cgd.ucar.edu</a><br>
</div>
anonymous<br>
</div>
your_email<br>
</div>
cd incoming<br>
</div>
put ...<br>
</div>
quit<br>
<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Feb 22, 2017 at 8:09 AM, Cathy
Smith (NOAA Affiliate) <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:cathy.smith@noaa.gov"
target="_blank">cathy.smith@noaa.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi<br>
We have some grib files that have 10 ensemble members for
each month.<br>
NCL reads the data as one 1 value per month using
ncl_convert2nc.<br>
Looking at the grib1 files, the 1st 10 headers are the same,
the 2nd,<br>
and so forth (except for the starting value). Is it possible
to read<br>
these with ncl or should we try to create 120 grib files and
then<br>
process them? Maybe one can use -sed?<br>
<br>
Here is the header for the 1st 12 grib records of the 120.<br>
<br>
1:0:d=01010100:2T:kpds5=167:<wbr>kpds6=1:kpds7=0:TR=123:P1=0:<wbr>P2=3:TimeU=1:sfc:anl:ave@3hr:<wbr>type=analysis:NAve=248<br>
2:58192:d=01010100:2T:kpds5=<wbr>167:kpds6=1:kpds7=0:TR=123:P1=<wbr>0:P2=3:TimeU=1:sfc:anl:ave@3hr<wbr>:type=analysis:NAve=248<br>
3:116384:d=01010100:2T:kpds5=<wbr>167:kpds6=1:kpds7=0:TR=123:P1=<wbr>0:P2=3:TimeU=1:sfc:anl:ave@3hr<wbr>:type=analysis:NAve=248<br>
4:174576:d=01010100:2T:kpds5=<wbr>167:kpds6=1:kpds7=0:TR=123:P1=<wbr>0:P2=3:TimeU=1:sfc:anl:ave@3hr<wbr>:type=analysis:NAve=248<br>
5:232768:d=01010100:2T:kpds5=<wbr>167:kpds6=1:kpds7=0:TR=123:P1=<wbr>0:P2=3:TimeU=1:sfc:anl:ave@3hr<wbr>:type=analysis:NAve=248<br>
6:290960:d=01010100:2T:kpds5=<wbr>167:kpds6=1:kpds7=0:TR=123:P1=<wbr>0:P2=3:TimeU=1:sfc:anl:ave@3hr<wbr>:type=analysis:NAve=248<br>
7:349152:d=01010100:2T:kpds5=<wbr>167:kpds6=1:kpds7=0:TR=123:P1=<wbr>0:P2=3:TimeU=1:sfc:anl:ave@3hr<wbr>:type=analysis:NAve=248<br>
8:407344:d=01010100:2T:kpds5=<wbr>167:kpds6=1:kpds7=0:TR=123:P1=<wbr>0:P2=3:TimeU=1:sfc:anl:ave@3hr<wbr>:type=analysis:NAve=248<br>
9:465536:d=01010100:2T:kpds5=<wbr>167:kpds6=1:kpds7=0:TR=123:P1=<wbr>0:P2=3:TimeU=1:sfc:anl:ave@3hr<wbr>:type=analysis:NAve=248<br>
10:523728:d=01010100:2T:kpds5=<wbr>167:kpds6=1:kpds7=0:TR=123:P1=<wbr>0:P2=3:TimeU=1:sfc:anl:ave@3hr<wbr>:type=analysis:NAve=248<br>
11:581920:d=01020100:2T:kpds5=<wbr>167:kpds6=1:kpds7=0:TR=123:P1=<wbr>0:P2=3:TimeU=1:sfc:anl:ave@3hr<wbr>:type=analysis:NAve=224<br>
12:640112:d=01020100:2T:kpds5=<wbr>167:kpds6=1:kpds7=0:TR=123:P1=<wbr>0:P2=3:TimeU=1:sfc:anl:ave@3hr<wbr>:type=analysis:NAve=224<br>
<br>
ncl_convert2nc produces<br>
<br>
netcdf air.2m.1901 {<br>
dimensions:<br>
initial_time0_hours = 12 ;<br>
g0_lat_1 = 121 ;<br>
g0_lon_2 = 240 ;<br>
ncl_strlen_0 = 18 ;<br>
variables:<br>
float \2T_GDS0_SFC_S123(initial_<wbr>time0_hours,
g0_lat_1, g0_lon_2) ;<br>
\2T_GDS0_SFC_S123:N = 248, 224, 248, 240,
248, 240,<br>
248, 248, 240, 248, 240, 248 ;<br>
<br>
etc.<br>
<br>
<br>
I can put a file in ftp if that helps.<br>
<br>
Cathy<br>
<br>
--<br>
------------------------------<wbr>----------------<br>
NOAA/ESRL PSD and CU CIRES<br>
303-497-6263<br>
<a moz-do-not-send="true"
href="http://www.esrl.noaa.gov/psd/people/cathy.smith/"
rel="noreferrer" target="_blank">http://www.esrl.noaa.gov/psd/<wbr>people/cathy.smith/</a><br>
<br>
Emails about data/webpages may get quicker responses from
emailing<br>
<a moz-do-not-send="true"
href="mailto:esrl.psd.data@noaa.gov">esrl.psd.data@noaa.gov</a><br>
<br>
______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a moz-do-not-send="true" href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a moz-do-not-send="true"
href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk"
rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
----------------------------------------------
NOAA/ESRL PSD and CU CIRES
303-497-6263
<a class="moz-txt-link-freetext" href="http://www.esrl.noaa.gov/psd/people/cathy.smith/">http://www.esrl.noaa.gov/psd/people/cathy.smith/</a>
Emails about data/webpages may get quicker responses from emailing
<a class="moz-txt-link-abbreviated" href="mailto:esrl.psd.data@noaa.gov">esrl.psd.data@noaa.gov</a></pre>
</body>
</html>