Export in the format of a technique (NXcanSAS, ORSO), in place of the generic HDF5 files

Đang mở
#176 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 1 ngày

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
32/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
backend, data

Hướng nghiên cứu

Read ess.apps.batch.export.export_table and write_outputs, which the issue identifies as the export path, then compare the current ess.apps.hdf5 output with the requested NXcanSAS and ORSO formats. Decide where writers live, how each output selects a writer, and what happens when none is available; the issue leaves these design questions open. Done means exports use the appropriate technique format and the workspace files are no longer misclassified as calibration.

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

Mô tả

essapps-batch export and ess.apps.batch.export.export_table (#174) write each output of a record as <key>/<output>.h5 in the format of the folder store (ess.apps.hdf5): scipp HDF5, with a group as a DataGroup of its fields. This is a placeholder. scipp.io.load_hdf5 reads the files, but no other SANS or reflectometry tool does.

Wanted: an output is exported in the format of its technique, such as NXcanSAS for I(Q) or ORSO for reflectivity.

Open questions:

  • Where does a writer live, and what selects it? Candidates: the output type (a writer per group class, provided by the instrument or technique package), or the spec.
  • Does export stay a step over the record column of the table, with the writer chosen per output? I think so: the table and the step need not change, only what write_outputs writes.
  • What does an output without a writer do: fall back to the generic file, or refuse?
  • The same writers would serve a later publish to SciCat, where a column of catalogue identifiers takes the place of the paths.

A side effect that goes away with this: files exported into the workspace folder are scipp HDF5, which LoKI's read_metadata lists as kind: calibration in a later essapps-batch files.

Ngôn ngữ chính
Python
Star
0
Fork
1
Merge trung bình
8 giờ 48 phút
Pull request đã merge (30 ngày)
70

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 scipp/essapps

Tất cả issue của scipp/essapps

Issue tương tự

Thêm issue về Python

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.