compass.ocean.tests.global_ocean.mesh.mesh.MeshStep.build_cell_width_lat_lon¶
- abstract MeshStep.build_cell_width_lat_lon()[source]¶
A function for creating cell width array for this mesh on a regular latitude-longitude grid. Child classes need to override this function to return the expected data
- Returns
cellWidth (numpy.array) – m x n array of cell width in km
lon (numpy.array) – longitude in degrees (length n and between -180 and 180)
lat (numpy.array) – longitude in degrees (length m and between -90 and 90)