Hello, The stride syntax that you're using should be given with the
index L not the time-coordinate T, so all of the January data is pr[L=1:480:12] A stride using T= is acting on the underlying time units of the
time axis, which is a monthly axis but with units of days. So that
means that [T=1:480:12] is asking for data at every 12th day for
the first 480 days. The clue that I noticed was the time label at
the top of your second plot, where it's reporting that the plot
used data from the range 7-jan-1969 to 2-May 1970 . With that change, I think the plots agree pretty well, and of
course @MOD is simplest to use. The @MOD regridding will work with any time axis whether it
starts out as a monthly series or not, so if you started with
daily data, it gathers all of the January data for each year,
taking into account the calendar's definition of months, and
returns the climatological average; and so on for each month. It'd
also handle partial grid cells, so if the source data somehow
timesteps which don't fall exactly within the climatological
grid-cell definitions, it takes the correct portions of grid cells
to contribute to each monthly result. Ansley
On 9/27/2018 10:37 AM, Xiaoyu Bai
wrote:
|