Ignore:
Timestamp:
09/06/09 10:35:02 (11 years ago)
Author:
astephen
Message:

Replace print with logging

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nappy/trunk/nappy/cdms_utils/axis_utils.py

    r4700 r5368  
    3333    for axtype in ("time", "level", "latitude", "longitude"): 
    3434        if cdms.axisMatches(ax1, axtype) and not cdms.axisMatches(ax2, axtype): 
    35 #            print "AXTYPE:", axtype 
    3635            return False 
    3736 
     
    4342    if hasattr(ax1, "units") and hasattr(ax2, "units"): 
    4443        if ax1.units != ax2.units:  
    45 #            print ax1.units, ax2.units 
    4644            return False 
    4745     
     
    5048        # Check lengths and values 
    5149        if (len(ax1) != len(ax2)): 
    52 #            print len(ax1), len(ax2) 
    5350            return False 
    5451 
    5552        if ax1[:].tolist() != ax2[:].tolist():  
    56 #            print ax1[:10], ax2[:10] 
    5753            return False 
    5854 
Note: See TracChangeset for help on using the changeset viewer.