healpix_resample.UTMGrid#
- class healpix_resample.UTMGrid(crs, x, y)[source]#
A regular raster in a projected (typically UTM) CRS.
- crs#
Projected CRS of the grid.
- Type:
pyproj.CRS
- x#
Pixel-center eastings, shape
(nx,)(CRS units, metres for UTM), ascending.- Type:
- y#
Pixel-center northings, shape
(ny,). Descending (north-up, the usual raster convention) when built by from_bounds / from_cell_ids.- Type:
- __init__(crs, x, y)#
Methods
__init__(crs, x, y)from_bounds(crs, bounds, resolution)Grid covering
bounds = (xmin, ymin, xmax, ymax)(outer pixel edges) with square pixels of side resolution.from_cell_ids(cell_ids, level[, resolution, ...])Grid covering the bounding box of a set of HEALPix cells.
lonlat()WGS84 longitude / latitude of the pixel centers, each
(ny, nx)(degrees, longitude in [-180, 180]).padded(pad)Same grid extended by pad pixels on every side (needs a regularly spaced axis of at least two pixels to extrapolate).
Attributes