[ncl-talk] NCL to replace CDO

Benjamin Lamptey bllamptey at gmail.com
Fri Jun 30 11:24:34 MDT 2017


Oh I see. So I missed something like I said.

Thanks
Ben

On Fri, Jun 30, 2017 at 5:11 PM, David Brown <dbrown at ucar.edu> wrote:

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



-- 
Benjamin L. Lamptey, PhD (Physicist, Meteorologist, Geoscientist, HPC &
Info Systems)
Acting Director-General
African Centre of Meteorological Applications for Development (ACMAD)
55, Avenue des Ministères, PL6
BP 13184, 1er Arrondissement, Niamey Plateau, Niger,
Tel.(+227)  20 73.49.92
Fax: (+227) 20723627
www.acmad. <http://www.acmad.net>org

Cell: +22796645655; +233265121750
Email: b.lamptey at acmad.org; bllamptey at gmail.com <bllamptey at gmail.com>
Skype: benlamptey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170630/7f4df1ce/attachment.html 


More information about the ncl-talk mailing list