xoa.core.grid.create_rotated_grid

xoa.core.grid.create_rotated_grid#

xoa.core.grid.create_rotated_grid(nx, ny, pole_lon, pole_lat, rotation, lon_span, lat_span, mask=None)[source]#

Create a rotated grid (simplified rotated pole).

Parameters:#

nx, ny

Grid dimensions

pole_lon, pole_lat

Location of the rotated pole in degrees

rotation

Additional rotation angle in degrees

lon_span, lat_span

Span of the grid in rotated coordinates

returns:

dict – With the following keys: lon, lat, lon_bounds, lat_bounds, lon_edges, lat_edges