client.export status should update on completion
Đá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
Hướng nghiên cứu
Bắt đầu với điểm vào client.export và tái hiện ví dụ trên máy chủ JSOC DRMS, sau đó kiểm tra cách yêu cầu export được trả về hiển thị r.status. Xác nhận phản hồi hoàn tất sau khi các tệp được đưa vào hàng đợi và xác minh rằng trạng thái chuyển thành 0, đồng thời các yêu cầu export lặp lại không còn thất bại vì yêu cầu vẫn đang chờ xử lý.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Here's the current behavior:
>>> import drms
>>> email = '[email protected]'
>>> client = drms.Client(email=email)
>>> hmi_query_string = 'hmi.sharp_cea_720s[377][2011.02.15_02:12:00_TAI]'
>>> r = client.export(hmi_query_string+'{Br}', protocol='fits', email=email)
export URL: http://jsoc.stanford.edu/cgi-bin/ajax/jsoc_fetch?op=exp_request&format=json&ds=hmi.sharp_cea_720s%5B377%5D%5B2011.02.15_02%3A12%3A00_TAI%5D%7BBr%7D¬ify=thomas.berger%40colorado.edu&method=url&protocol=fits&filenamefmt=hmi.sharp_cea_720s.%7BHARPNUM%7D.%7BT_REC%3AA%7D.%7Bsegment%7D&process%3Dn=0&requestor=thomas.berger&sizeratio=1.0
>>> r.status
2
>>> r.status
2
At this point, the export is finished and the files are queued for download (as determined from getting the email from JSOC). However note that r.status is not updated:
>>> r.status
2
Upon completion, r.status should be 0, not 2. I think this is preventing loops which attempt repeated export requests to fail after the first request since all subsequent requests throw an immediate error of {"status":7,"error":"User [email protected] has 1 pending export requests...}
- Ngôn ngữ chính
- Python
- Star
- 26
- Fork
- 25
- Merge trung bình
- 4 ngày 22 giờ
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- 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 sunpy/drms
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
-
Unskip Doc tests in #137Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 30/100
-
Add an example and documents about how to use the `aia_scale` option to export AIA lev1.5 data from JSOC through `drms`Có thể đã có người làm @ghanashyam03 đã nhận 11 ngày trước. Đang mởDocumentation Good First Issue Package Intermediate
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 57/100
-
Dynamic URLsĐang mởFeature Request
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
-
Example Gallery ImprovementsĐang mởFeature Request
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
Issue tương tự
-
Skill submission: negative-test-first (testing discipline; PR creation is collaborator-only)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
ComposioHQ/awesome-claude-skills#2398 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug converter
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
grafana/sigma-rule-deployment#435 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
datamodel-code-generator/datamodel-code-generator#5589 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Shell: serve the home app's Cookie Policy on a hard reloadCó thể đã có người làm @2001anshkaushik đã nhận hôm nay. Đang mởfeature module:ai
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
rocketride-org/rocketride-server#2899 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
GEFSv12
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100