rosh_me91@gmail_com
Member
HI all,I have a question regarding the time axis created in the monthly output history files. The first time point is set to 1st february. Eg. if my run start at year 1940, first monthly output history file will show the time axis as:>>>f = cdms2.open('test.cam.h0.1940-01.nc')
>>> ts = f('TS')
>>> ts.getTime()
id: time
Designated a time axis.
units: days since 1940-01-01 00:00:00
Length: 1
First: 31.0
Last: 31.0
Other axis attributes:
long_name: time
calendar: noleap
axis: T
Python id: 0x1a96890and time bounds are given as [0. , 31.]If 0 is suppose to be the first time point and 31 the last , then monthly average output history file will be from 1940-1-1 to 1940-2-1 i.e 1st january to 1st february. 1) Is the model calculating mean of january by including 1st february time point as the bounds reads 31 as the las time point? 2) To set the time value to the correct time (instead of Feb-1, say Jan15 or Jan 16), what should be the correct time bounds that shuld be used?i.e time_bounds = [0. ,30.] or time_bounds = [1., 31.] Im not sure if I am understanding the time bounds correctly. Please let me knowThanks in advance!
>>> ts = f('TS')
>>> ts.getTime()
id: time
Designated a time axis.
units: days since 1940-01-01 00:00:00
Length: 1
First: 31.0
Last: 31.0
Other axis attributes:
long_name: time
calendar: noleap
axis: T
Python id: 0x1a96890and time bounds are given as [0. , 31.]If 0 is suppose to be the first time point and 31 the last , then monthly average output history file will be from 1940-1-1 to 1940-2-1 i.e 1st january to 1st february. 1) Is the model calculating mean of january by including 1st february time point as the bounds reads 31 as the las time point? 2) To set the time value to the correct time (instead of Feb-1, say Jan15 or Jan 16), what should be the correct time bounds that shuld be used?i.e time_bounds = [0. ,30.] or time_bounds = [1., 31.] Im not sure if I am understanding the time bounds correctly. Please let me knowThanks in advance!