Changeset 24285


Ignore:
Timestamp:
10/28/19 19:55:36 (5 years ago)
Author:
jdquinn
Message:

BUG: Missing slr.hydro_rate field in Python version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/classes/slr.py

    r24213 r24285  
    6868        string = "%s\n%s" % (string, fielddisplay(self, 'ocean_area_scaling', 'correction for model representation of ocean area [default: No correction]'))
    6969        string = "%s\n%s" % (string, fielddisplay(self, 'steric_rate', 'rate of steric ocean expansion [mm / yr]'))
     70        string = "%s\n%s" % (string, fielddisplay(self, 'hydro_rate', 'rate of hydrological expansion [mm / yr]'))
    7071        string = "%s\n%s" % (string, fielddisplay(self, 'Ngia', 'rate of viscous (GIA) geoid expansion (in mm / yr)'))
    7172        string = "%s\n%s" % (string, fielddisplay(self, 'Ugia', 'rate of viscous (GIA) bedrock uplift (in mm / yr)'))
     
    110111        #steric:
    111112        self.steric_rate = 0
     113        self.hydro_rate = 0
    112114        #how many time steps we skip before we run SLR solver during transient
    113115        self.geodetic_run_frequency = 1
     
    144146        md = checkfield(md, 'fieldname', 'slr.geodetic_run_frequency', 'size', [1, 1], '>=', 1)
    145147        md = checkfield(md, 'fieldname', 'slr.steric_rate', 'NaN', 1, 'Inf', 1, 'size', [md.mesh.numberofvertices])
     148        md = checkfield(md, 'fieldname', 'slr.hydro_rate', 'NaN', 1, 'Inf', 1, 'size', [md.mesh.numberofvertices])
    146149        md = checkfield(md, 'fieldname', 'slr.degacc', 'size', [1, 1], '>=', 1e-10)
    147150        md = checkfield(md, 'fieldname', 'slr.requested_outputs', 'stringrow', 1)
Note: See TracChangeset for help on using the changeset viewer.