Changeset 911 for trunk/UTIL/PYTHON/planetoplot_v2
- Timestamp:
- Mar 24, 2013, 6:46:08 PM (12 years ago)
- Location:
- trunk/UTIL/PYTHON/planetoplot_v2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/PYTHON/planetoplot_v2/ppclass.py
r910 r911 1020 1020 self.name_t = c 1021 1021 try: 1022 # speed up: only get first value, last one , and step.1022 # speed up: only get first value, last one. 1023 1023 dafirst = self.f.variables[self.name_t][0] 1024 1024 dalast = self.f.variables[self.name_t][self.dim_t-1] 1025 step = self.f.variables[self.name_t][1] - dafirst 1026 self.field_t = np.arange(dafirst,dalast,step) 1025 self.field_t = np.linspace(dafirst,dalast,num=self.dim_t) 1027 1026 if dafirst == dalast: self.field_t = np.array([dafirst]) 1028 1027 except: -
trunk/UTIL/PYTHON/planetoplot_v2/set_var.txt
r910 r911 54 54 DNUMBINTEMP ; %.0f ; gist_heat ; Temperature (K) 55 55 NNUMBINTEMP ; %.0f ; gist_heat ; Temperature (K) 56 OLR ; %.0f ; gist_heat ; Outgoing Longwave Radiation (W m$^{-2}$) 57 ASR ; %.0f ; gist_heat ; Absorbed Solar Radiation (W m$^{-2}$) 58 ISR ; %.0f ; gist_heat ; Incoming Solar Radiation (W m$^{-2}$)
Note: See TracChangeset
for help on using the changeset viewer.