YAXArrays.jl
YAXArrays.jl copied to clipboard
Error requiring DimensionalData from YAXArrayBase
When loading Rasters.jl and YAXArrays, there is a warning, stuff still seems to work. Not sure if this is the fault of Rasters.jl or YAXArrays.jl. I am posting here, because Rasters.jl doesn't appear in the error message.
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.7.3 (2022-05-06)
_/ |\__'_|_|_|\__'_| |
|__/ |
(@v1.7) pkg> activate --temp
Activating new project at `/tmp/jl_44zvzr`
(jl_44zvzr) pkg> add YAXArrays Rasters
Resolving package versions...
Updating `/tmp/jl_44zvzr/Project.toml`
[a3a2b9e3] + Rasters v0.2.2
[c21b50f5] + YAXArrays v0.3.0
Updating `/tmp/jl_44zvzr/Manifest.toml`
[621f4979] + AbstractFFTs v1.1.0
[1520ce14] + AbstractTrees v0.3.4
[79e6a3ab] + Adapt v3.3.3
[c9ce4bd3] + ArchGDAL v0.8.5
[7d9fca2a] + Arpack v0.5.3
[4fba245c] + ArrayInterface v6.0.17
[30b0a656] + ArrayInterfaceCore v0.1.12
[13072b0f] + AxisAlgorithms v1.0.1
[fa961155] + CEnum v0.4.2
[179af706] + CFTime v0.1.2
[d360d2e6] + ChainRulesCore v1.15.0
[9e997f8a] + ChangesOfVariables v0.1.3
[3da002f7] + ColorTypes v0.11.4
[c3611d14] + ColorVectorSpace v0.9.9
[5ae59095] + Colors v0.12.8
[861a8166] + Combinatorics v1.0.2
[34da2185] + Compat v3.45.0
[187b0558] + ConstructionBase v1.3.0
[a8cc5b0e] + Crayons v4.1.1
[9a962f9c] + DataAPI v1.10.0
[a93c6f00] + DataFrames v1.3.4
[864edb3b] + DataStructures v0.18.13
[e2d170a0] + DataValueInterfaces v1.0.0
[0703355e] + DimensionalData v0.20.8
[fcd2136c] + DiskArrayTools v0.1.3
[3c3547ce] + DiskArrays v0.3.6
[ffbed154] + DocStringExtensions v0.8.6
[411431e0] + Extents v0.1.1
[7a1cc6ca] + FFTW v1.5.0
[bf96fef3] + FieldMetadata v0.3.1
[1a297f60] + FillArrays v0.13.2
[53c48c17] + FixedPointNumbers v0.8.4
[4c728ea3] + Flatten v0.4.3
[59287772] + Formatting v0.4.2
[add2ef01] + GDAL v1.4.0
[68eda718] + GeoFormatTypes v0.4.1
[cf35fbd7] + GeoInterface v0.5.7
[c27321d9] + Glob v1.3.0
[a2bd30eb] + Graphics v1.1.2
[f67ccb44] + HDF5 v0.16.10
[cd3eb016] + HTTP v0.9.17
[615f187c] + IfElse v0.1.1
[a09fc81d] + ImageCore v0.9.4
[83e8ac13] + IniFile v0.5.1
[a98d9a8b] + Interpolations v0.13.6
[8197267c] + IntervalSets v0.6.2
[3587e190] + InverseFunctions v0.1.7
[41ab1584] + InvertedIndices v1.1.0
[92d709cd] + IrrationalConstants v0.1.1
[c8e1da08] + IterTools v1.4.0
[82899510] + IteratorInterfaceExtensions v1.0.0
[692b3bcd] + JLLWrappers v1.4.1
[2ab3a3ac] + LogExpFunctions v0.3.15
[1914dd2f] + MacroTools v0.5.9
[dbb5928d] + MappedArrays v0.4.1
[739be429] + MbedTLS v1.0.3
[e1d29d7a] + Missings v1.0.2
[e94cdb99] + MosaicViews v0.3.3
[6f286f6a] + MultivariateStats v0.9.0
[85f8d34a] + NCDatasets v0.12.4
[77ba4419] + NaNMath v1.0.0
[6fe1bfb0] + OffsetArrays v1.12.6
[a15396b6] + OnlineStats v1.5.13
[925886fa] + OnlineStatsBase v1.4.9
[bac558e1] + OrderedCollections v1.4.1
[5432bcbf] + PaddedViews v0.5.11
[fad6cfc8] + ParallelUtilities v0.8.6
[e4521ec6] + PolygonInbounds v0.2.0
[2dfb63ee] + PooledArrays v1.4.2
[21216c6a] + Preferences v1.3.0
[08abe8d2] + PrettyTables v1.3.1
[92933f4c] + ProgressMeter v1.7.2
[3cb90ccd] + RasterDataSources v0.5.4
[a3a2b9e3] + Rasters v0.2.2
[c84ed2f1] + Ratios v0.4.3
[3cdcf5f2] + RecipesBase v1.2.1
[189a3867] + Reexport v1.2.2
[ae029012] + Requires v1.3.0
[efcf1570] + Setfield v0.8.2
[a2af1166] + SortingAlgorithms v1.0.1
[276daf66] + SpecialFunctions v2.1.6
[171d559e] + SplittablesBase v0.1.14
[cae243ae] + StackViews v0.1.1
[aedffcd0] + Static v0.6.6
[90137ffa] + StaticArrays v1.4.7
[82ae8749] + StatsAPI v1.4.0
[2913bbd2] + StatsBase v0.33.17
[3783bdb8] + TableTraits v1.0.1
[bd369af6] + Tables v1.7.0
[62fd8b95] + TensorCore v0.1.1
[5c2747f8] + URIs v1.3.0
[bbac0a1f] + WeightedOnlineStats v0.6.0
[efce3f68] + WoodburyMatrices v0.5.5
[90b8fcef] + YAXArrayBase v0.4.0
[c21b50f5] + YAXArrays v0.3.0
[a5390f91] + ZipFile v0.9.4
[68821587] + Arpack_jll v3.5.1+1
[2e619515] + Expat_jll v2.4.8+0
[f5851436] + FFTW_jll v3.3.10+0
[a7073274] + GDAL_jll v300.500.0+1
[d604d12d] + GEOS_jll v3.10.2+0
[0234f1f7] + HDF5_jll v1.12.0+1
[1d5cc7b8] + IntelOpenMP_jll v2018.0.3+2
[aacddb02] + JpegTurbo_jll v2.1.2+0
[88015f11] + LERC_jll v3.0.0+1
[89763e89] + Libtiff_jll v4.4.0+0
[d3a379c0] + LittleCMS_jll v2.12.0+0
[856f044c] + MKL_jll v2022.0.0+0
[7243133f] + NetCDF_jll v400.702.400+0
[643b3616] + OpenJpeg_jll v2.4.0+0
[458c3c95] + OpenSSL_jll v1.1.14+0
[efe28fd5] + OpenSpecFun_jll v0.5.5+0
[58948b4f] + PROJ_jll v900.0.0+0
[76ed43ae] + SQLite_jll v3.38.4+0
[3161d3a3] + Zstd_jll v1.5.2+0
[06c338fa] + libgeotiff_jll v1.7.1+0
[b53b4c65] + libpng_jll v1.6.38+0
[0dad84c5] + ArgTools
[56f22d72] + Artifacts
[2a0f44e3] + Base64
[ade2ca70] + Dates
[8bb1440f] + DelimitedFiles
[8ba89e20] + Distributed
[f43a241f] + Downloads
[7b1f6079] + FileWatching
[9fa8497b] + Future
[b77e0a4c] + InteractiveUtils
[4af54fe1] + LazyArtifacts
[b27032c2] + LibCURL
[76f85450] + LibGit2
[8f399da3] + Libdl
[37e2e46d] + LinearAlgebra
[56ddb016] + Logging
[d6f4376e] + Markdown
[a63ad114] + Mmap
[ca575930] + NetworkOptions
[44cfe95a] + Pkg
[de0858da] + Printf
[3fa0cd96] + REPL
[9a3f8284] + Random
[ea8e919c] + SHA
[9e88b42a] + Serialization
[1a1011a3] + SharedArrays
[6462fe0b] + Sockets
[2f01184e] + SparseArrays
[10745b16] + Statistics
[4607b0f0] + SuiteSparse
[fa267f1f] + TOML
[a4e569a6] + Tar
[8dfed614] + Test
[cf7118a7] + UUIDs
[4ec0a83e] + Unicode
[e66e0078] + CompilerSupportLibraries_jll
[deac9b47] + LibCURL_jll
[29816b5a] + LibSSH2_jll
[c8ffd9c3] + MbedTLS_jll
[14a3606d] + MozillaCACerts_jll
[4536629a] + OpenBLAS_jll
[05823500] + OpenLibm_jll
[83775a58] + Zlib_jll
[8e850b90] + libblastrampoline_jll
[8e850ede] + nghttp2_jll
[3f19e933] + p7zip_jll
julia> using YAXArrays, Rasters
┌ Warning: Error requiring `DimensionalData` from `YAXArrayBase`
│ exception =
│ LoadError: UndefVarError: DimensionalArray not defined
│ Stacktrace:
│ [1] include(mod::Module, _path::String)
│ @ Base ./Base.jl:418
│ [2] include(x::String)
│ @ YAXArrayBase ~/.julia/packages/YAXArrayBase/5efqU/src/YAXArrayBase.jl:1
│ [3] top-level scope
│ @ ~/.julia/packages/Requires/Z8rfN/src/Requires.jl:40
│ [4] eval
│ @ ./boot.jl:373 [inlined]
│ [5] eval
│ @ ~/.julia/packages/YAXArrayBase/5efqU/src/YAXArrayBase.jl:1 [inlined]
│ [6] (::YAXArrayBase.var"#16#40")()
│ @ YAXArrayBase ~/.julia/packages/Requires/Z8rfN/src/require.jl:101
│ [7] macro expansion
│ @ timing.jl:299 [inlined]
│ [8] err(f::Any, listener::Module, modname::String, file::String, line::Any)
│ @ Requires ~/.julia/packages/Requires/Z8rfN/src/require.jl:47
│ [9] (::YAXArrayBase.var"#15#39")()
│ @ YAXArrayBase ~/.julia/packages/Requires/Z8rfN/src/require.jl:100
│ [10] withpath(f::Any, path::String)
│ @ Requires ~/.julia/packages/Requires/Z8rfN/src/require.jl:37
│ [11] (::YAXArrayBase.var"#14#38")()
│ @ YAXArrayBase ~/.julia/packages/Requires/Z8rfN/src/require.jl:99
│ [12] #invokelatest#2
│ @ ./essentials.jl:716 [inlined]
│ [13] invokelatest
│ @ ./essentials.jl:714 [inlined]
│ [14] foreach(f::typeof(Base.invokelatest), itr::Vector{Function})
│ @ Base ./abstractarray.jl:2712
│ [15] loadpkg(pkg::Base.PkgId)
│ @ Requires ~/.julia/packages/Requires/Z8rfN/src/require.jl:27
│ [16] #invokelatest#2
│ @ ./essentials.jl:716 [inlined]
│ [17] invokelatest
│ @ ./essentials.jl:714 [inlined]
│ [18] _tryrequire_from_serialized(modkey::Base.PkgId, build_id::UInt64, modpath::String)
│ @ Base ./loading.jl:787
│ [19] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String)
│ @ Base ./loading.jl:843
│ [20] _require(pkg::Base.PkgId)
│ @ Base ./loading.jl:1097
│ [21] require(uuidkey::Base.PkgId)
│ @ Base ./loading.jl:1013
│ [22] require(into::Module, mod::Symbol)
│ @ Base ./loading.jl:997
│ [23] eval
│ @ ./boot.jl:373 [inlined]
│ [24] eval_user_input(ast::Any, backend::REPL.REPLBackend)
│ @ REPL ~/progs/julia/julia-1.7/usr/share/julia/stdlib/v1.7/REPL/src/REPL.jl:150
│ [25] repl_backend_loop(backend::REPL.REPLBackend)
│ @ REPL ~/progs/julia/julia-1.7/usr/share/julia/stdlib/v1.7/REPL/src/REPL.jl:246
│ [26] start_repl_backend(backend::REPL.REPLBackend, consumer::Any)
│ @ REPL ~/progs/julia/julia-1.7/usr/share/julia/stdlib/v1.7/REPL/src/REPL.jl:231
│ [27] run_repl(repl::REPL.AbstractREPL, consumer::Any; backend_on_current_task::Bool)
│ @ REPL ~/progs/julia/julia-1.7/usr/share/julia/stdlib/v1.7/REPL/src/REPL.jl:364
│ [28] run_repl(repl::REPL.AbstractREPL, consumer::Any)
│ @ REPL ~/progs/julia/julia-1.7/usr/share/julia/stdlib/v1.7/REPL/src/REPL.jl:351
│ [29] (::Base.var"#936#938"{Bool, Bool, Bool})(REPL::Module)
│ @ Base ./client.jl:394
│ [30] #invokelatest#2
│ @ ./essentials.jl:716 [inlined]
│ [31] invokelatest
│ @ ./essentials.jl:714 [inlined]
│ [32] run_main_repl(interactive::Bool, quiet::Bool, banner::Bool, history_file::Bool, color_set::Bool)
│ @ Base ./client.jl:379
│ [33] exec_options(opts::Base.JLOptions)
│ @ Base ./client.jl:309
│ [34] _start()
│ @ Base ./client.jl:495
│ in expression starting at /home/gkraemer/.julia/packages/YAXArrayBase/5efqU/src/axisarrays/dimensionaldata.jl:1
└ @ Requires ~/.julia/packages/Requires/Z8rfN/src/require.jl:51
(jl_44zvzr) pkg> st
Status `/tmp/jl_44zvzr/Project.toml`
[a3a2b9e3] Rasters v0.2.2
[c21b50f5] YAXArrays v0.3.0
This is an error in YAXArrayBase. This was due to a renaming of the main type in DimensionalData which is not reflected in YAXArrayBase. It will be closed in julia 1.9 by https://github.com/JuliaDataCubes/YAXArrayBase.jl/pull/18 or should we close it before?