[Bug] - MetaSwapModel dump loses PrecipitationMapping.meteo
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ó
- 3/5
- Thời gian dự kiến
- Nửa ngày
- Mức phù hợp với người mới
- 50/100
Hướng nghiên cứu
Start by reproducing the loss: build a MetaSwapModel, call its dump() method, reload it with from_file(), then inspect the reloaded PrecipitationMapping and the prec_mapping.nc file it wrote, which the report says is empty. Compare how the meteo reference is written and read back in the serialization path. Done means the reloaded PrecipitationMapping has its meteo attribute and the dump-and-reload round trip works without an AttributeError.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
When dumping and reloading a MetaSwapModel, the resulting PrecipitationMapping object has no meteo attribute:
AttributeError: 'PrecipitationMapping' object has no attribute 'meteo'
This occurs with MetaSwapModel.dump() followed by MetaSwapModel.from_file(). The original model works correctly before dumping.
The prec_mapping.nc file is empty, so the meteorological grid reference appears not to be preserved during serialization. The reloaded model should restore the meteo attribut
- Ngôn ngữ chính
- Python
- Star
- 41
- Fork
- 10
- Merge trung bình
- 2 ngày 23 giờ
- Pull request đã merge (30 ngày)
- 15
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không 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 Deltares/imod-python
-
bug Deltares
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Deltares/imod-python#1940 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Deltares enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Deltares/imod-python#1843 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
Deltares/imod-python#1684 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Update certifiCó thể đã có người làm @JoerivanEngelen đã nhận 3 ngày trước. Đang mở
Deltares/imod-python#1946 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Deltares enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
Deltares/imod-python#1927 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của Deltares/imod-python
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Arekkazu/sgpmp-backend#744 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Review backlog (security): master-branch remote guard trusts unbound provenance package fieldĐang mởagent/reviewer
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
projectbluefin/utah-packages#634 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue help wanted
Độ khó 2/5 1-2 ngày Mức phù hợp với người mới 78/100
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
home-assistant/core#188613 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
WebsiteĐang mởgood first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 91/100
TanbirRamim/open-source-radar#314 ·
Maintainer thường phản hồi trong vòng 1 ngày