polaris.mesh.QuasiUniformSphericalMeshStep.build_cell_width_lat_lon
- QuasiUniformSphericalMeshStep.build_cell_width_lat_lon()[source]
A function for creating cell width array for this mesh on a regular latitude-longitude grid. The default method use constant resolution by setting the
cell_width
config option in the[spherical_mesh]
section. Subclasses should override this function if a more complex cell-width map is needed.- Returns:
cell_width (numpy.ndarray) – m x n array of cell width in km
lon (numpy.ndarray) – longitude in degrees (length n and between -180 and 180)
lat (numpy.ndarray) – longitude in degrees (length m and between -90 and 90)