-
Notifications
You must be signed in to change notification settings - Fork 9
Description
Notebook to demonstrate the issue:
apply_neighborhood_changes_input.ipynb
Job Id:
j-2512050756554ef78c867a4fe563f8f7
Relevant logs below. Notice the mismatch in alignment between LayoutDefinition and Extent.
The overlap of 20m is propagated into load_collection.
Dry run extracted these source constraints: [(('load_collection', ('SENTINEL2_L2A', (('productType', (('eq', 'L2A'),)),), ('SCL',))), {'pixel_buffer': {'buffer_size': [20.0, 20.0]}, 'temporal_extent': ('2023-09-11', '2023-09-12'), 'spatial_extent': {'west': -15.224, 'south': 15.283, 'east': -14.91, 'north': 15.55, 'crs': 'EPSG:4326'}, 'bands': ['SCL'], 'properties': {'productType': {'process_graph': {'asc': {'process_id': 'eq', 'arguments': {'x': {'from_parameter': 'value'}, 'y': 'L2A'}, 'result': True}}}}})]
load_collection: Creating raster datacube for SENTINEL2_L2A with arguments {'temporal_extent': ('2023-09-11', '2023-09-12'), 'spatial_extent': {'west': -15.224, 'south': 15.283, 'east': -14.91, 'north': 15.55, 'crs': 'EPSG:4326'}, 'global_extent': {'west': 475750, 'south': 1689420, 'east': 509870, 'north': 1719380, 'crs': 'EPSG:32628'}, 'bands': ['SCL'], 'properties': {'productType': {'process_graph': {'asc': {'process_id': 'eq', 'arguments': {'x': {'from_parameter': 'value'}, 'y': 'L2A'}, 'result': True}}}}, 'aggregate_spatial_geometries': None, 'sar_backscatter': None, 'process_types': set(), 'custom_mask': {}, 'data_mask': None, 'target_crs': None, 'target_resolution': None, 'resample_method': 'near', 'pixel_buffer': [20.0, 20.0]}, environment: {'vault_token': None, 'sentinel_hub_client_alias': None, 'max_soft_errors_ratio': 0.1, 'dependencies': [], 'pyramid_levels': 'highest', 'require_bounds': True, 'correlation_id': 'j-2512050756554ef78c867a4fe563f8f7', 'user': User('24ee9b5c-5ea4-44a4-897f-e35767620387', None), 'openeo_api_version': '1.2'}
Loading Sentinel2 with params DataCubeParameters(128, {}, FloatingLayoutScheme, ByDay, None, None, NearestNeighbor, 20.0, 20.0) and bands IMG_DATA_Band_SCL_20m_Tile1_Data initial layout: LayoutDefinition(Extent(475750.0, 1688660.0, 510310.0, 1719380.0),CellSize(10.0,10.0),27x24 tiles,3456x3072 pixels)
Created cube for Sentinel2 with metadata TileLayerMetadata(uint8ud0,LayoutDefinition**(Extent(475750.0, 1688660.0, 510310.0, 1719380.0),CellSize(10.0,10.0),27x24 tiles,3456x3072 pixels),Extent(475750.2386122282, 1689429.4400737865, 509862.8326897532, 1719372.5034127221)**,EPSG:32628,KeyBounds(SpaceTimeKey(0,0,1694390400000),SpaceTimeKey(26,23,1694390400000))) and partitioner org.openeo.geotrelliscommon.package$ConfigurableSpaceTimePartitioner@18a5f478
save_result format GTIFF with bounds Extent(xmin=475950.2385042156, ymin=1689629.4400642859, xmax=509662.8327071897, ymax=1719172.5034225495) and options {'batch_mode': True, 'file_metadata': {'title': '', 'description': '', 'institution': 'Copernicus Data Space Ecosystem openEO API - 0.70.0a5.dev20251125+3116'}}
Gridbounds requires reprojection: GridBounds(0,26,113,124)
Write Geotiff per date Extent(475750.0, 1689560.0, 509950.0, 1719260.0), GridBounds(0,0,113,98), TileLayout(1,1,128,128)