using month_to_season12

From: Jeff Van Dorn <vandorn_at_nyahnyahspammersnyahnyah>
Date: Thu, 4 May 2006 15:32:36 -0500

Hello,

I'm reading in a netcdf file and need to get some seasonal means, and
I'd like to use month_to_season12 to get all 12 seasonal means.

My initial data is a 30 year data set, as seen with printVarSummary:

Variable: tas_ts
Type: float
Total Size: 100800 bytes
             25200 values
Number of Dimensions: 3
Dimensions and sizes: [time | 360] x [lat | 7] x [lon | 10]
Coordinates:
             time: [715780.5..726699.5]
             lat: [37.67308807373047..54.41619873046875]
             lon: [281.25..306.5625]
Number Of Attributes: 12

And, I'd like to end up with 12 seasonal values, and each being
averaged over that 30 year period. So, for example, index zero of
the return of month_to_season12 (i.e., DJF) would be the 30 year
averaged DJF value, which I think is what month_to_season12 does.

However, after I do month_to_season12:

tasSeasons = month_to_season12( tas_ts )

I thought that tasSeasons would have only 12 time steps, each for one
of the 12 seasonal means; however, it still has 360:

Variable: tasSeasons
Type: float
Total Size: 100800 bytes
             25200 values
Number of Dimensions: 3
Dimensions and sizes: [time | 360] x [lat | 7] x [lon | 10]
Coordinates:
             time: [715780.5..726699.5]
             lat: [37.67308807373047..54.41619873046875]
             lon: [281.25..306.5625]
Number Of Attributes: 13
    season : <ARRAY>

It does seem to create the season attribute, which has a size of 12,
but I guess if that's my 12 seasonal values, I'm not quite sure how
to use that, as it doesn't seem to contain any coordinate info, and I
was hoping that it would be of size 12, lat, lon, which it's not.

So, am I interpreting or using month_to_season12 incorrectly, or by
chance is it not returning a properly sized variable?

Thanks for any help,
Jeff Van Dorn

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu May 04 2006 - 14:32:36 MDT

This archive was generated by hypermail 2.2.0 : Fri May 05 2006 - 10:00:50 MDT