Specification coverage

Copy Markdown View Source

Authoritative text: ASDF standard 1.5.0, file layout and versioning chapters at https://www.asdf-format.org/projects/asdf-standard/en/latest/ . The YAML subset this library accepts is described in the Guide. Reference software: Python asdf 6.0.0 (behavior only; the written spec wins).

IDSpec itemSourceTestStatus
FF-HEADER-1#ASDF token, whitespace, x.y.z, newlinefile layout, HeaderASDF.HeaderTest golden fixture, property 1.0.zimplemented
FF-HEADER-2File format other than 1.0.z is rejectedversioningrejects a file format this library cannot lay outimplemented
FF-HEADER-3Truncated header (no newline) is an errorfile layout EBNFtest/fixtures/truncated_header.asdfimplemented
FF-COMMENT-1Comment lines begin with # and end before the treefile layout, Commentsaccepts a CR LF header and leaves the tree unconsumedimplemented
FF-STD-1#ASDF_STANDARD comment carries the spec versionversioning chapter examplegolden fixtureimplemented
FF-STD-2A second #ASDF_STANDARD commentnot specified; we rejectrejects a second standard-version commentimplemented (local rule)
YAML-1%YAML 1.1 tree, one documentfile layout, TreeASDF.YAMLTest, ASDF.OpenTest golden fixtureimplemented
YAML-2Mapping keys restricted to bool, int, strYAML subsetrejects a float keyimplemented
YAML-3Unknown tags retainedTags chapterkeeps a block anchor and does not create atomsimplemented
YAML-4Alias expansion must be boundedimplementation limit, not a spec sentencerejects alias bombsimplemented
YAML-5Merge key <<not in the retrieved subset chapterdoes not expand merge keyspartial (not expanded)
BLOCK-1Block magic, header_size, flags, sizes, checksumfile layout, BlocksASDF.BlockTest success block, truncated block, checksum mismatchimplemented
BLOCK-2Block index checksfile layout, Block indexbad index is strict error and permissive warningimplemented
BLOCK-3zlib compressionfile layout, Compressioninflate round trip; data_size over the capimplemented
BLOCK-4bzp2 compressionfile layout, Compressionbzp2 is rejectedunsupported (rejected)
BLOCK-5Streamed block is last and has no indexfile layout, Blocksa streamed block runs to EOFpartial (read only)
ND-1ndarray 1.0.0 and 1.1.0core schemasint32, float32, float16, complex64, bool8, ascii, one structured field, empty, stridesimplemented
ND-2External ndarray URIcore schemasdoes not open an external ndarray uripartial (preserved, not opened)
SCHEMA-1Core schema validation, local $ref onlyschemas chapterASDF.SchemaTest software node, remote ref, unknown tagimplemented
SCHEMA-2ndarray schema self-referencecore ndarray schemaresolve ndarray-1.0.0 returns :cyclic_refpartial (not expanded)
SCHEMA-3Unit, time, FITS, WCS schemascore-1.5.0 manifest also lists theseexclusions recorded; refs accept nothingunsupported
REG-1Opt-in tag handlerimplementation, not a file-chosen moduleregistered note tag; unknown tag stays taggedimplemented
WRITE-1Canonical writerfile layoutASDF.WriterTest nested tree, endianness, zlib, empty array, external ..implemented
WRITE-2External path guardfile layout, external arrays.. and absolute paths are :external_disabledimplemented
REF-1Differential test against Python asdf 6.0.0reference implementationASDF.PythonOracleTest records :not_installednot run
HARD-1Mutated input returns :ok or %ASDF.Error{}implementationASDF.FuzzTest; test/fixtures/regressions/yamerl-flow-scalar.asdfimplemented
CLI-1mix asdf.inspect prints sizes and skips payloadsimplementationASDF.InspectTaskTestimplemented