[gradsusr] Intermediate data storage

gibies george gibiesgeorge at gmail.com
Thu Jul 8 03:52:22 EDT 2010


Hello GrADS users,

I want to get a time correlation between a time series index (time only) and
a spatial distribution (lat, lon, time). My data is having daily time
interval and I can use ave() function to get seasonal mean values for each
year. But I cannot hold this huge dataset in RAM. Hence I tried to write it
to a data file using *sdfwrite*.

I have use the following script to create NetCDF file to store my time
series index

'set time jan'yr1' jan'yrn
'set lon 0'
'set lat 0'
'set sdfwrite ../'fld'/'file'.nc'
'sdfwrite ssn'
 say 'SDF output is available in file : ../'fld'/'file'.nc'

 There is no error during the writting process, but it shows an error when I
attempted to open the same file using *sdfopen*.

'sdfopen ../'fld'/'file'.nc'
'q file'

The error message is as follows.

gadsdf: SDF file has no discernable X coordinate.
No Files Open

Anybody please sugest a way to solve my problem.

Thanking you in advance


Gibies George,CSIR-RF,
Climate and Global Modelling Division,
Indian Institute of Tropical Meteorology,
Dr. Homi Bhabha Road,
NCL (P. O.), Pashan,
Pune 411008, India.

http://sites.google.com/site/gibiesge/

Think about the environment. Please don't print this e-mail unless it is
necessary.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20100708/88cdde32/attachment-0003.html 


More information about the gradsusr mailing list