Changeset 1069 for trunk/UTIL


Ignore:
Timestamp:
Oct 14, 2013, 4:51:57 PM (11 years ago)
Author:
aslmd
Message:

planetoplot. finished correcting bugs with changetime=correctls

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UTIL/PYTHON/planetoplot_v2/ppclass.py

    r1068 r1069  
    14431443            ### options added by A. Spiga
    14441444            elif self.changetime == "correctls":
    1445                 dafirst = self.tabtime[0] + 0.
     1445              dafirst = self.tabtime[0] + 0.
     1446              if self.dim_t == 1:
     1447                self.field_t = np.array([dafirst])
     1448              else:
    14461449                daint = self.tabtime[1] - dafirst
    14471450                dalast = dafirst + (self.dim_t-1)*daint
Note: See TracChangeset for help on using the changeset viewer.