Changeset 429 for trunk/UTIL/PYTHON/planetoplot.py
- Timestamp:
- Nov 30, 2011, 11:59:14 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/PYTHON/planetoplot.py
r428 r429 115 115 ### ... TYPEFILE 116 116 typefile = whatkindfile(nc) 117 if typefile in ['les']: 118 mapmode=0 119 winds=False 117 if typefile in ['mesoideal']: mapmode=0;winds=False 120 118 if firstfile: print "********** MAPMODE: ", mapmode 121 119 if firstfile: typefile0 = typefile … … 133 131 [lon2d,lat2d] = getcoorddef(nc) 134 132 ### ... PROJECTION 135 if ((proj == None) and (typefile not in [' les'])): proj = getproj(nc)133 if ((proj == None) and (typefile not in ['mesoideal'])): proj = getproj(nc) 136 134 137 135 ########################################################## … … 142 140 else: errormess("no time axis found.") 143 141 vert = nc.variables["altitude"][:] 144 elif typefile in ['meso','mesoapi','geo',' les']:142 elif typefile in ['meso','mesoapi','geo','mesoideal']: 145 143 if vlon is not None or vlat is not None: indices = bidimfind(lon2d,lat2d,vlon,vlat) ; print '********** INDICES: ', indices 146 144 if slon is not None: slon[0][0] = indices[0] ; slon[0][1] = indices[0]
Note: See TracChangeset
for help on using the changeset viewer.