Changeset 2202 in lmdz_wrf
- Timestamp:
- Oct 19, 2018, 3:51:10 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/nc_var_tools.py
r2201 r2202 26472 26472 if not onc.variables.has_key(varn): 26473 26473 print errormsg 26474 print ' ' +fname+ ": file '" + ncfile + "' does not y have variable '" +\26474 print ' ' +fname+ ": file '" + ncfile + "' does not have variable '" + \ 26475 26475 varn + "' !!" 26476 26476 ivarns = onc.variables.keys() … … 26504 26504 else: 26505 26505 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] 26506 26511 26507 26512 onc.close()
Note: See TracChangeset
for help on using the changeset viewer.