File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
compass/landice/tests/uummannaq_disko Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 99 build_mali_mesh ,
1010 clean_up_after_interp ,
1111 interp_gridded2mali ,
12+ make_region_masks ,
1213)
1314from compass .model import make_graph_file
1415from compass .step import Step
@@ -41,6 +42,8 @@ def __init__(self, test_case):
4142 self .mesh_filename = 'UummannaqDisko.nc'
4243 self .add_output_file (filename = self .mesh_filename )
4344 self .add_output_file (filename = 'graph.info' )
45+ self .add_output_file (
46+ filename = f'{ self .mesh_filename [:- 3 ]} _regionMasks.nc' )
4447 self .add_input_file (
4548 filename = 'greenland_1km_2024_01_29.epsg3413.icesheetonly.nc' ,
4649 target = 'greenland_1km_2024_01_29.epsg3413.icesheetonly.nc' ,
@@ -121,6 +124,13 @@ def run(self):
121124 make_graph_file (mesh_filename = self .mesh_filename ,
122125 graph_filename = 'graph.info' )
123126
127+ mask_filename = f'{ self .mesh_filename [:- 3 ]} _regionMasks.nc'
128+ make_region_masks (self , self .mesh_filename , mask_filename ,
129+ self .cpus_per_task ,
130+ tags = ['UummannaqDisko' ],
131+ component = 'landice' ,
132+ all_tags = False )
133+
124134 # Do some final validation of the mesh
125135 ds = xr .open_dataset (self .mesh_filename )
126136 # Ensure basalHeatFlux is positive
You can’t perform that action at this time.
0 commit comments