Further decouple CubeMetadata from CollectionMetadata, and properly apply spatio-temporal filtering
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Start from how load_collection and load_stac attach metadata to a cube, and how CubeMetadata versus CollectionMetadata currently relate (including the inheritance CollectionMetadata(CubeMetadata)). Trace why cube.metadata still exposes full collection extents and bands in visualization while band_dimension already filters. Done means cubes get CubeMetadata as soon as possible so extents and default visualization match the loaded slice, without CollectionMetadata remaining sticky.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
supporting issue for #827 and related
PR #541 (for issue #464) introduced CubeMetadata as a less confusing alternative to CollectionMetadata, to focus on the concrete metadata of a cube, instead of overall metadata of a whole collection.
But we're not there yet: CollectionMetadata is still too sticky/dominant.
for example:
cube = connection.load_collection(
"SENTINEL2_L2A",
spatial_extent={"west": 3, "south": 51, "east": 3.1, "north": 51.1},
temporal_extent="2026-09",
bands=["B03"]
)
While cube is a tiny slice of the whole SENTINEL2_L2A data set, cube.metadata still point directly to SENTINEL2_L2A metadata, e.g. visualizing cube.metadata will show the full metadata of SENTINEL2_L2A: all bands, whole world, whole time converage.
e.g.
>>> cube.metadata.temporal_dimension.extent
['2015-06-27T10:25:31Z', None]
>>> cube.metadata.spatial_dimensions[0].extent
[-180, 180]
Band handling works better however: cube.metadata.band_dimension.band_names shows just the selected band ['B03'], but the default visualization of the whole metadata object will show all bands
Next steps: further decouple CubeMetadata and CollectionMetadata
- at least:
load_collectionandload_stacshould zone in onCubeMetadataas soon as possible, instead of confusingly still attachingCollectionMetadata - possible/necessary to eliminate the inheritance relation (
class CollectionMetadata(CubeMetadata))?
- Ngôn ngữ chính
- Python
- Star
- 219
- Fork
- 58
- Merge trung bình
- 2 ngày 19 giờ
- Pull request đã merge (30 ngày)
- 10
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Open-EO/openeo-python-client
-
JupyterLite supportĐang mởauth feature request
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
Open-EO/openeo-python-client#953 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Stop providing conda packages?Đang mởcollect feedback
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Open-EO/openeo-python-client#952 · 10 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
asset download: support file:local_path to determine target file nameCó thể đã có người làm @soxofaan đã nhận 48 ngày trước. Đang mởfeature request
Open-EO/openeo-python-client#902 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add split_points functionalityCó thể đã có người làm @HansVRP đã nhận 3 ngày trước. Đang mởjob manager
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
Open-EO/openeo-python-client#899 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
job manager
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
Open-EO/openeo-python-client#888 · 2 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của Open-EO/openeo-python-client
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
aws-samples/sample-per-model-bedrock#243 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
FuRongJun-1999/dsh-memory#404 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug frontend
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
PennyLaneAI/catalyst#3337 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Workflow.schedule stops when a cron deadline passes before sleepCó thể đã có người làm @HuaTNA đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày