Changeset 18869
- Timestamp:
- 11/26/14 17:52:21 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/contrib/netCDF/export_netCDF.py
r18867 r18869 172 172 subfields=dict.keys(md.results.__dict__[supfield].__getitem__(0).__dict__) 173 173 for field in subfields: 174 NCgroup.__setattr__('classtype', md.results.__dict__[supfield].__class__.__name__) 174 175 if str(field)!='errlog' and str(field)!='outlog' and str(field)!='SolutionType': 175 176 Var=md.results.__dict__[supfield].__getitem__(0).__dict__[field] … … 179 180 subfields=dict.keys(md.results.__dict__[supfield].__dict__) 180 181 for field in subfields: 182 NCgroup.__setattr__('classtype', md.results.__dict__[supfield].__class__.__name__) 181 183 if str(field)!='errlog' and str(field)!='outlog' and str(field)!='SolutionType': 182 184 # print 'Treating '+str(group)+'.'+str(supfield)+'.'+str(field) … … 189 191 for field in fields: 190 192 # print 'Treating ' +str(group)+'.'+str(field) 193 NCgroup.__setattr__('classtype', md.__dict__[group].__class__.__name__) 191 194 Var=md.__dict__[group].__dict__[field] 192 195 CreateVar(Var,False)
Note:
See TracChangeset
for help on using the changeset viewer.