Pinned CMIP7 datasets fail to resolve when a newer version is published
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue nà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
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- python
- Lĩnh vực
- data-engineering
Hướng nghiên cứu
Start by reading CMIP7Request._pinned_facets and _select_pinned, then trace combine_results in intake_esgf/base.py and version selection in intake_esgf/catalog.py. Reproduce the case where A is pinned at v1 while A@v2 also exists; confirm whether the catalog drops A@v1. The issue says #995 leaves this behavior in place, so check that context before proposing a fix.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
A pinned CMIP7 request can fail to resolve a pinned dataset when a newer version of that dataset is also published.
CMIP7Request._pinned_facets asks ESGF for every pinned base_id at every pinned version in one search, with latest=[True, False]. If dataset A is pinned at v1 and dataset B is pinned at v2, and A also has a v2, the search returns both A@v1 and A@v2. ESGF returns both versions correctly.
intake-esgf then drops A@v1:
combine_results(intake_esgf/base.py) groups rows bymaster_id_facets(), which for CMIP7 is every facet exceptversion. This merges both versions into one row.ESGFCatalog.search(intake_esgf/catalog.py) keeps only the ids carrying the highest version in each row. This is there to reconcile indices that disagree on the latest version, and there is no option to turn it off.
_select_pinned then raises DatasetResolutionError saying ESGF "no longer resolves" A, which is misleading. Checked against intake-esgf 2026.9.28.
Possible fixes:
- Run one search per pinned version in
climate-ref. This needsfetch_datasetsto run several searches and concatenate the results. Two versions of the same dataset would still collide on intake-esgf'skey, which also excludesversion, but a test case catalog only records one version of each dataset. - Add an option upstream in intake-esgf to keep every version a search returns.
This is rare in practice, so #995 leaves it as is with a comment in _select_pinned.
- Ngôn ngữ chính
- Python
- Star
- 27
- Fork
- 14
- Merge trung bình
- 1 ngày 6 giờ
- Pull request đã merge (30 ngày)
- 62
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
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 Climate-REF/climate-ref
-
climate-ref-esmvaltools RegionalHistoricalTrend does not filter by source_idCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởbug ESMValTool
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Climate-REF/climate-ref#951 ·
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
Climate-REF/climate-ref#701 · 1 reaction ·
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 68/100
Climate-REF/climate-ref#442 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Climate-REF/climate-ref#991 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 58/100
Climate-REF/climate-ref#970 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của Climate-REF/climate-ref
Issue tương tự
-
Project submission:Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
slavakurilyak/awesome-ai-agents#845 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
tests: pin that the atomic writers in utils/paths.py stage the temporary file in the target's directoryCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởdifficulty:2 enhancement good first issue
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 92/100
MakazhanAlpamys/Soup#2178 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[BUG] dcg.waggr permutation p-values are folded twice, so near-zero scores get the smallest p-valuesĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
scverse/rapids-singlecell#854 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Slang input: int8_t4_packed and uint8_t4_packed are copied into CrossGLCó thể đã có người làm @ninglinLiu đã nhận hôm nay. Đang mởarea:frontend backend:slang bug direction:input
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày
-
random_elements(unique=True) on an OrderedDict: ZeroDivisionError once only zero weights remain, AssertionError with use_weighting=FalseCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 13 ngày