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

type of `Dataset.dims` will be changed

Đang mở
#1,225 0 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 3 ngày

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

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
55/100
Loại issue
Tái cấu trúc
Độ 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 deprecation warning points at climada.hazard.xarray around line 293, where code reads Dataset.dims as a mapping of dimension names to lengths. Change those reads to Dataset.sizes, and check that the two warnings raised during the test suite disappear. Done when the affected code uses sizes and the tests run without the FutureWarning.

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

Mô tả

warnings

FutureWarning

The return type of Dataset.dims will be changed to return a set of dimension names in future, in order to be more consistent with DataArray.dims. To access a mapping from dimension names to lengths, please use Dataset.sizes.

Occurrences

  • climada.hazard.xarray:293

(2 times during tests)

Ngôn ngữ chính
Jupyter Notebook
Star
478
Fork
166
Merge trung bình
2 ngày 31 phút
Pull request đã merge (30 ngày)
4

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.