Skip to content

Commit

Permalink
Merge pull request #146 from giordano/fits-format
Browse files Browse the repository at this point in the history
Add FITS format
  • Loading branch information
SimonDanisch committed Aug 2, 2017
2 parents 1285fc8 + 9683ed1 commit bf7756c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/registry.jl
Original file line number Diff line number Diff line change
Expand Up @@ -231,4 +231,10 @@ add_format(format"STL_BINARY", detect_stlbinary, [".stl", ".STL"], [:MeshIO])

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


add_format(format"FITS",
# See https://www.loc.gov/preservation/digital/formats/fdd/fdd000317.shtml#sign
[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],
[".fit", ".fits", ".fts", ".FIT", ".FITS", ".FTS"], [:FITSIO])

add_format(format"RawArray", [0x61,0x72,0x61,0x77,0x72,0x72,0x79,0x61], ".ra", [:RawArray])

0 comments on commit bf7756c

Please sign in to comment.