Changeset 18984 for issm/trunk-jpl/src/m/classes/SMBpdd.py
- Timestamp:
- 01/06/15 08:59:53 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/SMBpdd.py
r18970 r18984 114 114 md = checkfield(md,'fieldname','surfaceforcings.rlapslgm','>=',0,'numel',[1]) 115 115 116 if not (self.isdelta18o and self.ismungsm):116 if (self.isdelta18o==0 and self.ismungsm==0): 117 117 md = checkfield(md,'fieldname','surfaceforcings.monthlytemperatures','NaN',1) 118 118 md = checkfield(md,'fieldname','surfaceforcings.precipitation','NaN',1) … … 151 151 WriteData(fid,'object',self,'class','surfaceforcings','fieldname','rlapslgm','format','Double') 152 152 153 if not (self.isdelta18o and self.ismungsm):153 if (self.isdelta18o==0 and self.ismungsm==0): 154 154 WriteData(fid,'object',self,'class','surfaceforcings','fieldname','monthlytemperatures','format','DoubleMat','mattype',1) 155 155 WriteData(fid,'object',self,'class','surfaceforcings','fieldname','precipitation','format','DoubleMat','mattype',1,'scale',1./yts,'forcinglength',md.mesh.numberofvertices+1)
Note:
See TracChangeset
for help on using the changeset viewer.