[Thread Prev][Thread Next][Index]

[ferret_users] annual mean with a 360_day axis



Hi ferreters,

 

I would like to calculate the annual mean of the SST variable (example) simulated by ROMS, from daily values.

 

For a “Gregorian simulation”, I have used the following lines, found in the Ferret documentation:

 

DEFINE AXIS/EDGES/T0=01-jan-1900/UNITS=days years=DAYS1900(X[i=1998:2010:1],1,1)

save/append/file="ROMS-SST-BISCAY-HC-TSeries.nc" SST[d=1,X=-10:-0.5@ave,Y=42:49@ave,gt=years]

 

it works, and I change the name and unit of the time axis after.

 

I have to do the same but with a “360_day simulation” from 1980 to 2000.

I have used:

 

DEFINE AXIS/EDGES/T0=01-jan-1900/UNITS=days/calendar=360_day years=DAYS1900(X[i=1980:2001:1],1,1)

 

But it does not work as days1900 is a function using the Gregorian calendar.

The results show 21 points (= 21 years) on the time axis, from September 1981 to December 2001 (instead of July 1980 to July 2000). Moreover, the SST value decreases along the time (as if I test this with chla) while observing the daily values, the SST does not show any decreasing tendency (because of a gap I assume?).

 

Is there any other solution to calculate annual means form daily data, using a 360_day calendar?

 

Thanks a lot for the help.

_____________________________________________

Dr Marina Chifflet

AZTI - Tecnalia / Marine research Division
Herrera Kaia Portualde z/g
20110 Pasaia (Gipuzkoa) - Spain
Tel: 943 00 48 00 (ext. 890) - Fax: 946 572 555
e-mail:
mchifflet@xxxxxxxxxxx
www.azti.es ; www.tecnalia.info

 


[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement