Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
full averaging weirdness #757
I’m trying to produce a spatial average over a region of a variable, after doing a temporal average.
This works for almost all of the regions defined in the NCAR scripts.
However, one region in particular (Antarctica) makes cdutil.averager barf.
f = cdms2.open('/Users/bs1/data/co2-2yr.xml')
However, this works ok:
Other regions similar to Antarctica work ok (e.g. all of the Southern Hemisphere - -90, 0 to -180, 180.). Also, things that go negative to negative (e.g. Australia at -30, -20, 110, 145) work fine.
Thoughts? Am I doing something incorrect and getting lucky for the rest of the regions or is there something special about this one?