diff --git a/docs/Manifest.toml b/docs/Manifest.toml index 82f8155d..7a66d2ac 100644 --- a/docs/Manifest.toml +++ b/docs/Manifest.toml @@ -1,8 +1,8 @@ # This file is machine-generated - editing it directly is not advised -julia_version = "1.9.3" +julia_version = "1.9.0" manifest_format = "2.0" -project_hash = "e18cc0fe4d9afd9d2eb46389f66fe2261ad168ab" +project_hash = "774cd2545609e2b3f1430cf0b0273c5619a0c0dc" [[deps.ANSIColoredPrinters]] git-tree-sha1 = "574baf8110975760d391c710b6341da1afa48d8c" @@ -265,7 +265,7 @@ weakdeps = ["Dates", "LinearAlgebra"] [[deps.CompilerSupportLibraries_jll]] deps = ["Artifacts", "Libdl"] uuid = "e66e0078-7015-5450-92f7-15fbd957f2ae" -version = "1.0.5+0" +version = "1.0.2+0" [[deps.ConcurrentUtilities]] deps = ["Serialization", "Sockets"] @@ -1454,7 +1454,7 @@ version = "0.42.2+0" [[deps.Pkg]] deps = ["Artifacts", "Dates", "Downloads", "FileWatching", "LibGit2", "Libdl", "Logging", "Markdown", "Printf", "REPL", "Random", "SHA", "Serialization", "TOML", "Tar", "UUIDs", "p7zip_jll"] uuid = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" -version = "1.9.2" +version = "1.9.0" [[deps.PkgVersion]] deps = ["Pkg"] @@ -2086,7 +2086,7 @@ version = "0.6.1" deps = ["CFTime", "DataStructures", "Dates", "DimensionalData", "DiskArrayTools", "DiskArrays", "Distributed", "DocStringExtensions", "Glob", "Interpolations", "IntervalSets", "IterTools", "Markdown", "OffsetArrays", "OnlineStats", "Optim", "OrderedCollections", "ParallelUtilities", "ProgressMeter", "Reexport", "Requires", "Statistics", "StatsBase", "Tables", "WeightedOnlineStats", "YAXArrayBase"] path = ".." uuid = "c21b50f5-aa40-41ea-b809-c0f5e47bfa5c" -version = "0.5.1" +version = "0.5.2" [[deps.Zarr]] deps = ["AWSS3", "Blosc", "CodecZlib", "DataStructures", "Dates", "DiskArrays", "HTTP", "JSON", "LRUCache", "OffsetArrays", "OpenSSL", "Pkg", "URIs"] @@ -2132,7 +2132,7 @@ version = "0.15.1+0" [[deps.libblastrampoline_jll]] deps = ["Artifacts", "Libdl"] uuid = "8e850b90-86db-534c-a0d3-1478176c7d93" -version = "5.8.0+0" +version = "5.7.0+0" [[deps.libfdk_aac_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] diff --git a/docs/Project.toml b/docs/Project.toml index 0a39edcf..b8bed0b4 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -8,6 +8,7 @@ Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" DocumenterMarkdown = "997ab1e6-3595-5248-9280-8efb232c3433" Downloads = "f43a241f-c20a-4ad4-852c-f6b1247861c6" EarthDataLab = "359177bc-a543-11e8-11b7-bb015dba3358" +FillArrays = "1a297f60-69ca-5386-bcde-b61e274b549b" GLMakie = "e9467ef8-e4e7-5192-8a1a-b1aee30e663a" GeoInterface = "cf35fbd7-0cd7-5166-be24-54bfbe79505f" GeoJSON = "61d90e0f-e114-555e-ac52-39dfb47a3ef9" diff --git a/docs/examples/UserGuide/saving.jl b/docs/examples/UserGuide/saving.jl index f205b0c6..73e60464 100644 --- a/docs/examples/UserGuide/saving.jl +++ b/docs/examples/UserGuide/saving.jl @@ -42,13 +42,16 @@ open_dataset(f, driver=:zarr) # ## Datacube Skeleton without the actual data # Sometimes one merely wants to create a datacube "Skeleton" on disk and gradually fill it with data. -# Here we create YAXArray and write only the axis data and array metadata to disk, +# Here we make use of FillArrays to create a YAXArray and write only the axis data and array metadata to disk, # while no actual array data is copied: -using YAXArrays, Zarr -a = YAXArray(zeros(Union{Missing, Int32},10,20)) +using YAXArrays, Zarr, FillArrays +a = YAXArray(Zeros(Union{Missing, Int32},10,20)) f = tempname(); r = savecube(a,f,driver=:zarr,skeleton=true); all(ismissing,r[:,:]) -# The `skeleton` argument is also available for `savedataset`. \ No newline at end of file +# If using FillArrays is not possible, using the `zeros` function works as well, though it does allocate the array +# in memory. + +# The `skeleton` argument is also available for `savedataset`.