Skip to content

Commit bf7756c

Browse files
authored
Merge pull request #146 from giordano/fits-format
Add FITS format
2 parents 1285fc8 + 9683ed1 commit bf7756c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/registry.jl

+6
Original file line numberDiff line numberDiff line change
@@ -231,4 +231,10 @@ add_format(format"STL_BINARY", detect_stlbinary, [".stl", ".STL"], [:MeshIO])
231231

232232
add_format(format"ABAQUS_INP", (), [".inp"], [:MeshIO])
233233

234+
235+
add_format(format"FITS",
236+
# See https://www.loc.gov/preservation/digital/formats/fdd/fdd000317.shtml#sign
237+
[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],
238+
[".fit", ".fits", ".fts", ".FIT", ".FITS", ".FTS"], [:FITSIO])
239+
234240
add_format(format"RawArray", [0x61,0x72,0x61,0x77,0x72,0x72,0x79,0x61], ".ra", [:RawArray])

0 commit comments

Comments
 (0)