scipp / scippnexus

h5py-like utility for NeXus files with seamless scipp integration
https://scipp.github.io/scippnexus/
BSD 3-Clause "New" or "Revised" License
3 stars 3 forks source link

Document writing to files #104

Closed SimonHeybrock closed 3 weeks ago

SimonHeybrock commented 1 year ago

https://scipp.github.io/scippnexus/user-guide/application-definitions.html#Writing-files explains the "advanced" method, but we lacks docs for the pedestrian way.

jokasimr commented 3 weeks ago

What is the "pedestrian way"? Directly using h5py or something in-between?

SimonHeybrock commented 3 weeks ago

Group.__setitem__, create_field and create_class. It is probably best to look in the unit tests, there are many examples.

Note also #222 which I just discovered while looking for this.