You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's possible to get errors like this when you try to create a file with the wrong data type, and the _GDALTYPE Dict is accessed:
ERROR: KeyError: key Int64 not found
Stacktrace:
[1] getindex at ./dict.jl:467 [inlined]
[2] #unsafe_create#56 at /root/.julia/packages/ArchGDAL/j9NPL/src/dataset.jl:200 [inlined]
[3] create(::GeoData.var"#190#191"{GeoArray{Int64,3,Tuple{Lon{LinRange{Float64},Projected{
It could be better to throw a more descriptive error, like "Int64 is not a recognised data type" etc. I'm not sure if this also applies to the other const Dicts in use like _JLType
It's possible to get errors like this when you try to create a file with the wrong data type, and the
_GDALTYPE
Dict is accessed:It could be better to throw a more descriptive error, like "
Int64
is not a recognised data type" etc. I'm not sure if this also applies to the other const Dicts in use like_JLType
See https://github.com/rafaqz/GeoData.jl/issues/143
The text was updated successfully, but these errors were encountered: