compass.ocean.tests.global_ocean.init.remap_ice_shelf_melt.remap_adusumilli

compass.ocean.tests.global_ocean.init.remap_ice_shelf_melt.remap_adusumilli(in_filename, base_mesh_filename, culled_mesh_filename, mesh_name, land_ice_mask_filename, out_filename, logger, mapping_directory='.', method='conserve', renormalization_threshold=None, mpi_tasks=1, parallel_executable=None, map_culled_to_base_filename=None)[source]

Remap the Adusumilli et al. (2020) melt rates at 0.5 km resolution to an MPAS mesh

Parameters:
  • in_filename (str) – The original Adusumilli et al. (2020) melt rates

  • base_mesh_filename (str) – The base MPAS mesh before land is culled

  • culled_mesh_filename (str) – The MPAS mesh after land has been culled

  • mesh_name (str) – The name of the mesh (e.g. oEC60to30wISC), used in the name of the mapping file

  • land_ice_mask_filename (str) – A file containing the variable landIceMask on the MPAS mesh

  • out_filename (str) – The melt rates interpolated to the MPAS mesh with ocean sensible heat fluxes added on (assuming insulating ice)

  • logger (logging.Logger) – A logger for output from the step

  • mapping_directory (str) – The directory where the mapping file should be stored (if it is to be computed) or where it already exists (if not)

  • method ({'bilinear', 'neareststod', 'conserve'}, optional) – The method of interpolation used, see documentation for ESMF_RegridWeightGen for details.

  • renormalization_threshold (float, optional) – The minimum weight of a destination cell after remapping, below which it is masked out, or None for no renormalization and masking.

  • mpi_tasks (int, optional) – The number of MPI tasks to use to compute the mapping file

  • parallel_executable ({'srun', 'mpirun'}, optional) – The name of the parallel executable to use to launch ESMF tools. But default, ‘mpirun’ from the conda environment is used

  • map_culled_to_base_filename (str, optional) – A file with indices that map from the culled to the base MPAS mesh. If not provided, they will be computed