-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
load_stac: optimize resolution #1043
Comments
STAC API https://stac.dataspace.copernicus.eu/v1 supports Projection Extension v2.0.0 (see its |
openeo_driver.testing.ApiException: Expected response with status code 200 but got 500. Error: {'code': 'Internal', 'id': 'r-25020620100349b0bc0ac2cb63f8a079', 'message': 'Server error: AttributeError("\'NoneType\' object has no attribute \'upper\'")'} #1043
Observations:
|
openeo_driver.testing.ApiException: Expected response with status code 200 but got 500. Error: {'code': 'Internal', 'id': 'r-2502121147414e02b4203a843e0e2db8', 'message': 'Server error: KeyError("Your key: load_stac_apply_lcfm_improvements was not in the whitelist [\'vault_token\', \'sentinel_hub_client_alias\', \'max_soft_errors_ratio\', \'dependencies\', \'pyramid_levels\', \'require_bounds\', \'correlation_id\', \'user\', \'allow_empty_cubes\', \'do_extent_check\', \'parameters\']. This error needs to be fixed in the backend.")'}
* support "proj:code" in addition to "proj:epsg" #1043 * handle optional "proj:code" openeo_driver.testing.ApiException: Expected response with status code 200 but got 500. Error: {'code': 'Internal', 'id': 'r-25020620100349b0bc0ac2cb63f8a079', 'message': 'Server error: AttributeError("\'NoneType\' object has no attribute \'upper\'")'} #1043 * test resolution #1043 * adapt test to resilient StacIO #1043 * use resolution and CRS from requested bands (opt-in) #1043 * test CRS #1043 * enable in catalog or from job_option #1043 * whitelist feature flag #1043 openeo_driver.testing.ApiException: Expected response with status code 200 but got 500. Error: {'code': 'Internal', 'id': 'r-2502121147414e02b4203a843e0e2db8', 'message': 'Server error: KeyError("Your key: load_stac_apply_lcfm_improvements was not in the whitelist [\'vault_token\', \'sentinel_hub_client_alias\', \'max_soft_errors_ratio\', \'dependencies\', \'pyramid_levels\', \'require_bounds\', \'correlation_id\', \'user\', \'allow_empty_cubes\', \'do_extent_check\', \'parameters\']. This error needs to be fixed in the backend.")'} * log usage of resolution improvement #1043 * fix combination of resolutions #1043 * address non-square pixels #1043 * improve/fix identifiers #1043 * adapt CHANGELOG #1043
Integration test
The result GeoTiff has a pixel size of almost but not quite 10m: (10.000000000026239,-9.999999999777119) |
Corresponding STAC API request ( What changed is that enabling the interpretation of They are respectively: [
399959.9999997376,
3899939.999915692,
500040.0000000008,
4000019.9999134773
] and [
10008,
10008
] Calculating the pixel size: (500040.0000000008 - 399959.9999997376) = 100080.00000026322 / 10008 = 10.0000000000263 A problem with the STAC API rather than |
The original process graph with what looks like properly aligned The quick fix for the integration test is probably to put |
j-25020610185143a6a705ec2701413e4e
by @filipsch only requests 60m bands but result has a 10m resolution.Process graph:
The text was updated successfully, but these errors were encountered: