 Timestamp:
 17/01/08 12:29:21 (11 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

TI02CSML/trunk/csml/csmllibs/csmlextra.py
r3144 r3242 208 208 maxval=data[len(data)1] + halfcell 209 209 if axisname=='longitude': 210 #deal with the case where the grid point is 0, so the grid goes from x to +x 211 #note this only works if the grid is 0360 210 #deal with the case where the grid point is 0, so the grid goes from x to +x e.g. 0.5 to 359.5 212 211 if minval < 0: 213 if maxval  minval ==360.0:212 if maxval  minval > 359.0: 214 213 minval=0.0 215 214 maxval=360.0
Note: See TracChangeset
for help on using the changeset viewer.