Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

rasterio 1.5 changed behavior

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

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

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
54/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
jupyter-notebook, python
Lĩnh vực
backend

Hướng nghiên cứu

Start with climada.util.coordinates.pts_to_raster_meta and the failing test climada.util.test.test_coordinates.TestRasterMeta.test_get_resolution_meters_pass; compare the bounds-to-transform behavior with rasterio 1.4 and 1.5. The issue reports an error of 620 meters with 1.5 versus 124 meters with 1.4; done means the test passes with the intended resolution behavior.

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

Mô tả

between rasterio 1.4 and 1.5 there are small differences when it comes to calculate an Affine.transformation from bounds - xmin, ymin, xmax, ymax - and resolution pair - res-x, res-y (climada.util.coordinates.pts_to_raster_meta).

at first glance rasterio seems to be a better match, as the test climada.util.test.test_coordinates.TestRasterMeta.test_get_resolution_meters_pass passes with rasterio 1.4 (124 meters off) and fails with 1.5 (620 meters off)

Ngôn ngữ chính
Jupyter Notebook
Star
478
Fork
166
Merge trung bình
1 ngày 20 giờ
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

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 CLIMADA-project/climada_python

Tất cả issue của CLIMADA-project/climada_python

Issue tương tự

Thêm issue về Backend & API Design

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.