landice¶
|
The collection of all test case for the MALI core |
Test Groups¶
antarctica¶
|
A test group for Antarctica test cases |
|
The default test case for the Antarctica test group simply creates the mesh and initial condition. |
|
A step for creating a mesh and initial condition for Antarctica test cases |
Run this step of the test case |
calving_dt_convergence¶
|
A test group for a series of test cases for assessing timestep convergence related to calving. |
A test case for running the same configuration with a series of values for config_adaptive_timestep_calvingCFL_fraction to check for convergence |
|
Test cases can override this method to perform validation of variables and timers |
|
|
A step for performing forward MALI runs as part of calving dt convergence test cases. |
Run this step of the test case |
circular_shelf¶
|
A test group for circular shelf test cases |
A test case for performing two MALI runs of a circular shelf setup, one with one core and one with four. |
|
This method is deprecated. |
|
|
A step for performing forward MALI runs as part of circular_shelf test cases. |
Run this step of the test case |
|
|
A step for creating a mesh and initial condition for circular_shelf test cases |
Run this step of the test case |
|
|
A step for visualizing the output from a circular_shelf test case |
Run this step of the test case |
|
|
Plot the output from a circular_shelf test case |
crane¶
|
A test group for Crane Glacier test cases. |
|
The high resolution test case for the crane test group simply creates the mesh and initial condition. |
This method is deprecated. |
|
|
A step for creating a mesh and initial condition for thwaites test cases |
Run this step of the test case |
dome¶
|
A test group for dome test cases |
A test case for performing two MALI runs of a dome setup, one with one core and one with four. |
|
This method is deprecated. |
|
|
A test case for performing two MALI runs of a dome setup, one full run and one run broken into two segments with a restart. |
This method is deprecated. |
|
|
The default test case for the dome test group simply creates the mesh and initial condition, then performs a short forward run on 4 cores. |
This method is deprecated. |
|
|
A step for performing forward MALI runs as part of dome test cases. |
Set up the test case in the work directory, including downloading any dependencies. |
|
Run this step of the test case |
|
|
A step for creating a mesh and initial condition for dome test cases |
Run this step of the test case |
|
|
A step for visualizing the output from a dome test case |
Run this step of the test case |
|
|
Plot the output from a dome test case |
enthalpy_benchmark¶
|
A test group for enthalpy benchmark test cases |
|
The Kleiner enthalpy benchmark test case A |
Modify the configuration options for this test case |
|
|
This method is deprecated. |
|
A step for visualizing the output from a dome test case |
Run this step of the test case |
|
|
The Kleiner enthalpy benchmark test case B |
Modify the configuration options for this test case |
|
|
This method is deprecated. |
|
A step for visualizing the output from a dome test case |
Run this step of the test case |
|
|
A step for performing forward MALI runs as part of dome test cases. |
Set up the test case in the work directory, including downloading any dependencies. |
|
Run this step of the test case |
|
|
A step for creating a mesh and initial condition for enthalpy benchmark test cases |
Run this step of the test case |
eismint2¶
|
A test group for eismint2 test cases |
A test case for performing two MALI runs of a EISMINT2 setup, one with one core and one with four. |
|
This method is deprecated. |
|
|
A test case for performing two MALI runs of an EISMINT2 setup, one full run and one run broken into two segments with a restart. |
This method is deprecated. |
|
A test case for performing the standard EISMINT2 experiments. |
|
This method is deprecated. |
|
A step for visualizing the output from a EISMINT2 test case |
|
Run this step of the test case |
|
Plot the output from an EISMINT2 experiment |
|
|
A step for performing forward MALI runs as part of eismint2 test cases. |
Set up the test case in the work directory, including downloading any dependencies. |
|
Run this step of the test case |
|
|
A step for creating a mesh and initial condition for EISMINT2 test cases |
Run this step of the test case |
ensemble_generator¶
|
A test group for generating ensembles of MALI simulations for uncertainty quantification or parameter sensitivity tests. |
|
A step for an ensemble manager. |
Sets up the ensemble manager |
|
Use the ensemble manager to manage and launch jobs for each run Each ensemble member is a step of the test case. |
|
|
A step for setting up a single ensemble member |
Set up this run by setting up a baseline run configuration and then modifying parameters for this ensemble member based on an externally provided unit parameter vector |
|
Run this member of the ensemble. |
|
|
A test case for performing an ensemble of simulations for uncertainty quantification studies. |
Configure a parameter ensemble of MALI simulations. |
|
|
A test case for performing an ensemble of simulations for uncertainty quantification studies. |
Configure a parameter ensemble of MALI simulations. |
greenland¶
|
A test group for Greenland test cases |
A test case for performing two MALI runs of the Greenland Ice Sheet setup, one with one core and one with eight. |
|
This method is deprecated. |
|
|
A test case for performing two MALI runs of the Greenland Ice Sheet setup, one full run and one run broken into two segments with a restart. |
This method is deprecated. |
|
|
The default test case for the Greenland test group simply downloads the mesh and initial condition, then performs a short forward run on 36 cores. |
This method is deprecated. |
|
|
A step for performing forward MALI runs as part of low-res 20km Greenland test cases. |
Set up the test case in the work directory, including downloading any dependencies. |
|
Run this step of the test case |
|
|
A step for creating a mesh and initial condition for greenland test cases |
Run this step of the test case |
|
|
The high resolution test case for the greenland test group simply creates the mesh and initial condition. |
This method is deprecated. |
humboldt¶
|
A test group for humboldt test cases |
|
The MeshGen test case for the humboldt test group simply creates the mesh and initial condition. |
This method is deprecated. |
|
|
A step for creating a mesh and initial condition for humboldt test cases |
Run this step of the test case |
|
|
A step for performing forward MALI runs as part of Humboldt test cases. |
Run this step of the test case |
|
|
A test case for performing two MALI runs of a humboldt setup, one with one core and one with four. |
Test cases can override this method to perform validation of variables and timers |
|
|
A test case for performing two MALI runs of a humboldt setup, one full run and one run broken into two segments with a restart. |
Test cases can override this method to perform validation of variables and timers |
hydro_radial¶
|
A test group for radially symmetric hydrology test cases |
|
A test case for performing two MALI runs of a radially symmetric hydrological setup, one with one core and one with three. |
This method is deprecated. |
|
|
A test case for performing two MALI runs of a radially symmetric hydrological setup, one full run and one run broken into two segments with a restart. |
This method is deprecated. |
|
|
A spin-up test case for the radially symmetric hydrological test group that creates the mesh and initial condition, then performs a long short forward run on 4 cores until a quasi-steady state is reached. |
This method is deprecated. |
|
This test case assesses the drift of the model away from an initial condition that is a quasi-exact solution. |
|
This method is deprecated. |
|
|
A step for performing forward MALI runs as part of radially symmetric |
Set up the test case in the work directory, including downloading any dependencies. |
|
Run this step of the test case |
|
|
A step for creating a mesh and initial condition for dome test cases |
Run this step of the test case |
|
|
A step for visualizing the output from a dome test case |
Run this step of the test case |
|
|
Plot the output from a hydro_radial test case |
ismip6_forcing¶
|
A test group for processing the ISMIP6 atmosphere, ocean and shelf-collapse forcing data |
|
A shared function for configuring options for all ismip6 forcing test cases |
|
Build a mapping file if it does not exist. |
Create a scripfile based on the lat/lon coordinates of a source dataset. |
|
|
A test case for processing the ISMIP6 atmosphere forcing data. |
Configures test case |
|
|
A step for processing the ISMIP6 surface mass balance data |
Set up this step of the test case |
|
Run this step of the test case |
|
|
Remap the input ismip6 smb forcing data onto mali mesh |
|
Rename variables in the remapped source input data to the ones that MALI uses. |
|
Apply the MALI base SMB to the ismip6 SMB anomaly field |
A step for processing the regional RACMO surface mass balance data |
|
Set up this step of the test case |
|
Run this step of the test case |
|
|
Remap the input ismip6 smb forcing data onto mali mesh |
|
Rename variables in the remapped source input data to the ones that MALI uses. |
|
Apply the MALI base SMB to the ismip6 SMB anomaly field |
|
A test case for processing the ISMIP6 ocean basalmelt param. |
Configures test case |
|
A step for processing (combine, remap and rename) the ISMIP6 basalmelt data |
|
Set up this step of the test case |
|
Run this step of the test case |
|
|
Combine ismip6 input files before regridding onto mali mesh |
|
Remap the input ismip6 basal melt data onto mali mesh |
|
Rename variables in the remapped ismip6 input data to the ones that MALI uses. |
|
A test case for processing the ISMIP6 ocean thermal forcing data. |
Configures test case |
|
|
A step for creating a mesh and initial condition for dome test cases |
|
Set up this step of the test case |
|
Run this step of the test case |
Remap the input ismip6 thermal forcing data onto mali mesh |
|
Rename variables in the remapped ismip6 input data to the ones that MALI uses. |
|
|
A test case for processing the ISMIP6 shelf-collapse mask data. |
Configures test case |
|
|
Set up this step of the test case |
|
Run this step of the test case |
|
Remap the input ismip6 ice shelf-collapse mask data onto mali mesh |
|
Rename variables in the remapped ismip6 input data to the ones that MALI uses. |
ismip6_run¶
|
A test group for automated setup of a suite of standardized ISMIP6 simulations |
|
A test case for automated setup of a suite of standardized simulations for ISMIP6-Projections2300-Antarctica See: https://www.climate-cryosphere.org/wiki/index.php?title=ISMIP6-Projections2300-Antarctica) # noqa |
Set up the desired ISMIP6 AIS 2300 experiments. |
|
A dummy run method |
|
A step for setting up an ISMIP6 experiment |
|
|
Set up the test case in the work directory, including downloading any dependencies. |
Run this step of the test case |
isunnguata_sermia¶
|
A test group for isunnguata_sermia test cases |
|
The MeshGen test case for the isunnguata_sermia test group simply creates the mesh and initial condition. |
This method is deprecated. |
|
|
A step for creating a mesh and initial condition for isunnguata sermia test cases |
Run this step of the test case |
kangerlussuaq¶
|
A test group for kangerlussuaq test cases |
|
The default test case for the Kangerlussuaq test group simply creates the mesh and initial condition. |
This method is deprecated. |
|
|
A step for creating a mesh and initial condition for kangerlussuaq test cases |
Run this step of the test case |
koge_bugt_s¶
|
A test group for koge_bugt_s test cases |
|
The default test case for the Koge_Bugt_S test group simply creates the mesh and initial condition. |
This method is deprecated. |
|
|
A step for creating a mesh and initial condition for koge_bugt_s test cases |
Run this step of the test case |
mesh_modifications¶
|
A test group for automating modifications to existing meshes |
A class for a test case that extracts a subdomain from a larger domain |
|
A step for extracting a regional domain from a larger domain |
mismipplus¶
|
A test group for MISMIP+ test cases. |
|
A test case for running a smoke test of the MISMIP+ configuration |
Test cases can override this method to perform validation of variables and timers |
|
|
Test case for creating the MISMIP+ mesh, initial conditions, input files, and runs a short segment of the spin up experiments |
Set up the directory structure, based on the requested resolution. |
|
|
A step for creating a mesh and initial condition for MISMIP+ test cases Experimental protocol described in: Asay-Davis, et al. 2016. |
Run this step of the test case |
|
|
Calculate the appropriate parameters for use by make_planar_hex_mesh from the desired nominal resolution (e.g. 8e3, 4e3, 2e3, 1e3...). |
|
Shift the origin so that the bed trough is centered about the Y-axis and the X-axis is shifted all the way to the left. |
|
A step for performing forward MALI runs as part of MISMIP+ test cases. |
Set the number of MPI tasks based on a tentative scaling of a the ncells_at_1km_res heuristic from the config file based on the desired resolution. |
|
Update resources at runtime from config options |
|
Run this step of the test case |
|
|
Computes ntasks and min_tasks based on mesh size (i.e. cell_count). |
|
Get the number of cells from an already generated mesh file. |
|
Approximate the number of cells based on the resolution ratio squared times the number of cells at 1km resolution. |
thwaites¶
|
A test group for low-res 4-14km Thwaites test cases. |
|
A test case for performing two MALI runs of the Thwaites setup, with two different core counts. |
This method is deprecated. |
|
|
A test case for performing two MALI runs of the Thwaites setup, one full run and one run broken into two segments with a restart. |
This method is deprecated. |
|
|
A step for performing forward MALI runs as part of Thwaites test cases. |
Set up the test case in the work directory, including downloading any dependencies. |
|
Run this step of the test case |
|
|
The high resolution test case for the thwaites test group simply creates the mesh and initial condition. |
This method is deprecated. |
|
|
A step for creating a mesh and initial condition for thwaites test cases |
Run this step of the test case |
Landice Framework¶
|
Function to extrapolate variable values into undefined regions |
|
Function to calculate mean thermal forcing across all floating ice in a domain. |
Copy BedMachine thickness to AIS reference gridded dataset. |
|
|
Perform some final clean up steps after interpolation |
|
Generic flood-fill routine to create mask of connected elements in the desired input array (field) from a gridded dataset. |
|
Interpolate gridded dataset (e.g. MEASURES, BedMachine) onto a MALI mesh. |
|
Flood-fill for mpas meshes using mpas cells. |
|
Perform adjustments to gridded AIS datasets needed for rest of compass workflow to utilize them |
Set node and edge coordinates to pass to |
|
|
Set cell widths based on settings in config file to pass to |
|
Calculate distance from each point to ice edge and grounding line, to be used in mesh density functions in |
|
Determine MPAS mesh cell size based on user-defined density function. |
|
Create the MALI mesh based on final cell widths determined by |
|
Create masks for ice-sheet subregions based on data in |