Hi, Always for the same European Project, I have to provide a
file with annual mean of variables (here the example of SST) form daily values. I use 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] D=1 is the file with the daily SST The result (attached file) shows unit of time axis as: 02-JUL-1998 02-JUL-1999 … 02-JUL-2008 02-JUL-2009 That is to say 12 values for 12 years. I would like “years” as the unit, like: 1998 1999 … 2008 2009 that is to say, no days and no months. If I use UNIT=years, it does not work, as DAYS1900 returns
the number of days since 01-JAN-1900. Do you know if there is a solution to change this with
Ferret? or nco? Thank you very much. _____________________________________________ Dr AZTI - Tecnalia / Marine research Division |
Attachment:
ROMS-SST-BISCAY-HC-TSeries.nc
Description: ROMS-SST-BISCAY-HC-TSeries.nc