Changeset 1734 in lmdz_wrf for trunk/tools/nc_var_tools.py
- Timestamp:
- Dec 16, 2017, 7:07:57 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/nc_var_tools.py
r1731 r1734 20747 20747 20748 20748 # checking 20749 if not gen.se rarchInlist(ncvars, varXpos):20749 if not gen.searchInlist(ncvars, varXpos): 20750 20750 print errormsg 20751 20751 print ' ' + fname + ": file '" + ncfile + "' does not have variable '" + \ … … 20753 20753 print ' available ones:', ncvars 20754 20754 quit(-1) 20755 if not gen.se rarchInlist(ncvars, varYpos):20755 if not gen.searchInlist(ncvars, varYpos): 20756 20756 print errormsg 20757 20757 print ' ' + fname + ": file '" + ncfile + "' does not have variable '" + \ … … 20765 20765 varns = variable.split(',') 20766 20766 for vn in varns: 20767 if not gen.se rarchInlist(ncvars, vn):20767 if not gen.searchInlist(ncvars, vn): 20768 20768 print errormsg 20769 20769 print ' ' + fname + ": file '" + ncfile + "' does not have " + \ … … 20804 20804 dimy = (Ymax - Ymin+ddy)/ddy 20805 20805 20806 print dir(Sci) 20806 20807 matindt, matXt, matYt = Sci.reconstruct_matrix(vectorxpos=xposv, vectorypos=yposv, \ 20807 20808 dvec=len(xposv), xmin=Xmin, xmax=Xmax, ymin=Ymin, ymax=Ymax, dmatx=dimx, \
Note: See TracChangeset
for help on using the changeset viewer.