[gradsusr] Time interval of ave function output.

Eric Altshuler ela at cola.iges.org
Mon Jun 21 14:01:55 EDT 2010


Hello Gibies George,

Try using fwrite to write out your seasonal mean index to a binary file. Then create a new ctl file for the binary data you have just created, which will be a time series of annual values.

Best regards,

Eric L. Altshuler
Assistant Research Scientist
Center for Ocean-Land-Atmosphere Studies
4041 Powder Mill Road, Suite 302
Calverton, MD 20705-3106
USA

E-mail: ela at cola.iges.org
Phone: (301) 902-1257
Fax: (301) 595-9793

----- Original Message -----
From: "gibies george" <gibiesgeorge at gmail.com>
To: "GrADS Users Forum" <gradsusr at gradsusr.org>
Sent: Monday, June 21, 2010 7:49:07 AM
Subject: [gradsusr] Time interval of ave function output.

Hello friends,

Can anybody suggest a way to redefine the time interval of a Grads data
variable ?

I need a seasonal mean index with annual time step. I am having daily
data.

I tried it once using ave() function but the output variable is having
daily time interval with the same value repeating 365 times and thereby
wasting RAM space.

Is there a solution for this problem?

-- 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.

_______________________________________________ gradsusr mailing list
gradsusr at gradsusr.org
http://gradsusr.org/mailman/listinfo/gradsusr



More information about the gradsusr mailing list