Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export 1D NxData as CSV #1723

Open
loichuder opened this issue Dec 19, 2024 · 2 comments
Open

Export 1D NxData as CSV #1723

loichuder opened this issue Dec 19, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@loichuder
Copy link
Member

loichuder commented Dec 19, 2024

Is your feature request related to a problem?

Scientists at ESRF beamlines often need to provide their users with ASCII data instead of HDF5 because the user software does not read HDF5.

Most of the time, the ASCII file should contain pyFAI integration data (ex: /entry_0000/1_integration/results in https://h5web.panosc.eu/h5grove) : one column for radial values, one for intensity and an optional one for errors.

Such an export can be easily done with a Python script but one needs to know the path of the data to export first, which requires exploration of the HDF5 file with an external tool (H5Web, silx, ...).

H5Web could bridge the gap here by providing exploration of HDF5 files and an automatic export to CSV within a single application. It would also mean that downloading the file would not be mandatory to export the data, making it very useful in remote viewing situations like the ESRF data portal.

Requested solution or feature

Have an Export as CSV button for the NXSpectrum vis. It should not be that difficult given that we already have similar export capabilities for other vis.

Alternatives you've considered

  • Python script: requires prior knowledge of the data path and disk access to the file
  • Dedicated GUI for HDF5 exploration and export: requires new development and disk access to the file

Additional context

Specific instance of #1619.

Loosely related to #1639 that I never got around to do 😞

@loichuder loichuder added the enhancement New feature or request label Dec 19, 2024
@axelboc
Copy link
Contributor

axelboc commented Dec 19, 2024

Duplicate of #1619? Don't mind keeping both opened, though.

We also talked about the fact that the getExportURL API might need a bit of a rethink: #1063 (comment)

@loichuder
Copy link
Member Author

True, #1619 is almost the same... Forgot about it oops.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants