flaresimulations / synthesizer-grids

Scripts for generating synthesizer grids
https://flaresimulations.github.io/synthesizer/grids/grids.html
1 stars 1 forks source link

Simplify `GridFile` HDF5 modes #75

Closed WillJRoper closed 1 week ago

WillJRoper commented 1 week ago

The GridFile class gave too much flexibility that led to confusion in certain scripts based on the mode that was used when making a file. This PR simplifies things:

Additionally, there's no need to pass a units string explicitly when making a dataset since the units can be extracted from the incoming data.

Issue Type

Checklist

WillJRoper commented 1 week ago

Fixed