Skip to content

global_setup

gnomonic_grid(grid_type, lon, lat, np)

Apply gnomonic grid to lon and lat arrays for all tiles. Tiles must then be rotated and mirrored to the correct orientations before use.

This global mesh generation is the way the Fortran code initializes the lon/lat grids and is reproduced here for testing purposes.

Parameters:

Name Type Description Default
grid_type int

type of grid to apply

required
lon

longitude array with dimensions [x, y]

required
lat

latitude array with dimensions [x, y]

required

global_gnomonic_ed(lon, lat, np)

global_mirror_grid(grid_global, ng, npx, npy, np, right_hand_grid)

Mirrors and rotates all tiles of a lon/lat grid to the correct orientation. The tiles must then be partitioned onto the appropriate ranks. This global mesh generation is the way the Fortran code initializes the lon/lat grids and is reproduced here for testing purposes.