- Timestamp:
- 13/02/07 14:04:07 (14 years ago)
- Location:
- TI02-CSML/trunk/csml
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TI02-CSML/trunk/csml/API/csmlutils.py
r2155 r2156 15 15 def fixLongitude(request, kwargs): 16 16 for key in request.keys(): 17 if type(kwargs[key]) is not tuple:18 continue19 elif key == 'longitude': #how do we test if it is longitude properly?20 for val in request[key]:21 if val < 0:22 pass23 else:24 if kwargs.has_key(key):17 if kwargs.has_key(key): 18 if type(kwargs[key]) is not tuple: 19 continue 20 elif key == 'longitude': #how do we test if it is longitude properly? 21 for val in request[key]: 22 if val < 0: 23 pass 24 else: 25 25 if kwargs[key][0] < 0: 26 26 kwargs[key]=(kwargs[key][0]+360,kwargs[key][1]) -
TI02-CSML/trunk/csml/DDC/obs/clim10subset.py
r2155 r2156 38 38 #define a selection (based on the domain) 39 39 subsetDictionary={} 40 subsetDictionary['time']=('1985-1-15T0:0:0.0')40 #subsetDictionary['time']=('1985-1-15T0:0:0.0') 41 41 subsetDictionary['latitude']=(12,88.85) 42 42 subsetDictionary['longitude']=(53.66, 55)
Note: See TracChangeset
for help on using the changeset viewer.