Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions notebooks/Anatomy of an ASDF file
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
### A Pluto.jl notebook ###
# v0.20.23

using Markdown
using InteractiveUtils

# ╔═╡ f9aa3933-bc7b-4e7f-b9a8-a28ff1a63a1a
begin
using Pkg
Pkg.activate(@__DIR__, io=devnull)
end

# ╔═╡ 6f722221-fe19-4a03-8665-805592baa042
using ASDF

# ╔═╡ 69d7bbcf-3cea-4638-b99d-d4463782f7a0
using Downloads: download

# ╔═╡ 0c616404-57a5-433d-9386-f5be0e41262f
url = "https://data.science.stsci.edu/redirect/ASDF/asdf_tut_simple_1.asdf";

# ╔═╡ d69d0f1f-564a-413c-9bb9-0e8be59fecf5
filepath = download(url)

# ╔═╡ 5c5df58b-5eb8-4755-8f67-2cf174b0907d
ASDF.load_file(filepath)

# ╔═╡ Cell order:
# ╠═f9aa3933-bc7b-4e7f-b9a8-a28ff1a63a1a
# ╠═6f722221-fe19-4a03-8665-805592baa042
# ╠═69d7bbcf-3cea-4638-b99d-d4463782f7a0
# ╠═0c616404-57a5-433d-9386-f5be0e41262f
# ╠═d69d0f1f-564a-413c-9bb9-0e8be59fecf5
# ╠═5c5df58b-5eb8-4755-8f67-2cf174b0907d
6 changes: 6 additions & 0 deletions notebooks/Project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[deps]
ASDF = "686f71d1-807d-59a4-a860-28280ea06d7b"
Pluto = "c3e4b0f8-55cb-11ea-2926-15256bba5781"

[sources]
ASDF = {path = ".."}
Loading