Re: grads binary to netcdf

From: David Ian Brown <dbrown_at_nyahnyahspammersnyahnyah>
Date: Fri, 8 Jun 2007 13:18:24 -0600

Quoting an old ncl-talk message from Xianglei Huang 12 Jan 2006:

-----
Just FYI, there is a handy tool, grads2nc, to convert Grads data
to netcdf data developed at GFDL. You can download this tool from
http://www.gfdl.noaa.gov/products/vis/data/netcdf/
GFDL_VG_NetCDF_Utils.html#grads2nc

          It might take you some time to configure and compile it. But
the
conversion is very neat, just a command line and it will do it.
------

  -dave

On Jun 8, 2007, at 1:05 PM, Dennis Shea wrote:

> Perhaps, better to askt the GrADS people this question :-)
>
> ------
> I think GFDL has a "grads2nc" tool available.
>
> I have seen it being run on the NCAR machine "tempest".
> However, I do not know ehere it is located.
>
> Goos luck
> D
> Michael Notaro wrote:
>> Hello. I have output from RegCM3 regional model in grads binary,
>> along with
>> the grads CTL file (shown below). It contains several variables. Is
>> there a way
>> in NCL (or grads) to convert this file to netcdf?
>>
>> Thanks, Mike
>>
>>
>> dset ^ATM.2002080100
>> title RegCM normal output variables
>> options big_endian
>> undef -1.e34
>> pdef 49 32 lcc 45.39 13.48 24.50 16.00 30.00 60.00
>> 13.48 60000. 60000.
>> xdef 175 linear -9.61 0.2703
>> ydef 78 linear 34.70 0.2703
>> zdef 18 levels 1008.43 998.80 984.35 960.27 926.56 883.21 830.23
>> 767.62 695.38 618.32 541.26 464.20 387.14 310.08 237.83 175.22 122.24
>> 74.08
>> tdef 124 linear 6z01aug2002 6hr
>> vars 11
>> u 18 0 westerly wind (m/s)
>> v 18 0 southerly wind (m/s)
>> w 18 0 omega (hPa/s) p-velocity
>> t 18 0 air temperature (degree)
>> qv 18 0 water vapor mixing ratio
>> qc 18 0 cloud water mixing ratio
>> psa 0 99 surface pressure (hPa)
>> tpr 0 99 total precipitation(mm/day
>> tgb 0 99 groud temperature in BATS
>> swt 0 99 total soil water in mm H2O
>> rno 0 99 accumulated infiltration
>> endvars
>>
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk_at_ucar.edu
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
> --
> ======================================================
> Dennis J. Shea tel: 303-497-1361 |
> P.O. Box 3000 fax: 303-497-1333 |
> Climate Analysis Section |
> Climate & Global Dynamics Div. |
> National Center for Atmospheric Research |
> Boulder, CO 80307 |
> USA email: shea 'at' ucar.edu |
> ======================================================
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Jun 08 2007 - 13:18:24 MDT

This archive was generated by hypermail 2.2.0 : Thu Jun 14 2007 - 09:39:54 MDT