Skip to content

Commit

Permalink
Fix typo in import that may have been breaking API docs
Browse files Browse the repository at this point in the history
Fix typo: "griddedd" -> "gridded". This could be the reason the CI
checks were failing mysteriously while building the docs.
  • Loading branch information
trhille committed Aug 15, 2024
1 parent 92a7b11 commit 21afbfd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions compass/landice/tests/greenland/mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
clean_up_after_interp,
interp_gridded2mali,
make_region_masks,
preprocess_griddedd_data,
preprocess_gridded_data,
)
from compass.model import make_graph_file
from compass.step import Step
Expand Down Expand Up @@ -86,7 +86,7 @@ def run(self):
# Preprocess the gridded GrIS source datasets to work
# with the rest of the workflow
logger.info('calling preprocess_gridded_data')
preprocessed_gridded_dataset = preprocess_griddedd_data(
preprocessed_gridded_dataset = preprocess_gridded_data(
self, source_gridded_dataset_1km, floodMask)

# Now build the base mesh and perform the standard interpolation
Expand Down Expand Up @@ -123,14 +123,14 @@ def run(self):
graph_filename='graph.info')

# create region masks
mask_filename = f'{mesh_name[:-3]}_ismip6_regionMasks.nc'
make_region_masks(self, mesh_name, mask_filename,
mask_filename = f'{self.mesh_filename[:-3]}_ismip6_regionMasks.nc'
make_region_masks(self, self.mesh_filename, mask_filename,
self.cpus_per_task,
tags=["Greenland", "ISMIP6", "Shelf"],
component='ocean')

mask_filename = f'{mesh_name[:-3]}_zwally_regionMasks.nc'
make_region_masks(self, mesh_name, mask_filename,
mask_filename = f'{self.mesh_filename[:-3]}_zwally_regionMasks.nc'
make_region_masks(self, self.mesh_filename, mask_filename,
self.cpus_per_task,
tags=['eastCentralGreenland',
'northEastGreenland',
Expand Down

0 comments on commit 21afbfd

Please sign in to comment.