polaris.mesh.base.add_spherical_base_mesh_step

polaris.mesh.base.add_spherical_base_mesh_step(prefix, min_res, max_res=None)[source]

Add a shared step for creating spherical base mesh with the given resolution to the mesh component (if one has not already been added)

Parameters:
  • prefix (str) – The prefix for the mesh type (e.g. ‘icos’, ‘qu’, ‘so’)

  • min_res (float) – The minimum resolution in km of the mesh

  • max_res (float, optional) – The maximum resolution in km of the mesh. If not provided, it will default to the minimum resolution.

Returns:

  • base_mesh (polaris.Step) – The base mesh step

  • res_str (str) – The resolution of the mesh as a string (e.g. ‘240km’ or ‘12to30km)