I had posted a problem in the previous mail, which was as below:
I have daily data in a netcdf file with time axis from 2000-2005, but I
want to get the monthly average from daily data and plot it. Anybody with some tips for me?
Now I tried to do that with the following coding in a .jnl file, but it gives the yearly average rather than monthly. Can anyone suggest me what changes should I need to make to get monthly average instead of yearly? I mainly don't understand the part : DAYS1900(X[i=2000:2003:1],1,1) ????? what are these 1s??
The .jnl file looks like; !---------------------------------------------------------------------------------------------------------------------------------------------- use COLUMBIA.nc DEFINE AXIS/EDGES/T0=1-jan-1900/UNITS=days tann2000_03 = DAYS1900(X[i=2000:2003:1],1,1)
set mode metafile
I have daily data in a netcdf file with time axis from 2000-2005, but I want to get the monthly average from daily data and plot it.
Anybody with some tips for me?