Changeset 1201 for trunk


Ignore:
Timestamp:
Mar 5, 2014, 11:50:54 PM (11 years ago)
Author:
aslmd
Message:

planetoplot. fix a bug introduced with getfd stuff.

File:
1 edited

Legend:

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

    r1192 r1201  
    214214        self.f = None
    215215        self.l = None
    216         self.x = None
    217         self.y = None
    218         self.z = None
    219         self.t = None
     216        self.xx = None
     217        self.yy = None
     218        self.zz = None
     219        self.tt = None
    220220        ## what could be defined by the user
    221221        self.file = file
     
    682682        self.f = [ [] for iii in range(self.nrequest) ]
    683683        self.l = [ [] for iii in range(self.nrequest) ]
    684         self.x = [ [] for iii in range(self.nrequest) ]
    685         self.y = [ [] for iii in range(self.nrequest) ]
    686         self.z = [ [] for iii in range(self.nrequest) ]
    687         self.t = [ [] for iii in range(self.nrequest) ]
     684        self.xx = [ [] for iii in range(self.nrequest) ]
     685        self.yy = [ [] for iii in range(self.nrequest) ]
     686        self.zz = [ [] for iii in range(self.nrequest) ]
     687        self.tt = [ [] for iii in range(self.nrequest) ]
    688688        count = 0
    689689        ## first get fields
     
    702702              # save fields in self.f for the user
    703703              self.f[count] = obj.field
    704               self.x[count] = obj.field_x
    705               self.y[count] = obj.field_y
    706               self.z[count] = obj.field_z
    707               self.t[count] = obj.field_t
     704              self.xx[count] = obj.field_x
     705              self.yy[count] = obj.field_y
     706              self.zz[count] = obj.field_z
     707              self.tt[count] = obj.field_t
    708708              # save a legend in self.l for the user
    709709              self.l[count] = "_"
     
    720720        if self.nrequest == 1:
    721721            self.f = self.f[0]
    722             self.x = self.x[0]
    723             self.y = self.y[0]
    724             self.z = self.z[0]
    725             self.t = self.t[0]
     722            self.xx = self.xx[0]
     723            self.yy = self.yy[0]
     724            self.zz = self.zz[0]
     725            self.tt = self.tt[0]
    726726        # change status
    727727        self.status = "retrieved"
     
    754754        self.quiet = True
    755755        self.get()
    756         return self.f,self.x,self.y,self.z,self.t
     756        return self.f,self.xx,self.yy,self.zz,self.tt
    757757
    758758    ############################################################
Note: See TracChangeset for help on using the changeset viewer.