API review for version 4.0.0: thoughts, ideas, linked Issues, etc.
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
- 18/100
Hướng nghiên cứu
Đây là một đợt rà soát API trên phạm vi rộng thay vì một tác vụ triển khai có phạm vi cụ thể. Trước tiên, hãy đọc Python Array API Standard và các issue được liên kết #775, #772, #773, #277, #328, #38 và #135, sau đó rà soát các chủ đề được liệt kê cùng các cuộc thảo luận liên quan về API cf-python. Không có một tiêu chí hoàn thành duy nhất; các chủ đề có thể hành động cần được tách thành những issue tập trung với kết quả được xác định rõ.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
This Issue is to collate and register any comments (thoughts, ideas, tentative decisions, questions, etc.) including links to self-contained related Issues, regarding the cf-python API (and perhaps the API of cfdm too, also keeping cf-plot and it's eventual incorporation into cf-python in mind).
The context, for those unaware, is that we will be reviewing and revising the API for a forthcoming version 4.0.0, which we hope to release by the end of 2024. Anything anyone wants to register on the topic of the cf-python API is very welcome! Brain dumps are welcome, though we may want to move distinct topics to their own Issues and link them in, if themes emerge.
Useful references are:
- the Python Array API Standard, which we want to abide by unless there is good reason not to;
- the NumPy API which is of high relevance for our array-related operations;
- the Dask API ditto;
- the CF xarray API might be useful for background/comparison.
Please try to organise points/discussion as we go along into topics and themes, noting them below (ideally linking to comments and/or Issues). Anyone contributing to the thread feel free to edit/update this.
Topics and themes
- conforming to the Python Array API standard (see link above)
- deprecated objects:
- ensure all deprecation errors include stating replacements, else messages to indicate why there isn't one any longer (etc.) - should only be a small number of cases that don't abide by this already.
- views/representations of fields/datasets:
- including identical data in different formats, #775.
- truncation for long FieldLists, arrays, etc., #772.
- (methods for) conversion to/from other formats:
- xarray, #773
- availability of methods on given objects vs. module-level, #277
- level of support for NumPy-like operations (generalising sentiment in #328)
- more binary operations (now we are well-daskified), #38
- ensuring sets of related methods have full coverage, esp. pairs e.g. minima and maxima such as argmax and argmin (see https://github.com/NCAS-CMS/cf-python/issues/135)
- aliases e.g. for longer method names - when to use, what to use and how to document (including should we have a big table listing these?)
- simplifications in general - what can sensibly be streamlined?
- verbosity and logging (e.g. which methods deserve a
verbosekeyword)- getting all outputs managed under the logging umbrella, #286.
- Ngôn ngữ chính
- Python
- Star
- 151
- Fork
- 23
- Merge trung bình
- 21 giờ 29 phút
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọ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 NCAS-CMS/cf-python
-
Remove abandoned `cf.etc` directoryCó thể đã có người làm @sadielbartholomew đã nhận 26 ngày trước. Đang mởcode tidy
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
Attempt at unsupported conservative 3D mesh regriddingCó thể đã có người làm @sadielbartholomew đã nhận 24 ngày trước. Đang mởbug?
-
Release: migrate from deprecated build commandCó thể đã có người làm @sadielbartholomew đã nhận 26 ngày trước. Đang mởrelease
-
Remove support for Python 3.10 (EOL)Có thể đã có người làm @sadielbartholomew đã nhận 26 ngày trước. Đang mởenhancement
-
error from netCDF in cf.writeĐang mởbug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
Tất cả issue của NCAS-CMS/cf-python
Issue tương tự
-
enhancement P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Toloka/tolokaforge#1776 ·
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 88/100
TencentCloud/Octop#1622 ·
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 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
-
Rust: `const _` gets its file's node ID, so the file node is relabelled `_` and gains a self-loopĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Graphify-Labs/graphify#4064 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày