xee.extract_grid_params
- xee.extract_grid_params(ee_obj)
Return native pixel grid parameters for an EE Image or ImageCollection.
For an ImageCollection, the first image’s first band’s grid definition is used. This matches Earth Engine’s internal representation and lets you “match source grid” without having to inspect projection metadata manually.
- Parameters:
ee_obj (Image | ImageCollection) –
ee.Imageoree.ImageCollectioninstance.- Returns:
PixelGridParamsmapping the native CRS, transform, and dimensions.- Raises:
TypeError – If
ee_objis not a supported EE type.- Return type: