Changeset 1077 for trunk/UTIL/PYTHON/mcd/mcd.py
- Timestamp:
- Oct 18, 2013, 6:33:56 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/PYTHON/mcd/mcd.py
r1075 r1077 133 133 94: "W-E wind component (m/s)", \ 134 134 95: "S-N wind component (m/s)", \ 135 96: "Horizontal wind speed (m/s)", \ 135 136 1: "Radial distance from planet center (m)",\ 136 137 2: "Altitude above areoid (Mars geoid) (m)",\ … … 246 247 elif num == "u": num = 94 247 248 elif num == "v": num = 95 249 elif num == "wind": num = 96 248 250 elif num == "tsurf": num = 15 249 251 elif num == "topo": num = 4 … … 379 381 self.extvar[90] = self.pres ; self.extvar[91] = self.dens 380 382 self.extvar[92] = self.temp ; self.extvar[93] = self.zonwind ; self.extvar[94] = self.merwind 383 self.extvar[95] = np.sqrt(self.extvar[93]**2 + self.extvar[94]**2) # calculate wind modulus 381 384 ## treat missing values 382 385 if self.temp == -999: self.extvar[:] = np.NaN ; self.meanvar[:] = np.NaN
Note: See TracChangeset
for help on using the changeset viewer.