mpas_tools.mesh.creation.mesh_definition_tools.RRS_CellWidthVsLat

mpas_tools.mesh.creation.mesh_definition_tools.RRS_CellWidthVsLat(lat, cellWidthEq, cellWidthPole)[source]

RRS_CellWidthVsLat - Create Rossby Radius Scaling as a function of lat. This is inted as part of the workflow to make an MPAS global mesh.

Syntax: cellWidthOut = RRS_CellWidthVsLat(lat, cellWidthEq, cellWidthPole)

Inputs:

lat - vector of length n, with entries between -90 and 90, degrees cellWidthEq - Cell width at the equator, km cellWidthPole - Cell width at the poles, km

Outputs:

RRS_CellWidth - vector of length n, entries are cell width as a function of lat

Example

RRS18to6 = RRS_CellWidthVsLat(lat,18,6)