sup3r.utilities.stitching.get_domain_region
- get_domain_region(handles, domain_num)[source]
Get range for smaller domain
- Parameters:
handles (list) – List of xarray.Dataset objects for each domain
domain_num (int) – Domain number to get grid range for
- Returns:
lat_range (slice) – Slice corresponding to lat range of smaller domain within larger domain
lon_range (slice) – Slice corresponding to lon range of smaller domain within larger domain
min_lat (float) – Minimum lat for smaller domain
max_lat (float) – Maximum lat for smaller domain
min_lon (float) – Minimum lon for smaller domain
max_lon (float) – Maximum lon for smaller domain
n_lats (int) – Number of lats for smaller domain
n_lons (int) – Number of lons for smaller domain