<div dir="ltr">Oh I see. So I missed something like I said.<div><br></div><div>Thanks</div><div>Ben</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 30, 2017 at 5:11 PM, David Brown <span dir="ltr"><<a href="mailto:dbrown@ucar.edu" target="_blank">dbrown@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ben,<br>
I think Marston cannot use ncl_convert2nc because he wants to<br>
interpolate to a lat/lon grid before saving the data to netcdf.<br>
<br>
Karin,<br>
The files that Marston made available to me are still on<br>
<a href="http://ftp.cgd.ucar.edu" rel="noreferrer" target="_blank">ftp.cgd.ucar.edu</a> in the zip file ifs_grib_types.zip.<br>
-dave<br>
<div class="HOEnZb"><div class="h5"><br>
On Fri, Jun 30, 2017 at 4:29 AM, Benjamin Lamptey <<a href="mailto:bllamptey@gmail.com">bllamptey@gmail.com</a>> wrote:<br>
> Hi Marston,<br>
> Maybe I am missing something. Why not use "ncl_convert2nc" command instead<br>
> of an NCL script?<br>
><br>
> Even if you have many files, you can use the command in a shell script.<br>
><br>
> Sorry if I missed something earlier but the above command is easier to<br>
> convert grib to netcdf.<br>
><br>
> Regards<br>
> Ben<br>
><br>
> On Fri, Jun 30, 2017 at 11:10 AM, Karin Meier-Fleischer<br>
> <<a href="mailto:meier-fleischer@dkrz.de">meier-fleischer@dkrz.de</a>> wrote:<br>
>><br>
>> Hi Marston,<br>
>><br>
>> as I'm also working in the CDO consultancy here in Hamburg, I would like<br>
>> to have a closer look at your IFS file, too, to see if the CDO version 1.8.2<br>
>> could handle it.<br>
>><br>
>> If the file is not too large you can attach it to an 'offline' email to me<br>
>> or upload it creating a new request on<br>
>> <a href="https://code.mpimet.mpg.de/projects/cdo/boards/1" rel="noreferrer" target="_blank">https://code.mpimet.mpg.de/<wbr>projects/cdo/boards/1</a> .<br>
>><br>
>> Thanks in advance,<br>
>> Karin<br>
>><br>
>> Am 27.06.17 um 20:49 schrieb Marston Johnston:<br>
>><br>
>> Hi,<br>
>><br>
>><br>
>><br>
>> For years I’ve been using CDO to convert ECMWF’s IFS grib files to netcdf<br>
>> and converting it from reduced Gaussian grid to regular lat lon.<br>
>><br>
>> But CDO has not kept up the pace with updates and they do not respond to<br>
>> many questions.<br>
>><br>
>> Therefore, I’m attempting to move this part of my processing chain to NCL.<br>
>><br>
>> I’m using NCL 6.5 (beta) to read the grib file (see attached log file).<br>
>> There 1 or 2 problems and then I have a question.<br>
>><br>
>><br>
>><br>
>> 1.) My NCL script is not finding the experimental variables in the<br>
>> grib file. These variables are given the generic names varXXX where XXX can<br>
>> be between 88 and 111, for example.<br>
>><br>
>> 2.) The script also doesn’t find the 3D records. I’m not sure how NCL<br>
>> finds these records in the grib file and then lists them as a 3D<br>
>> (time,lev,lat,lon), not counting the time.<br>
>><br>
>> 3.) If 1 and 2 can be resolved, how can I then convert the reduced<br>
>> Gaussian grid to regular lat lon? Would ESMF work if I setup a regular lat<br>
>> lon grid?<br>
>><br>
>><br>
>><br>
>> Appreciate your thoughts on this.<br>
>><br>
>> /M<br>
>><br>
>><br>
>><br>
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
>><br>
>> Marston S. Johnston, PhD<br>
>><br>
>> Department of Earth Sciences<br>
>><br>
>> University of Gothenburg, Sweden<br>
>><br>
>> Email: <a href="mailto:marston.johnston@gu.se">marston.johnston@gu.se</a><br>
>><br>
>> SkypeID: marston.johnston<br>
>><br>
>> Phone: <a href="tel:%2B46-31-7864901" value="+46317864901">+46-31-7864901</a><br>
>><br>
>> Only the fruitful thing is true!<br>
>><br>
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
>><br>
>><br>
>><br>
>><br>
>><br>
>> ______________________________<wbr>_________________<br>
>> ncl-talk mailing list<br>
>> <a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
>> List instructions, subscriber options, unsubscribe:<br>
>> <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
>><br>
>> --<br>
>> Dipl. Geophys. Karin Meier-Fleischer<br>
>> Visualization, NCL, CDO<br>
>> Application Support<br>
>><br>
>> Deutsches Klimarechenzentrum GmbH (DKRZ)<br>
>> Bundesstrasse 45a - D20146 Hamburg - Germany<br>
>><br>
>> Phone: <a href="tel:%2B49%20%280%2940%20460094%20126" value="+4940460094126">+49 (0)40 460094 126</a><br>
>> Fax: <a href="tel:%2B49%20%280%2940%20460094%20270" value="+4940460094270">+49 (0)40 460094 270</a><br>
>> E-Mail: <a href="mailto:meier-fleischer@dkrz.de">meier-fleischer@dkrz.de</a><br>
>> URL: <a href="http://www.dkrz.de" rel="noreferrer" target="_blank">www.dkrz.de</a><br>
>><br>
>> Geschäftsführer: Prof. Dr. Thomas Ludwig<br>
>> Sitz der Gesellschaft: Hamburg<br>
>> Amtsgericht Hamburg HRB 39784<br>
>><br>
>><br>
>> ______________________________<wbr>_________________<br>
>> ncl-talk mailing list<br>
>> <a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
>> List instructions, subscriber options, unsubscribe:<br>
>> <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
>><br>
><br>
><br>
><br>
> --<br>
> Benjamin L. Lamptey, PhD (Physicist, Meteorologist, Geoscientist, HPC & Info<br>
> Systems)<br>
> Acting Director-General<br>
> African Centre of Meteorological Applications for Development (ACMAD)<br>
> 55, Avenue des Ministères, PL6<br>
> BP 13184, 1er Arrondissement, Niamey Plateau, Niger,<br>
> Tel.<a href="tel:%28%2B227%29%20%2020%2073.49.92" value="+22720734992">(+227) 20 73.49.92</a><br>
> Fax: <a href="tel:%28%2B227%29%2020723627" value="+22720723627">(+227) 20723627</a><br>
> <a href="http://www.acmad.org" rel="noreferrer" target="_blank">www.acmad.org</a><br>
><br>
> Cell: <a href="tel:%2B22796645655" value="+22796645655">+22796645655</a>; <a href="tel:%2B233265121750" value="+233265121750">+233265121750</a><br>
> Email: <a href="mailto:b.lamptey@acmad.org">b.lamptey@acmad.org</a>; <a href="mailto:bllamptey@gmail.com">bllamptey@gmail.com</a><br>
> Skype: benlamptey<br>
><br>
><br>
> ______________________________<wbr>_________________<br>
> ncl-talk mailing list<br>
> <a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
> List instructions, subscriber options, unsubscribe:<br>
> <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Benjamin L. Lamptey, PhD (Physicist, Meteorologist, Geoscientist, HPC & Info Systems)<br>Acting Director-General<br>African Centre of Meteorological Applications for
Development (ACMAD)</div><div>55, Avenue des Ministères, PL6<br>BP 13184, 1er Arrondissement, Niamey Plateau, Niger,<span style="font-size:10pt;font-family:Arial"><br>Tel.(+227) </span>
<span>20 73.49.92</span> <br>Fax: (+227) 20723627 <br></div><a href="http://www.acmad.net" target="_blank">www.acmad.</a>org</div><div dir="ltr"><br><div>Cell: +22796645655; +233265121750<br><a href="mailto:bllamptey@gmail.com" target="_blank">Email: b.lamptey@acmad.org; bllamptey@gmail.com</a><br>Skype: benlamptey<br><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>