Skip to content

Commit

Permalink
correcting units in spice.py (#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamkerr committed Jan 17, 2024
1 parent 8e28224 commit 3acd8ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sunraster/instr/spice.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def _read_single_spice_l2_fits(
data=data,
wcs=wcs,
mask=np.isnan(data),
unit=u.adu,
unit=u.Unit(meta.get("BUNIT"), format="fits"),
meta=meta,
instrument_axes=("raster scan", "spectral", "slit", "slit step"),
)
Expand Down

0 comments on commit 3acd8ab

Please sign in to comment.