mpas_tools.mesh.creation.mesh_definition_tools.AtlanticPacificGrid

mpas_tools.mesh.creation.mesh_definition_tools.AtlanticPacificGrid(lat, lon, cellWidthInAtlantic, cellWidthInPacific)[source]

AtlanticPacificGrid: combine two cell width distributions using a tanh function.

Inputs:

lon - vector of length m, with entries between -180, 180, degrees lat - vector of length n, with entries between -90, 90, degrees cellWidthInAtlantic - vector of length n, cell width in Atlantic as a function of lon, km cellWidthInPacific - vector of length n, cell width in Pacific as a function of lon, km

Optional inputs:

Outputs:

cellWidthOut - m by n array, grid cell width on globe, km