Process image 🖼️
🔍 query_computePixels_image
- Description: Similar to
query_getPixels_image
, but uses a GEE image expression (ee.Image
) for more complex queries. - Arguments: Adds
expression
to specify the GEE image expression. - Returns:
pd.DataFrame
with metadata required to download processed images.
table = fastcubo.query_computePixels_image(
points=[(-76.5, -9.5), (-76.5, -10.5), (-77.5, -10.5)],
expression=ee.Image("NASA/NASADEM_HGT/001").divide(1000),
bands=["elevation"],
edge_size=128,
resolution=90
)
print(table)
lon | lat | x | y | epsg | collection | bands | edge_size | resolution | img_id | img_date | manifest | outname |
---|---|---|---|---|---|---|---|---|---|---|---|---|
51.079225 | 10.452173 | 508030.43405854504 | 1156048.1056529859 | EPSG:32639 | COPERNICUS/S2_HARMONIZED | B4, B3, B2 | 128 | 10 | COPERNICUS/S2_HARMONIZED/20160608T064632_20160608T070007_T39PVM | 2016-06-08 07:00:07 | {'assetId': 'COPERNICUS/S2_HARMONIZED/20160608T064632_20160608T070007_T39PVM', 'fileFormat': 'GEO_TIFF', 'bandIds': ['B4', 'B3', 'B2'], 'grid': {'dimensions': {'width': 128, 'height': 128}, 'affineTransform': {'scaleX': 10, 'shearX': 0, 'translateX': 508030.43405854504, 'shearY': 0, 'scaleY': -10, 'translateY': 1156048.1056529859}, 'crsCode': 'EPSG:32639'}} | 20160608T064632_20160608T070007_T39PVM.tif |
51.079225 | 10.452173 | 508030.43405854504 | 1156048.1056529859 | EPSG:32639 | COPERNICUS/S2_HARMONIZED | B4, B3, B2 | 128 | 10 | COPERNICUS/S2_HARMONIZED/20160608T064632_20160608T070007_T39PWM | 2016-06-08 07:00:07 | {'assetId': 'COPERNICUS/S2_HARMONIZED/20160608T064632_20160608T070007_T39PWM', 'fileFormat': 'GEO_TIFF', 'bandIds': ['B4', 'B3', 'B2'], 'grid': {'dimensions': {'width': 128, 'height': 128}, 'affineTransform': {'scaleX': 10, 'shearX': 0, 'translateX': 508030.43405854504, 'shearY': 0, 'scaleY': -10, 'translateY': 1156048.1056529859}, 'crsCode': 'EPSG:32639'}} | 20160608T064632_20160608T070007_T39PWM.tif |
51.079225 | 10.452173 | 508030.43405854504 | 1156048.1056529859 | EPSG:32639 | COPERNICUS/S2_HARMONIZED | B4, B3, B2 | 128 | 10 | COPERNICUS/S2_HARMONIZED/20160608T070007_20160608T103645_T39PVM | 2016-06-08 07:00:07 | {'assetId': 'COPERNICUS/S2_HARMONIZED/20160608T070007_20160608T103645_T39PVM', 'fileFormat': 'GEO_TIFF', 'bandIds': ['B4', 'B3', 'B2'], 'grid': {'dimensions': {'width': 128, 'height': 128}, 'affineTransform': {'scaleX': 10, 'shearX': 0, 'translateX': 508030.43405854504, 'shearY': 0, 'scaleY': -10, 'translateY': 1156048.1056529859}, 'crsCode': 'EPSG:32639'}} | 20160608T070007_20160608T103645_T39PVM.tif |