[Thread Prev][Thread Next][Index]

Re: [ferret_users] time axis starting with December



Hi Pratik,

Ferret always has a set of monthly and seasonal time axes defined, but in addition there are some specialized modulo-calendar time axes defined in these datasets. See

../../documentation/users-guide/Grids-Regions/GRIDS#Chapter4-Modulo_regridding

The datasets are,

clim_axes_gregorian.nc, clim_axes_julian.nc, clim_axes_noleap.nc

These define monthly climatologies, as well as seasonal climatologies centered on different months. So for the default Gregorian calendar, use clim_axes_gregorian.nc.



yes? use clim_axes_gregorian
*** NOTE: regarding /home/users/tmap/ferret/linux/fer_dsets/data/clim_axes_gregorian.nc ...
*** NOTE: GREGORIAN climatological axes defined

yes? ! Clean up by canceling this dataset. Axis definitions persist even when a dataset is closed.
yes? cancel data clim_axes_gregorian

yes? ! Show all the defined axes. The clim_axes_gregorian defines the _GRG ones
yes? show axis/all
name axis # pts start end
MONTH_IRREG TIME 12mi 16-JAN 12:00 15-DEC 17:49
MONTH_REG TIME 12mr 16-JAN 06:00 16-DEC 01:20
SEASONAL_REG TIME 4mr 15-FEB 15:43 15-NOV 14:05
MONTH_GREGORIAN TIME 12mi 16-JAN 12:00 15-DEC 17:49
MONTH_NOLEAP TIME 12mi 16-JAN 12:00 16-DEC 12:00
MONTH_360_DAY TIME 12mr 16-JAN 00:00 16-DEC 00:00
MONTH_ALL_LEAP TIME 12mi 16-JAN 12:00 16-DEC 12:00
MONTH_JULIAN TIME 12mi 16-JAN 12:00 15-DEC 18:00
ABSTRACT 99999999 r 1 1.E+08
EZ 20480 r 1 20480
MON_IRREG_GRG TIME 12mi 16-JAN 12:00 16-DEC 17:49
JFM_IRREG_GRG TIME 4mi 15-FEB 02:54 16-NOV 05:49
DJF_IRREG_GRG TIME 4mi 15-JAN 08:43 16-OCT 23:38
NDJ_IRREG_GRG TIME 4mi 17-DEC 05:49 16-SEP 11:38
MON_REG_GRG TIME 12mr 16-JAN 05:14 17-DEC 00:34
JFM_REG_GRG TIME 4mr 15-FEB 15:43 16-NOV 14:05
DJF_REG_GRG TIME 4mr 16-JAN 11:03 17-OCT 09:25
NDJ_REG_GRG TIME 4mr 17-DEC 00:34 16-SEP 22:56

yes? let monthave = temp[gt=djf_irreg_grg]
yes? list monthave
VARIABLE : TEMP[GT=DJF_IRREG_GRG]
FILENAME : coads_climatology.cdf
FILEPATH : /home/users/tmap/ferret/linux/fer_dsets/data/
SUBSET : 4 points (TIME)
LONGITUDE: 99E
LATITUDE : 1S
99E
40
15-JAN / 1: 28.56
16-APR / 2: 29.06
17-JUL / 3: 28.90
16-OCT / 4: 28.48



On 10/6/2019 10:12 PM, Pratik wrote:
Dear All

I'm plotting seasonalaverage SST. Here I have picked
traditionalseasons as DJF, MAM, JJA, SON.

!seasonal average

use coads_climatology

let temp = SST[x=100,y=0]

let monthav = temp[l=@sbx:3]

let season = monthav[l=1:10:3]

!4 seasonsDJF, MAM, JJA, SON

plot/col=0 temp

plot/step/ov season

go bar_chart3 poly/over season season

But here I'm missing values overDecember.I would like to define a time axis starting with December(Not with January).I tried regridding in time axis, But I couldn't get it.

Best Regards
Pratik

[Thread Prev][Thread Next][Index]