Closed bfhealy closed 9 months ago
@mcoughlin The astropy 6.0 error I mentioned on the SkyPortal call was connected to the dust-extinction
package, whose 1.3 release ~ an hour ago fixes the issue. (https://github.com/karllark/dust_extinction/issues/197)
@bfhealy nice!
This PR adds code that downsamples light curve grids in hdf5 format (e.g. the large collapsar grid that requires 10x downsampling/fragmentation to train on expanse). The
Grid
class containsdownsample
andfragment
methods that each allow optional shuffling before saving a resampled version of the grid to user-specified locations.