FW: converting RUC model data from GRIB to netCDF

From: Kirby, Stephen (Civ, ARL/CISD) (sfkirby AT arl.army.mil)
Date: Mon Jun 20 2005 - 16:56:40 MDT

  • Next message: John Kelley: "NCL and NCEP-DOE Reanalysis (R2) GRIB files"

    Hi,

    Dennis Shea graciously provided me with an NCL script to convert the
    RUC GRIB to netCDF.

    Regards,

    Steve

    -----Original Message-----
    From: Dennis Shea [mailto:shea@cgd.ucar.edu]
    Sent: Monday, June 20, 2005 4:17 PM
    To: Kirby, Stephen (Civ, ARL/CISD)
    Cc: haley@ucar.edu
    Subject: RE: converting RUC model data from GRIB to netCDF

    >It's called ruc.grb. I had to get the file to another machine because
    >it's hard to find ftp around here anymore.
    >
    I am not sure how many files u need to do.
    Is this going to be "operational" and under time constraints?

    The way u were mimicking was the 'classic' way where the user must
    predefine the file's contents before writing anything.
    This must be done in all other languages: fortran, C, IDL, matlab,...

    I am attaching an NCL script that does things in a very simple manner
    but can be quite slow. I call it the "simple but (possibly very)
    inefficient"
    approach to writing netCDF from GRIB.

    The reason ... well u have to know something about how NCL implements
    the underlying netCDF software.
    NCL allows a file to be written *without* being predefined.]

    It is written for just one file ... Try it as is.
    I'm sure u can implement it within the original frame work.

    I will look at the more efficient approach when I have time.

    Regards
    Dennis

    _______________________________________________
    ncl-talk mailing list
    ncl-talk@ucar.edu
    http://mailman.ucar.edu/mailman/listinfo/ncl-talk



    This archive was generated by hypermail 2b29 : Mon Jun 20 2005 - 17:26:15 MDT