Skip to content

Commit

Permalink
Fix API doc parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewhoffman committed Apr 26, 2022
1 parent bcd29cf commit ecfafe4
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions compass/landice/tests/humboldt/run_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ def __init__(self, test_case, velo_solver, mesh_type,
velo_solver : {'sia', 'FO', 'none'}
The velocity solver setting to use for this test case
calving_law: {'none', 'floating', 'eigencalving',
'specified_calving_velocity', 'von_Mises_stress',
'damagecalving', 'ismip6_retreat'}, optional
calving_law: str, optional
The calving law setting to use for this test case. If not
specified, set to 'none'.
specified, set to 'none'. Valid values are: 'none',
'floating', 'eigencalving', 'specified_calving_velocity',
'von_Mises_stress', 'damagecalving', 'ismip6_retreat'
damage : str
The damage method used for the test case
Expand Down Expand Up @@ -118,13 +118,6 @@ def __init__(self, test_case, velo_solver, mesh_type,
super().__init__(test_case=test_case, name=name, subdir=subdir,
cores=cores, min_cores=min_cores, threads=threads)

# Commented code to make use of mesh generation step
# Note it will not include uReconstructX/Y or muFriction!
# self.add_input_file(filename='landice_grid.nc',
# target='../mesh/Humboldt_1to10km.nc')
# self.add_input_file(filename='graph.info',
# target='../mesh/graph.info')

# download and link one of the premade meshes and forcing files
if self.mesh_type == '1km':
self.mesh_file = 'Humboldt_1to10km_r04_20210615.nc'
Expand Down

0 comments on commit ecfafe4

Please sign in to comment.