Skip to content

Commit 2542817

Browse files
authored
Merge pull request #427 from icweaver/asdf
Add ASDF format
2 parents 822cdad + 7796df5 commit 2542817

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/registry.jl

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,12 @@ add_format(format"FITS",
525525
[:FITSIO => UUID("525bcba6-941b-5504-bd06-fd0dc1a4d2eb")],
526526
[:AstroImages => UUID("fe3fc30c-9b16-11e9-1c73-17dabf39f4ad")])
527527

528-
528+
add_format(format"ASDF",
529+
# See https://www.asdf-format.org/projects/asdf-standard/en/latest/file_layout.html#header
530+
# #ASDF == ([0x23,0x41,0x53,0x44,0x46])
531+
[0x23,0x41,0x53,0x44,0x46],
532+
[".asdf"],
533+
[:ASDF => UUID("686f71d1-807d-59a4-a860-28280ea06d7b")])
529534

530535
function detect_gadget2(io)
531536
pos = position(io)

0 commit comments

Comments
 (0)