Skip to content

Commit

Permalink
Use correct dtype for fits images (without BSCALE/BZERO)
Browse files Browse the repository at this point in the history
  • Loading branch information
bamford committed Nov 29, 2024
1 parent 6946271 commit 491a52a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kerchunk/fits.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def process_file(
)
]
else:
kwargs["filters"] = None
kwargs["filters"] = [numcodecs.AsType(dtype)]
elif isinstance(hdu, fits.hdu.table.TableHDU):
# ascii table
spans = hdu.columns._spans
Expand Down

0 comments on commit 491a52a

Please sign in to comment.