How can I save the the out

C. Shaji cshaji at UMASSD.EDU
Wed May 4 23:11:51 EDT 2005


Dear All,

 I need some help for saving the o/p in someway so that I can use it later
in FORTRAN or MATLAB.
Let me explain it.

reinit'
'sdfopen tauu.nc'
'sdfopen tauv.nc'
'set t 1 12'
'define stresscurl=(hcurl(tauu.1,tauv.2))*1.0e06'
'd 'stresscurl

ga-> q dims
Default file number is: 1
X is varying   Lon = 0 to 360   X = 180.5 to 540.5
Y is varying   Lat = -84.5 to 84.5   Y = 1 to 170
Z is fixed     Lev = 0  Z = 1
T is varying   Time = 00Z01JAN2 to 00Z01DEC2  T = 1 to 12

Is there any effective way I can write the arrays stresscurl, lat, lon and
time in netcdf format in GrADS so that I should be able to use this o/p in
MATLAB later on ?

I will highly appreciate any suggestion on this.

Thanks in advance,

C. Shaji



More information about the gradsusr mailing list