Hi
The netcdf data variable is written as data (time, lat, lon)
where the dimenstion are time = 1200, lat = 180, lon = 360
I use the following to write a binary file
fi = addfile (fnames_in1, "r")
fo = diri + fnames_out
vals = (fi->data)
fbinrecwrite (fo, -1, (/ vals(:,:,:) /)) ; data(time,lat,lon)
I want to reshape the vals as data(lon,lat,time) and then write the binary
file.
I will appreciate any help on this.
Thanks,
Noel
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Apr 26 11:26:29 2012
This archive was generated by hypermail 2.1.8 : Mon Apr 30 2012 - 09:21:12 MDT