From da4d727b3015e31b4cd3d932cf6438851c58ec3c Mon Sep 17 00:00:00 2001 From: Brett Date: Fri, 26 Jul 2024 15:02:39 -0400 Subject: [PATCH] add anchor, endian, structured and scalars reference files --- reference_files/1.0.0/anchor.asdf | 10 ++++++ reference_files/1.0.0/anchor.yaml | 10 ++++++ reference_files/1.0.0/ascii.asdf | Bin 435 -> 435 bytes reference_files/1.0.0/ascii.yaml | 2 +- reference_files/1.0.0/basic.asdf | Bin 487 -> 487 bytes reference_files/1.0.0/basic.yaml | 2 +- reference_files/1.0.0/complex.asdf | Bin 5723 -> 5723 bytes reference_files/1.0.0/complex.yaml | 2 +- reference_files/1.0.0/compressed.asdf | Bin 1013 -> 1013 bytes reference_files/1.0.0/compressed.yaml | 2 +- reference_files/1.0.0/endian.asdf | Bin 0 -> 908 bytes reference_files/1.0.0/endian.yaml | 20 ++++++++++++ reference_files/1.0.0/exploded.asdf | 2 +- reference_files/1.0.0/exploded.yaml | 2 +- reference_files/1.0.0/exploded0000.asdf | Bin 398 -> 398 bytes reference_files/1.0.0/float.asdf | Bin 1144 -> 1144 bytes reference_files/1.0.0/float.yaml | 2 +- reference_files/1.0.0/int.asdf | Bin 2208 -> 2208 bytes reference_files/1.0.0/int.yaml | 2 +- reference_files/1.0.0/scalars.asdf | 11 +++++++ reference_files/1.0.0/scalars.yaml | 11 +++++++ reference_files/1.0.0/shared.asdf | Bin 606 -> 606 bytes reference_files/1.0.0/shared.yaml | 2 +- reference_files/1.0.0/stream.asdf | Bin 906 -> 906 bytes reference_files/1.0.0/stream.yaml | 2 +- reference_files/1.0.0/structured.asdf | Bin 0 -> 591 bytes reference_files/1.0.0/structured.yaml | 18 +++++++++++ reference_files/1.0.0/unicode_bmp.asdf | Bin 624 -> 624 bytes reference_files/1.0.0/unicode_bmp.yaml | 2 +- reference_files/1.0.0/unicode_spp.asdf | Bin 608 -> 608 bytes reference_files/1.0.0/unicode_spp.yaml | 2 +- reference_files/generate/generate.py | 41 ++++++++++++++++++++++++ 32 files changed, 133 insertions(+), 12 deletions(-) create mode 100644 reference_files/1.0.0/anchor.asdf create mode 100644 reference_files/1.0.0/anchor.yaml create mode 100644 reference_files/1.0.0/endian.asdf create mode 100644 reference_files/1.0.0/endian.yaml create mode 100644 reference_files/1.0.0/scalars.asdf create mode 100644 reference_files/1.0.0/scalars.yaml create mode 100644 reference_files/1.0.0/structured.asdf create mode 100644 reference_files/1.0.0/structured.yaml diff --git a/reference_files/1.0.0/anchor.asdf b/reference_files/1.0.0/anchor.asdf new file mode 100644 index 00000000..5cd8cd88 --- /dev/null +++ b/reference_files/1.0.0/anchor.asdf @@ -0,0 +1,10 @@ +#ASDF 1.0.0 +#ASDF_STANDARD 1.0.0 +%YAML 1.1 +%TAG ! tag:stsci.edu:asdf/ +--- !core/asdf-1.0.0 +a: &id001 {abc: 123} +asdf_library: !core/software-1.0.0 {author: The ASDF Developers, homepage: 'http://github.com/asdf-format/asdf', + name: asdf, version: 3.3.0} +b: *id001 +... diff --git a/reference_files/1.0.0/anchor.yaml b/reference_files/1.0.0/anchor.yaml new file mode 100644 index 00000000..5cd8cd88 --- /dev/null +++ b/reference_files/1.0.0/anchor.yaml @@ -0,0 +1,10 @@ +#ASDF 1.0.0 +#ASDF_STANDARD 1.0.0 +%YAML 1.1 +%TAG ! tag:stsci.edu:asdf/ +--- !core/asdf-1.0.0 +a: &id001 {abc: 123} +asdf_library: !core/software-1.0.0 {author: The ASDF Developers, homepage: 'http://github.com/asdf-format/asdf', + name: asdf, version: 3.3.0} +b: *id001 +... diff --git a/reference_files/1.0.0/ascii.asdf b/reference_files/1.0.0/ascii.asdf index 4bcb6091a4057fe4befec8aadfbe38ec27a5e918..994d5989523c06e17b6d9e6962b1f2e89621f7f1 100644 GIT binary patch delta 13 VcmdnYyqS5zQ)Xj5gNZLr0{|q71-bwL delta 13 VcmdnYyqS5zQ)UA_!-+3W0{|p^1-JkJ diff --git a/reference_files/1.0.0/ascii.yaml b/reference_files/1.0.0/ascii.yaml index 1f68f9b9..f8a39abd 100644 --- a/reference_files/1.0.0/ascii.yaml +++ b/reference_files/1.0.0/ascii.yaml @@ -4,7 +4,7 @@ %TAG ! tag:stsci.edu:asdf/ --- !core/asdf-1.0.0 asdf_library: !core/software-1.0.0 {author: The ASDF Developers, homepage: 'http://github.com/asdf-format/asdf', - name: asdf, version: 3.0.1} + name: asdf, version: 3.3.0} data: !core/ndarray-1.0.0 data: ['', ascii] datatype: [ascii, 5] diff --git a/reference_files/1.0.0/basic.asdf b/reference_files/1.0.0/basic.asdf index 61fedf6442694850f8ba06e39ea6aa35c55267c5..ed4ed69687eaa136b2fa6e430db2d6e9d6e95a4c 100644 GIT binary patch delta 13 VcmaFP{G55hQ)Xj5gNZNx0{|(W237z7 delta 13 VcmaFP{G55hQ)UA_!-+5c0{|(I22=n5 diff --git a/reference_files/1.0.0/basic.yaml b/reference_files/1.0.0/basic.yaml index 4f715ada..14e0d352 100644 --- a/reference_files/1.0.0/basic.yaml +++ b/reference_files/1.0.0/basic.yaml @@ -4,7 +4,7 @@ %TAG ! tag:stsci.edu:asdf/ --- !core/asdf-1.0.0 asdf_library: !core/software-1.0.0 {author: The ASDF Developers, homepage: 'http://github.com/asdf-format/asdf', - name: asdf, version: 3.0.1} + name: asdf, version: 3.3.0} data: !core/ndarray-1.0.0 data: [0, 1, 2, 3, 4, 5, 6, 7] datatype: int64 diff --git a/reference_files/1.0.0/complex.asdf b/reference_files/1.0.0/complex.asdf index 460355b83b207fe4568a6a2a8f42e7000a47578e..477e8a60e9ac4cf481f473ec602c38df0ee6dfd8 100644 GIT binary patch delta 14 Vcmcbub6aP^Q)Xj5gN-kWMFBDq1~~u# delta 14 Vcmcbub6aP^Q)UA_!;LSBMFBDa1~&iz diff --git a/reference_files/1.0.0/complex.yaml b/reference_files/1.0.0/complex.yaml index d43b26ef..d853f5f8 100644 --- a/reference_files/1.0.0/complex.yaml +++ b/reference_files/1.0.0/complex.yaml @@ -4,7 +4,7 @@ %TAG ! tag:stsci.edu:asdf/ --- !core/asdf-1.0.0 asdf_library: !core/software-1.0.0 {author: The ASDF Developers, homepage: 'http://github.com/asdf-format/asdf', - name: asdf, version: 3.0.1} + name: asdf, version: 3.3.0} datatypeG~JeE$t`PCWa}!n2W457Ni$6XZKq78m9lv8 zQ}_`U&z{AzC&7bf@!&~6ga0&9Q4l>E_+_4Xd-4onN^aY`Lv?O*o0ZadyWMd&Jok~8 z50;;}_gjeTtlV+$Qjv@Zox~*Fn9E@7h$QIMm}Oa1>?$p5Y2V7yrQvoz_O;McC!bDK z&pZ`cW=m*Cj7_ApL!C&{tP)R7WM7S>PO22CfgFiYI#h{_89B9D7@KJ9^R60XAL=PR z5M~xvs*GqT23VbbxJnb`h}F=c25)ft8S~@tdlkb#Xf39BokWQm>n=9hND&Al%yfia zJT#4EjQCR{l@27zL=Frjkx1t^o6B3Q9~;w0Cp-P064(EhI7{iVG|a&n zn1{1)4$i{`xCocvGF*WLxC+;Rpa|EY1UH}zi%@|jxcP6VYc)G>U#xy!nmp(2S06sU r#?Hcje>BuMyHB*%dT?uA(I46IG_w literal 0 HcmV?d00001 diff --git a/reference_files/1.0.0/endian.yaml b/reference_files/1.0.0/endian.yaml new file mode 100644 index 00000000..13d142bc --- /dev/null +++ b/reference_files/1.0.0/endian.yaml @@ -0,0 +1,20 @@ +#ASDF 1.0.0 +#ASDF_STANDARD 1.0.0 +%YAML 1.1 +%TAG ! tag:stsci.edu:asdf/ +--- !core/asdf-1.0.0 +asdf_library: !core/software-1.0.0 {author: The ASDF Developers, homepage: 'http://github.com/asdf-format/asdf', + name: asdf, version: 3.3.0} +big: !core/ndarray-1.0.0 + data: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, + 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, + 41] + datatype: int32 + shape: [42] +little: !core/ndarray-1.0.0 + data: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, + 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, + 41] + datatype: int32 + shape: [42] +... diff --git a/reference_files/1.0.0/exploded.asdf b/reference_files/1.0.0/exploded.asdf index 3262eb1a..9103a8b1 100644 --- a/reference_files/1.0.0/exploded.asdf +++ b/reference_files/1.0.0/exploded.asdf @@ -4,7 +4,7 @@ %TAG ! tag:stsci.edu:asdf/ --- !core/asdf-1.0.0 asdf_library: !core/software-1.0.0 {author: The ASDF Developers, homepage: 'http://github.com/asdf-format/asdf', - name: asdf, version: 3.0.1} + name: asdf, version: 3.3.0} data: !core/ndarray-1.0.0 source: exploded0000.asdf datatype: int64 diff --git a/reference_files/1.0.0/exploded.yaml b/reference_files/1.0.0/exploded.yaml index 4f715ada..14e0d352 100644 --- a/reference_files/1.0.0/exploded.yaml +++ b/reference_files/1.0.0/exploded.yaml @@ -4,7 +4,7 @@ %TAG ! tag:stsci.edu:asdf/ --- !core/asdf-1.0.0 asdf_library: !core/software-1.0.0 {author: The ASDF Developers, homepage: 'http://github.com/asdf-format/asdf', - name: asdf, version: 3.0.1} + name: asdf, version: 3.3.0} data: !core/ndarray-1.0.0 data: [0, 1, 2, 3, 4, 5, 6, 7] datatype: int64 diff --git a/reference_files/1.0.0/exploded0000.asdf b/reference_files/1.0.0/exploded0000.asdf index 08f1718daae55a17629840203c1634d89c752ab9..192742c917ca7554e63a4e167566e48030ed25d3 100644 GIT binary patch delta 13 UcmeBU?qi delta 13 UcmeBU?qi()03hE5NdN!< diff --git a/reference_files/1.0.0/float.asdf b/reference_files/1.0.0/float.asdf index d35ab5bc5de9e18d98d17f73ba6c2028c0d80c3d..e92034ee5e0f4774d02cf5987c2cb30927e2c854 100644 GIT binary patch delta 14 Wcmeyt@q=T+Q)Xj5gN-jHFarQF%LX<8 delta 14 Wcmeyt@q=T+Q)UA_!;LQ{FarQFy9P7> diff --git a/reference_files/1.0.0/float.yaml b/reference_files/1.0.0/float.yaml index 3c95fbc8..edddb1af 100644 --- a/reference_files/1.0.0/float.yaml +++ b/reference_files/1.0.0/float.yaml @@ -4,7 +4,7 @@ %TAG ! tag:stsci.edu:asdf/ --- !core/asdf-1.0.0 asdf_library: !core/software-1.0.0 {author: The ASDF Developers, homepage: 'http://github.com/asdf-format/asdf', - name: asdf, version: 3.0.1} + name: asdf, version: 3.3.0} datatypeOJv delta 14 Vcmcb|a*t)gQ)UA_!;LS>7y&MU1>67t diff --git a/reference_files/1.0.0/shared.yaml b/reference_files/1.0.0/shared.yaml index 7f33ce2b..4b36e420 100644 --- a/reference_files/1.0.0/shared.yaml +++ b/reference_files/1.0.0/shared.yaml @@ -4,7 +4,7 @@ %TAG ! tag:stsci.edu:asdf/ --- !core/asdf-1.0.0 asdf_library: !core/software-1.0.0 {author: The ASDF Developers, homepage: 'http://github.com/asdf-format/asdf', - name: asdf, version: 3.0.1} + name: asdf, version: 3.3.0} data: !core/ndarray-1.0.0 data: [0, 1, 2, 3, 4, 5, 6, 7] datatype: int64 diff --git a/reference_files/1.0.0/stream.asdf b/reference_files/1.0.0/stream.asdf index f6de58d470c0e4c9608809962a53f349179bacc0..e2938ceaca89da5437a42c8967945646d3003003 100644 GIT binary patch delta 14 VcmeBT?_!_ul-XF%VB?ELOaLaT1!({P delta 14 VcmeBT?_!_ul-WSfaN~&J&%O2L!ScO()zo^Il-uq( z>;Uo}OEC>%D#DEMH0)N1Wm&KjNF}QI*_yS>WhaS!#nqV2)2Zy@6IWtZ0u!ELBo%{p zB%pBOiIGU;P^i>|NcP2$_XLAVgg9i?YA?np^JyUaGf-EmKF2~=Oad_AeO;Y{O&IAO zu^cdPs6*{3Nl|41W=ez$GlP&T#m95I0IAGWpzqtdQ^=9ycqo|G7EJsx3aLV&t@?4# zT&5w52Y6^M$kU?yZ?z7s^n(Yk-!3-6c`On$%l z8Xoo@38j>L)SC^%HvX=y`SEvW$1ks+&)b(@oA1W=+lIBq4a0F-wRJz=KWfEbK)rc$ X(twL=@AQr=r$T={v0(q;sNnqo?tG~p literal 0 HcmV?d00001 diff --git a/reference_files/1.0.0/structured.yaml b/reference_files/1.0.0/structured.yaml new file mode 100644 index 00000000..6301b41d --- /dev/null +++ b/reference_files/1.0.0/structured.yaml @@ -0,0 +1,18 @@ +#ASDF 1.0.0 +#ASDF_STANDARD 1.0.0 +%YAML 1.1 +%TAG ! tag:stsci.edu:asdf/ +--- !core/asdf-1.0.0 +asdf_library: !core/software-1.0.0 {author: The ASDF Developers, homepage: 'http://github.com/asdf-format/asdf', + name: asdf, version: 3.3.0} +structured: !core/ndarray-1.0.0 + data: + - [1, a, 3.299999952316284] + - [2, b, 6.599999904632568] + datatype: + - {datatype: uint8, name: a} + - datatype: [ascii, 3] + name: b + - {datatype: float32, name: c} + shape: [2] +... diff --git a/reference_files/1.0.0/unicode_bmp.asdf b/reference_files/1.0.0/unicode_bmp.asdf index 270c477b7af475a59ce1a84e73a49d5977c42b80..91eb1cef5ec32fdf645ae17a116894bbfacfde51 100644 GIT binary patch delta 14 Vcmeys@_}W-Q)Xj5gN-jb7y&Se1{44Q delta 14 Vcmeys@_}W-Q)UA_!;LRG7y&SO1`+@O diff --git a/reference_files/1.0.0/unicode_bmp.yaml b/reference_files/1.0.0/unicode_bmp.yaml index 269edd2c..c905ed2a 100644 --- a/reference_files/1.0.0/unicode_bmp.yaml +++ b/reference_files/1.0.0/unicode_bmp.yaml @@ -4,7 +4,7 @@ %TAG ! tag:stsci.edu:asdf/ --- !core/asdf-1.0.0 asdf_library: !core/software-1.0.0 {author: The ASDF Developers, homepage: 'http://github.com/asdf-format/asdf', - name: asdf, version: 3.0.1} + name: asdf, version: 3.3.0} datatype^t# delta 14 VcmaFB@_=Q+Q)UA_!;LR07y&N11>yhz diff --git a/reference_files/1.0.0/unicode_spp.yaml b/reference_files/1.0.0/unicode_spp.yaml index 40945049..c687a786 100644 --- a/reference_files/1.0.0/unicode_spp.yaml +++ b/reference_files/1.0.0/unicode_spp.yaml @@ -4,7 +4,7 @@ %TAG ! tag:stsci.edu:asdf/ --- !core/asdf-1.0.0 asdf_library: !core/software-1.0.0 {author: The ASDF Developers, homepage: 'http://github.com/asdf-format/asdf', - name: asdf, version: 3.0.1} + name: asdf, version: 3.3.0} datatype