Changeset 2202 in lmdz_wrf


Ignore:
Timestamp:
Oct 19, 2018, 3:51:10 PM (6 years ago)
Author:
lfita
Message:

Adding when change of sign occurs in same_deltasign

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/nc_var_tools.py

    r2201 r2202  
    2647226472        if not onc.variables.has_key(varn):
    2647326473            print errormsg
    26474             print '  ' +fname+ ": file '" + ncfile + "' does noty have variable '" + \
     26474            print '  ' +fname+ ": file '" + ncfile + "' does not have variable '" + \
    2647526475              varn + "' !!"
    2647626476            ivarns = onc.variables.keys()
     
    2650426504        else:
    2650526505            print '  *' + varn + ': -NOTsame- !!'
     26506            delt=delta0
     26507            for k in range(dim1-1):
     26508                if singdelta[k] != delt:
     26509                    print '    delta (', delta0, ') change at:', k, '=', slcvar[k],  \
     26510                      ',', slcvar[k+1], 'sign:', singdelta[k]
    2650626511
    2650726512    onc.close()
Note: See TracChangeset for help on using the changeset viewer.