- Timestamp:
- Mar 5, 2014, 11:50:54 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/PYTHON/planetoplot_v2/ppclass.py
r1192 r1201 214 214 self.f = None 215 215 self.l = None 216 self.x = None217 self.y = None218 self.z = None219 self.t = None216 self.xx = None 217 self.yy = None 218 self.zz = None 219 self.tt = None 220 220 ## what could be defined by the user 221 221 self.file = file … … 682 682 self.f = [ [] for iii in range(self.nrequest) ] 683 683 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) ] 688 688 count = 0 689 689 ## first get fields … … 702 702 # save fields in self.f for the user 703 703 self.f[count] = obj.field 704 self.x [count] = obj.field_x705 self.y [count] = obj.field_y706 self.z [count] = obj.field_z707 self.t [count] = obj.field_t704 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 708 708 # save a legend in self.l for the user 709 709 self.l[count] = "_" … … 720 720 if self.nrequest == 1: 721 721 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] 726 726 # change status 727 727 self.status = "retrieved" … … 754 754 self.quiet = True 755 755 self.get() 756 return self.f,self.x ,self.y,self.z,self.t756 return self.f,self.xx,self.yy,self.zz,self.tt 757 757 758 758 ############################################################
Note: See TracChangeset
for help on using the changeset viewer.