Hi Mike, I did this in fortran once, a long time ago. The binaries were
output from the NASA/GSFC/NSIPP atmospheric model. Am attaching a script
I used. Hope it helps! best, alessandra
-- Alessandra Giannini IRI for Climate and Society - The Earth Institute at Columbia University P.O. Box 1000, Palisades NY 10964-8000 phone/fax: +1 845 680-4473/4864 - email: alesall_at_iri.columbia.edu 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
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
This archive was generated by hypermail 2.2.0 : Thu Jun 14 2007 - 09:39:54 MDT