Changeset 27196
- Timestamp:
- 08/05/22 11:26:40 (3 years ago)
- Location:
- issm/trunk-jpl
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified issm/trunk-jpl/src/m/classes/SMBgemb.m ¶
r26550 r27196 73 73 % 2: default value of 1, in areas with grain radius below teThresh and areas of dry snow (not bare ice or wet) at the surface 74 74 75 swIdx = NaN; % apply all SW to top grid cell (0) or allow SW to penetrate surface (1) (default 1, if aIdx=2function of effective radius (Brun et al., 1992) or else dependent on snow density (taken from Bassford, 2002))75 swIdx = NaN; %apply all SW to top grid cell (0) or allow SW to penetrate surface (1) (default 0, if swIdx=1 and aIdx=2, function of effective radius (Brun et al., 1992) or else dependent on snow density (taken from Bassford, 2002)) 76 76 77 77 denIdx = NaN; %densification model to use (default is 2): … … 236 236 end 237 237 238 fielddisplay(self,'swIdx','apply all SW to top grid cell (0) or allow SW to penetrate surface (1) [default 1, ifaIdx=2 function of effective radius (Brun et al., 1992) or else dependent on snow density (taken from Bassford, 2002)]');238 fielddisplay(self,'swIdx','apply all SW to top grid cell (0) or allow SW to penetrate surface (1) [default 0, if swIdx=1 and aIdx=2 function of effective radius (Brun et al., 1992) or else dependent on snow density (taken from Bassford, 2002)]'); 239 239 fielddisplay(self,'denIdx',{'densification model to use (default is 2):',... 240 240 '1 = emperical model of Herron and Langway (1980)',... … … 343 343 self.aIdx = 1; 344 344 self.eIdx = 1; 345 self.swIdx = 1;345 self.swIdx = 0; 346 346 self.denIdx = 2; 347 347 self.dsnowIdx = 1; -
TabularUnified issm/trunk-jpl/src/m/classes/SMBgemb.py ¶
r26550 r27196 80 80 # 2: default value of 1, in areas with grain radius below teThresh and areas of dry snow (not bare ice or wet) at the surface 81 81 82 self.swIdx = np.nan # apply all SW to top grid cell (0) or allow SW to penetrate surface (1) (default 1, if aIdx=2 function of effective radius (Brun et al., 1992) or else dependent on snow density (taken from Bassford, 2002))82 self.swIdx = np.nan # apply all SW to top grid cell (0) or allow SW to penetrate surface (1) (default 0, if swIdx=1 and aIdx=2, function of effective radius (Brun et al., 1992) or else dependent on snow density (taken from Bassford, 2002)) 83 83 84 84 self.denIdx = np.nan # densification model to use (default is 2): … … 238 238 s += '{}\n'.format(fielddisplay(self, 'K', 'time scale temperature coef. (7) [d]')) 239 239 240 s += '{}\n'.format(fielddisplay(self, 'swIdx', 'apply all SW to top grid cell (0) or allow SW to penetrate surface (1) [default 1, ifaIdx=2 function of effective radius (Brun et al., 1992) or else dependent on snow density (taken from Bassford, 2002)]'))240 s += '{}\n'.format(fielddisplay(self, 'swIdx', 'apply all SW to top grid cell (0) or allow SW to penetrate surface (1) [default 0, if swIdx=1 and aIdx=2 function of effective radius (Brun et al., 1992) or else dependent on snow density (taken from Bassford, 2002)]')) 241 241 s += '{}\n'.format(fielddisplay(self, 'denIdx', ['densification model to use (default is 2):', 242 242 '1 = emperical model of Herron and Langway (1980)', … … 330 330 self.aIdx = 1 331 331 self.eIdx = 1 332 self.swIdx = 1332 self.swIdx = 0 333 333 self.denIdx = 2 334 334 self.dsnowIdx = 1 -
TabularUnified issm/trunk-jpl/test/NightlyRun/test243.m ¶
r26271 r27196 10 10 md.smb = SMBgemb(md.mesh,md.geometry); 11 11 md.smb.dsnowIdx = 1; 12 md.smb.swIdx = 1; 12 13 13 14 %load hourly surface forcing date from 1979 to 2009: -
TabularUnified issm/trunk-jpl/test/NightlyRun/test243.py ¶
r27167 r27196 21 21 md.smb = SMBgemb(md.mesh, md.geometry) 22 22 md.smb.dsnowIdx = 1 23 md.smb.swIdx = 1 23 24 24 25 #load hourly surface forcing date from 1979 to 2009: -
TabularUnified issm/trunk-jpl/test/NightlyRun/test244.m ¶
r26208 r27196 11 11 md.smb = SMBgemb(md.mesh,md.geometry); 12 12 md.smb.dsnowIdx = 0; 13 md.smb.swIdx = 1; 13 14 14 15 %load hourly surface forcing date from 1979 to 2009: -
TabularUnified issm/trunk-jpl/test/NightlyRun/test244.py ¶
r26208 r27196 30 30 md.smb = SMBgemb(md.mesh, md.geometry) 31 31 md.smb.dsnowIdx = 0 32 md.smb.swIdx = 1 32 33 33 34 #load hourly surface forcing date from 1979 to 2009: -
TabularUnified issm/trunk-jpl/test/NightlyRun/test252.m ¶
r26208 r27196 10 10 md.smb = SMBgemb(md.mesh,md.geometry); 11 11 md.smb.dsnowIdx = 4; 12 md.smb.swIdx = 1; 12 13 13 14 %load hourly surface forcing date from 1979 to 2009: -
TabularUnified issm/trunk-jpl/test/NightlyRun/test252.py ¶
r27167 r27196 23 23 md.smb = SMBgemb(md.mesh, md.geometry) 24 24 md.smb.dsnowIdx = 4 25 md.smb.swIdx = 1 25 26 26 27 #load hourly surface forcing date from 1979 to 2009:
Note:
See TracChangeset
for help on using the changeset viewer.