Skip to content

Conversation

@emmanuelmathot
Copy link
Contributor

Introduce the new data-pipeline for Sentinel-2 L2A data, including detailed asset information and metadata. Implement unit tests for the consolidation of reflectance assets, ensuring proper structure and validation. Improve test formatting and assertions for clarity and reliability.

- Introduced a new STAC item JSON file for Sentinel-2 L2A data.
- Included comprehensive asset details for surface reflectance at 10m, 20m, and 60m resolutions.
- Added metadata for aerosol optical thickness, scene classification, and true color image.
- Provided links to the product, zipped product, and consolidated metadata.
- Specified properties including timestamps, cloud cover, and processing details.
- Implemented a comprehensive test suite for the `consolidate_reflectance_assets` function.
- Added tests to verify the presence and structure of reflectance assets after consolidation.
- Ensured old-format assets are removed and new-format assets contain required fields such as `bands`, `cube:variables`, and `cube:dimensions`.
- Verified media type, href structure, and roles of the reflectance asset.
- Included checks for band names matching cube variables and ensured bands are sorted for consistency.
- Implement `convert_v1.py` for converting EOPF Zarr to GeoZarr format, including CLI support and logging.
- Introduce `register_v0.py` and `register_v1.py` for STAC item registration, enhancing asset management and adding projection metadata.
- Consolidate reflectance assets in `register_v1.py` to follow Multiscale reflectance group representation best practices.
- Add utility functions for rewriting asset URLs, adding visualization links, and managing derived links.
- Ensure compliance with ADR-111 by removing XArray-specific fields from assets.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants