libera_utils.footprint_matching.types.GridSamples#
- class libera_utils.footprint_matching.types.GridSamples(lat_axis: ndarray, lon_axis: ndarray, data: ndarray)#
Bases:
objectA reader’s native data on a regular latitude/longitude grid.
The native form of a gridded source (ERA5, VIIRS L3 products). The reader base class answers a bounding-box query by slicing the axes, so the array is never flattened to per-sample coordinates until a query selects a (small) region.
- Variables:
lat_axis (np.ndarray) – 1-D ascending latitudes of the rows, degrees.
lon_axis (np.ndarray) – 1-D ascending longitudes of the columns, degrees, in [-180, 180].
data (np.ndarray) –
(n_var, n_lat, n_lon)float32 values, NaN where the source has no value. Axis 0 follows the reader’sVARIABLESorder.