Changeset 18927
- Timestamp:
- 12/04/14 09:25:44 (10 years ago)
- Location:
- issm/trunk-jpl/src/m/contrib/netCDF
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/contrib/netCDF/export_netCDF.py
r18869 r18927 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 NCgroup.__setattr__('classtype', "results") 175 175 if str(field)!='errlog' and str(field)!='outlog' and str(field)!='SolutionType': 176 176 Var=md.results.__dict__[supfield].__getitem__(0).__dict__[field] … … 180 180 subfields=dict.keys(md.results.__dict__[supfield].__dict__) 181 181 for field in subfields: 182 NCgroup.__setattr__('classtype', md.results.__dict__[supfield].__class__.__name__)182 NCgroup.__setattr__('classtype', "results") 183 183 if str(field)!='errlog' and str(field)!='outlog' and str(field)!='SolutionType': 184 184 # print 'Treating '+str(group)+'.'+str(supfield)+'.'+str(field)
Note:
See TracChangeset
for help on using the changeset viewer.