- Timestamp:
- Mar 14, 2012, 12:11:16 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/PYTHON/planetoplot.py
r580 r582 99 99 ### we initialize a few variables 100 100 initime=-1 ; sslon = None ; sslat = None 101 if slon is not None: sslon = np.zeros([1,2]) 102 if slat is not None: sslat = np.zeros([1,2]) 101 103 k = 0 ; firstfile = True ; count = 0 102 104 ### we avoid specific cases not yet implemented … … 200 202 ###### principle: calculate correct indices then repopulate slon and slat 201 203 if slon is not None or slat is not None: 202 if slon is not None: sslon = np.zeros([1,2])203 if slat is not None: sslat = np.zeros([1,2])204 205 204 if firstfile and save == 'png' and typefile == 'meso' and "HGT" in varinfile: iwantawhereplot = nc #show a topo map with a cross on the chosen point 206 205 else: iwantawhereplot = None #do not show anything, just select indices
Note: See TracChangeset
for help on using the changeset viewer.