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

geographic CRS - Results from 'area' likely incorrect

Đang mở
#1,232 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
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
data

Hướng nghiên cứu

The warnings come from geopandas area, buffer, distance and length calls on geographic-CRS geometries at climada.util.lines_polys_handler (line 957), climada.hazard.tc_tracks (lines 644 and 647), and climada.hazard.centroids.centr (line 637); the test-side hit is climada.util.test.test_coordinates (line 1701). Start by reproducing with the test suite and confirming the warning text. Done means each call site either reprojects to a suitable projected CRS first or the warning is otherwise resolved, with the affected tests still passing.

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

Mô tả

warnings

UserWarning

Geometry is in a geographic CRS. Results from 'area' are likely incorrect. Use 'GeoSeries.to_crs()' to re-project geometries to a projected CRS before this operation.

Occurrence

  • climada.util.test.test_coordinates:1701

UserWarning

Geometry is in a geographic CRS. Results from 'buffer' are likely incorrect. Use 'GeoSeries.to_crs()' to re-project geometries to a projected CRS before this operation.

Occurrences

  • climada.hazard.tc_tracks:644
  • climada.hazard.tc_tracks:647
  • climada.hazard.test.test_tc_tracks:719

(3 times during tests)


UserWarning

Geometry is in a geographic CRS. Results from 'distance' are likely incorrect. Use 'GeoSeries.to_crs()' to re-project geometries to a projected CRS before this operation.

Occurrences

  • climada.hazard.centroids.centr:637

(4 times during tests)


UserWarning

Geometry is in a geographic CRS. Results from 'length' are likely incorrect. Use 'GeoSeries.to_crs()' to re-project geometries to a projected CRS before this operation.

Occurrences

  • climada.util.lines_polys_handler:957

(8 times during tests)

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ề Data Engineering

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.