[FEATURE] - Add option to ``cleanup`` to write away grids where cleaning happened

Đang mở
#1,976 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
12/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
data

Hướng nghiên cứu

The payload names no files; the starting point is the cleanup function in imod-python, whose docstring lists what it cleans. Read how it modifies grids in place, then settle the open questions in the issue: where output goes, whether the option is a function argument or global configuration, and what values to record. Done means maintainers have agreed on that design and a follow-up change is scoped, since the issue itself is not yet a code task.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement

Right now the cleanup is a magic function with a good docstring of what it is supposed to clean, but it cleans inplace and it doesn't do any keeping of values that have been changed. This makes it still opaque to users what is actually happening.

After a discussion with @emorway-usgs at the Delft Software Days, we discussed that it would be nice to have the option to let iMOD Python write away some grids/tables with the location of cells that have been changed.

Questions to refine:

  • Where should the data be stored? Or should this be user configurable?
  • Should there be a flag somewhere as an argument, or should it be a global configuration somewhere?
  • What values are we going to write away? Differences? An integer code with that indicates what has changed?
  • We should preserve package and variable names in some way
Ngôn ngữ chính
Python
Star
41
Fork
12
Merge trung bình
2 ngày 8 giờ
Pull request đã merge (30 ngày)
13

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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Deltares/imod-python

Tất cả issue của Deltares/imod-python

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.