I ran plot set 8 on variable T, NCEP obs, season ANN. I noticed that July was the coldest month in the Arctic, and the warmest in the Antarctic! After a bunch of messing around, I changed
month = cdutil.times.getMonthString(i)
in amwg8.py to
month = cdutil.times.getMonthString(i)[:3]
That fixed it.
Obviously, the bug isn't here; a string like "JANUARY" is a legitimate name for a month. Something somewhere assumes that a month or season name is three characters or less. Whatever it is, that function should be more flexible.
This is low priority because I have already worked around the problem.
I ran plot set 8 on variable T, NCEP obs, season ANN. I noticed that July was the coldest month in the Arctic, and the warmest in the Antarctic! After a bunch of messing around, I changed
month = cdutil.times.getMonthString(i)in amwg8.py to
month = cdutil.times.getMonthString(i)[:3]That fixed it.
Obviously, the bug isn't here; a string like "JANUARY" is a legitimate name for a month. Something somewhere assumes that a month or season name is three characters or less. Whatever it is, that function should be more flexible.
This is low priority because I have already worked around the problem.