Changeset 24286


Ignore:
Timestamp:
10/28/19 19:55:53 (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

    r24285 r24286  
    3535        self.ocean_area_scaling = 0
    3636        self.steric_rate = 0  #rate of ocean expansion from steric effects.
     37        self.hydro_rate = 0  #rate of steric expansion from hydrological effects.
    3738        self.geodetic_run_frequency = 1  #how many time steps we skip before we run the geodetic part of the solver during transient
    3839        self.geodetic = 0  #compute geodetic SLR? (in addition to steric?)
     
    198199        WriteData(fid, prefix, 'object', self, 'fieldname', 'geodetic_run_frequency', 'format', 'Integer')
    199200        WriteData(fid, prefix, 'object', self, 'fieldname', 'steric_rate', 'format', 'DoubleMat', 'mattype', 1, 'scale', 1e-3 / md.constants.yts)
     201        WriteData(fid, prefix, 'object', self, 'fieldname', 'hydro_rate', 'format', 'DoubleMat', 'mattype', 1, 'scale', 1e-3 / md.constants.yts)
    200202        WriteData(fid, prefix, 'object', self, 'fieldname', 'Ngia', 'format', 'DoubleMat', 'mattype', 1, 'scale', 1e-3 / md.constants.yts)
    201203        WriteData(fid, prefix, 'object', self, 'fieldname', 'Ugia', 'format', 'DoubleMat', 'mattype', 1, 'scale', 1e-3 / md.constants.yts)
Note: See TracChangeset for help on using the changeset viewer.