You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""Get rate of change of sea surface elevation, per timestep."""
returnself.SLR
@sea_surface_elevation_change.setter
defsea_surface_elevation_change(self, new_SLR):
self.SLR=new_SLR
@property
defbedload_fraction(self):
"""Get bedload fraction."""
returnself.f_bedload
@bedload_fraction.setter
defbedload_fraction(self, new_u0):
self.f_bedload=new_u0
@property
definflux_sediment_concentration(self):
"""Get influx sediment concentration."""
returnself.C0_percent
@influx_sediment_concentration.setter
definflux_sediment_concentration(self, new_u0):
self.C0_percent=new_u0
self.create_other_variables()
self.init_sediment_routers()
@property
defsea_surface_elevation(self):
"""Get stage."""
returnself.stage
@property
defwater_depth(self):
"""Get depth."""
returnself.depth
@property
defbed_elevation(self):
"""Get bed elevation."""
returnself.eta
For example channel_width has a getter and setter. Does this need to be set in terms of N0 (number cells) or N0_meters (meters). Does this automatically reinitialize the necessary DeltaModel internals to actually make the change take effect? Need documentation and tests on these.
The public-facing model attributes need better docstrings and descriptions of units.
pyDeltaRCM/pyDeltaRCM/model.py
Lines 1083 to 1167 in ca323c6
For example
channel_width
has a getter and setter. Does this need to be set in terms ofN0
(number cells) orN0_meters
(meters). Does this automatically reinitialize the necessary DeltaModel internals to actually make the change take effect? Need documentation and tests on these.Relates to BMI_pyDeltaRCM.
The text was updated successfully, but these errors were encountered: