Changeset 3741
- Timestamp:
- 03/04/08 12:08:59 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
nappy/trunk/nappy/cdms_utils/var_utils.py
r3482 r3741 28 28 """ 29 29 Compares two cdms variables to see if they are defined on identical 30 axes. Returns 1 if true, 0 if not.30 axes. Returns True or False. 31 31 """ 32 32 try: … … 34 34 ax1 = var1.getAxis(i) 35 35 ax2 = var2.getAxis(i) 36 if nappy.cdms_utils.axis_utils.areAxesIdentical(ax1, ax2) == True:37 return 036 if nappy.cdms_utils.axis_utils.areAxesIdentical(ax1, ax2) == False: 37 return False 38 38 except: 39 return 040 return 139 return False 40 return True 41 41 42 42
Note: See TracChangeset
for help on using the changeset viewer.