Skip to content

Commit 635eba6

Browse files
committed
Add FITS format
1 parent 1e07cf3 commit 635eba6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/registry.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,3 +205,8 @@ add_format(format"STL_ASCII", detect_stlascii, [".stl", ".STL"], [:MeshIO])
205205
add_format(format"STL_BINARY", detect_stlbinary, [".stl", ".STL"], [:MeshIO])
206206

207207
add_format(format"ABAQUS_INP", (), [".inp"], [:MeshIO])
208+
209+
add_format(format"FITS",
210+
# See https://www.loc.gov/preservation/digital/formats/fdd/fdd000317.shtml#sign
211+
[0x53,0x49,0x4d,0x50,0x4c,0x45,0x20,0x20,0x3d,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x54],
212+
[".fit", ".fits", ".fts", ".FIT", ".FITS", ".FTS"], [:FITSIO])

0 commit comments

Comments
 (0)