grads binary to netcdf

From: Michael Notaro <mnotaro_at_nyahnyahspammersnyahnyah>
Date: Fri, 08 Jun 2007 13:16:12 -0500

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
Received on Fri Jun 08 2007 - 12:16:12 MDT

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