Changeset 25914 for issm/trunk-jpl/src/m/classes/SMBgemb.py
- Timestamp:
- 12/28/20 13:06:32 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/SMBgemb.py
r25419 r25914 192 192 193 193 #additional albedo parameters: 194 string = "%s\n%s" % (string, fielddisplay(self, 'aValue', 'Albedo forcing at every element.')) 194 195 if isinstance(self.aIdx, (list, type(np.array([1, 2])))) and (self.aIdx == [1, 2] or (1 in self.aIdx and 2 in self.aIdx)): 195 196 string = "%s\n%s" % (string, fielddisplay(self, 'aSnow', 'new snow albedo (0.64 - 0.89)')) 196 197 string = "%s\n%s" % (string, fielddisplay(self, 'aIce', 'albedo of ice (0.27-0.58)')) 197 elif self.aIdx == 0:198 string = "%s\n%s" % (string, fielddisplay(self, 'aValue', 'Albedo forcing at every element. Used only if aIdx == {0, 5}'))199 elif self.aIdx == 5:200 string = "%s\n%s" % (string, fielddisplay(self, 'aValue', 'Albedo forcing at every element. Used only if aIdx == {0, 5}'))201 198 elif self.aIdx == 3: 202 199 string = "%s\n%s" % (string, fielddisplay(self, 'cldFrac', 'average cloud amount'))
Note:
See TracChangeset
for help on using the changeset viewer.