@@ -35,6 +35,9 @@ following features:
3535 and aggregation methods for downscaling.
3636* CF-compliant spatial referencing of datasets using a shared grid
3737 mapping variable ` spatial_ref ` .
38+ * Attach other CF-compliant metadata enhancements such as flag values and
39+ meanings for pixel quality information, such as the Sentinel-2
40+ scene classification (variable ` scl ` ).
3841
3942The analysis mode is currently implemented Sentinel-2 products only.
4043Support for Sentinel-1 and Sentinel-3 is coming soon.
@@ -45,6 +48,24 @@ delegates to the built-in `"zarr"` backend.
4548More information can be found in the
4649[ package documentation] ( https://eopf-sample-service.github.io/xarray-eopf ) .
4750
51+ ## Usage
52+
53+ The ` xarray-eopf ` package can be installed from PyPI (` pip install xarray-eopf ` )
54+ or conda-forge (` conda install -c conda-forge xarray-eopf ` ).
55+ Now you can open EOPF sample products using xarray by specifying the
56+ ` "eopf-zarr" ` backend in your Python code:
57+
58+ ``` python
59+
60+ import xarray as xr
61+
62+ s2_l2a_url = (
63+ " s3://e05ab01a9d56408d82ac32d69a5aae2a:202504-s02msil2a/15/products/cpm_v256/"
64+ " S2B_MSIL2A_20250415T142749_N0511_R139_T25WEV_20250415T181516.zarr"
65+ )
66+ s2_l2a_dataset = xr.open_dataset(s2_l2a_url, engine = " eopf-zarr" , resolution = 10 )
67+ ```
68+
4869## Development
4970
5071### Setting up a development environment
@@ -81,8 +102,6 @@ To run tests and generate a coverage report, use:
81102pytest --cov xarray_eopf --cov-report html tests
82103```
83104
84- ### Documentation
85-
86105### Setting up a documentation environment
87106
88107``` shell
0 commit comments