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
When I running high.jl line by line, I got the following error.
julia> nccreate(fn1,"vchar","DimChar",20,"Dim2",t=NetCDF.NC_CHAR)
20×10 NcVar{NetCDF.ASCIIChar,2,2}:
Error showing value of type NcVar{NetCDF.ASCIIChar,2,2}:
ERROR: MethodError: no method matching nc_get_var1_x(::NcVar{NetCDF.ASCIIChar,2,2}, ::Array{UInt64,1}, ::Type{NetCDF.ASCIIChar})
Closest candidates are:
nc_get_var1_x(::NcVar{Float64,N,M} where M where N, ::Array{UInt64,1}, ::Type{Float64}) at /home/peter/.julia/dev/NetCDF/src/NetCDF.jl:352
nc_get_var1_x(::NcVar{Float32,N,M} where M where N, ::Array{UInt64,1}, ::Type{Float32}) at /home/peter/.julia/dev/NetCDF/src/NetCDF.jl:352
nc_get_var1_x(::NcVar{Int32,N,M} where M where N, ::Array{UInt64,1}, ::Type{Int32}) at /home/peter/.julia/dev/NetCDF/src/NetCDF.jl:352
...
Stacktrace:
[1] readvar(::NcVar{NetCDF.ASCIIChar,2,2}, ::Int64, ::Int64) at /home/peter/.julia/dev/NetCDF/src/NetCDF.jl:309
[2] getindex(::NcVar{NetCDF.ASCIIChar,2,2}, ::Int64, ::Int64) at /home/peter/.julia/dev/NetCDF/src/NetCDF.jl:173
[3] isassigned(::NcVar{NetCDF.ASCIIChar,2,2}, ::Int64, ::Int64) at ./abstractarray.jl:351
[4] alignment(::IOContext{REPL.Terminals.TTYTerminal}, ::NcVar{NetCDF.ASCIIChar,2,2}, ::Array{Int64,1}, ::UnitRange{Int64}, ::Int64, ::Int64, ::Int64) at ./arrayshow.jl:67
[5] print_matrix(::IOContext{REPL.Terminals.TTYTerminal}, ::NcVar{NetCDF.ASCIIChar,2,2}, ::String, ::String, ::String, ::String, ::String, ::String, ::Int64, ::Int64) at ./arrayshow.jl:186
[6] print_matrix at ./arrayshow.jl:159 [inlined]
[7] print_array at ./arrayshow.jl:308 [inlined]
[8] show(::IOContext{REPL.Terminals.TTYTerminal}, ::MIME{Symbol("text/plain")}, ::NcVar{NetCDF.ASCIIChar,2,2}) at ./arrayshow.jl:345
[9] display(::REPL.REPLDisplay, ::MIME{Symbol("text/plain")}, ::Any) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/REPL/src/REPL.jl:131
[10] display(::REPL.REPLDisplay, ::Any) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/REPL/src/REPL.jl:135
[11] display(::Any) at ./multimedia.jl:287
[12] #invokelatest#1 at ./essentials.jl:742 [inlined]
[13] invokelatest at ./essentials.jl:741 [inlined]
[14] print_response(::IO, ::Any, ::Any, ::Bool, ::Bool, ::Any) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/REPL/src/REPL.jl:155
[15] print_response(::REPL.AbstractREPL, ::Any, ::Any, ::Bool, ::Bool) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/REPL/src/REPL.jl:140
[16] (::getfield(REPL, Symbol("#do_respond#38")){Bool,getfield(REPL, Symbol("##48#57")){REPL.LineEditREPL},REPL.LineEditREPL,REPL.LineEdit.Prompt})(::Any, ::Any, ::Any) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/REPL/src/REPL.jl:714
[17] (::getfield(REPL, Symbol("##53#62")))(::Any, ::Any, ::Vararg{Any,N} where N) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/REPL/src/REPL.jl:977
[18] #invokelatest#1 at ./essentials.jl:742 [inlined]
[19] invokelatest at ./essentials.jl:741 [inlined]
[20] (::getfield(REPL.LineEdit, Symbol("##27#28")){getfield(REPL, Symbol("##53#62")),String})(::Any, ::Any) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/REPL/src/LineEdit.jl:1324
[21] prompt!(::REPL.Terminals.TextTerminal, ::REPL.LineEdit.ModalInterface, ::REPL.LineEdit.MIState) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/REPL/src/LineEdit.jl:2365
[22] run_interface(::REPL.Terminals.TextTerminal, ::REPL.LineEdit.ModalInterface, ::REPL.LineEdit.MIState) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/REPL/src/LineEdit.jl:2268
[23] run_frontend(::REPL.LineEditREPL, ::REPL.REPLBackendRef) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/REPL/src/REPL.jl:1035
[24] run_repl(::REPL.AbstractREPL, ::Any) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/REPL/src/REPL.jl:192
[25] (::getfield(Base, Symbol("##734#736")){Bool,Bool,Bool,Bool})(::Module) at ./client.jl:362
[26] #invokelatest#1 at ./essentials.jl:742 [inlined]
[27] invokelatest at ./essentials.jl:741 [inlined]
[28] run_main_repl(::Bool, ::Bool, ::Bool, ::Bool, ::Bool) at ./client.jl:346
[29] exec_options(::Base.JLOptions) at ./client.jl:284
[30] _start() at ./client.jl:436
The text was updated successfully, but these errors were encountered:
When I running high.jl line by line, I got the following error.
julia> nccreate(fn1,"vchar","DimChar",20,"Dim2",t=NetCDF.NC_CHAR)
20×10 NcVar{NetCDF.ASCIIChar,2,2}:
Error showing value of type NcVar{NetCDF.ASCIIChar,2,2}:
ERROR: MethodError: no method matching nc_get_var1_x(::NcVar{NetCDF.ASCIIChar,2,2}, ::Array{UInt64,1}, ::Type{NetCDF.ASCIIChar})
Closest candidates are:
nc_get_var1_x(::NcVar{Float64,N,M} where M where N, ::Array{UInt64,1}, ::Type{Float64}) at /home/peter/.julia/dev/NetCDF/src/NetCDF.jl:352
nc_get_var1_x(::NcVar{Float32,N,M} where M where N, ::Array{UInt64,1}, ::Type{Float32}) at /home/peter/.julia/dev/NetCDF/src/NetCDF.jl:352
nc_get_var1_x(::NcVar{Int32,N,M} where M where N, ::Array{UInt64,1}, ::Type{Int32}) at /home/peter/.julia/dev/NetCDF/src/NetCDF.jl:352
...
Stacktrace:
[1] readvar(::NcVar{NetCDF.ASCIIChar,2,2}, ::Int64, ::Int64) at /home/peter/.julia/dev/NetCDF/src/NetCDF.jl:309
[2] getindex(::NcVar{NetCDF.ASCIIChar,2,2}, ::Int64, ::Int64) at /home/peter/.julia/dev/NetCDF/src/NetCDF.jl:173
[3] isassigned(::NcVar{NetCDF.ASCIIChar,2,2}, ::Int64, ::Int64) at ./abstractarray.jl:351
[4] alignment(::IOContext{REPL.Terminals.TTYTerminal}, ::NcVar{NetCDF.ASCIIChar,2,2}, ::Array{Int64,1}, ::UnitRange{Int64}, ::Int64, ::Int64, ::Int64) at ./arrayshow.jl:67
[5] print_matrix(::IOContext{REPL.Terminals.TTYTerminal}, ::NcVar{NetCDF.ASCIIChar,2,2}, ::String, ::String, ::String, ::String, ::String, ::String, ::Int64, ::Int64) at ./arrayshow.jl:186
[6] print_matrix at ./arrayshow.jl:159 [inlined]
[7] print_array at ./arrayshow.jl:308 [inlined]
[8] show(::IOContext{REPL.Terminals.TTYTerminal}, ::MIME{Symbol("text/plain")}, ::NcVar{NetCDF.ASCIIChar,2,2}) at ./arrayshow.jl:345
[9] display(::REPL.REPLDisplay, ::MIME{Symbol("text/plain")}, ::Any) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/REPL/src/REPL.jl:131
[10] display(::REPL.REPLDisplay, ::Any) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/REPL/src/REPL.jl:135
[11] display(::Any) at ./multimedia.jl:287
[12] #invokelatest#1 at ./essentials.jl:742 [inlined]
[13] invokelatest at ./essentials.jl:741 [inlined]
[14] print_response(::IO, ::Any, ::Any, ::Bool, ::Bool, ::Any) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/REPL/src/REPL.jl:155
[15] print_response(::REPL.AbstractREPL, ::Any, ::Any, ::Bool, ::Bool) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/REPL/src/REPL.jl:140
[16] (::getfield(REPL, Symbol("#do_respond#38")){Bool,getfield(REPL, Symbol("##48#57")){REPL.LineEditREPL},REPL.LineEditREPL,REPL.LineEdit.Prompt})(::Any, ::Any, ::Any) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/REPL/src/REPL.jl:714
[17] (::getfield(REPL, Symbol("##53#62")))(::Any, ::Any, ::Vararg{Any,N} where N) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/REPL/src/REPL.jl:977
[18] #invokelatest#1 at ./essentials.jl:742 [inlined]
[19] invokelatest at ./essentials.jl:741 [inlined]
[20] (::getfield(REPL.LineEdit, Symbol("##27#28")){getfield(REPL, Symbol("##53#62")),String})(::Any, ::Any) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/REPL/src/LineEdit.jl:1324
[21] prompt!(::REPL.Terminals.TextTerminal, ::REPL.LineEdit.ModalInterface, ::REPL.LineEdit.MIState) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/REPL/src/LineEdit.jl:2365
[22] run_interface(::REPL.Terminals.TextTerminal, ::REPL.LineEdit.ModalInterface, ::REPL.LineEdit.MIState) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/REPL/src/LineEdit.jl:2268
[23] run_frontend(::REPL.LineEditREPL, ::REPL.REPLBackendRef) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/REPL/src/REPL.jl:1035
[24] run_repl(::REPL.AbstractREPL, ::Any) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/REPL/src/REPL.jl:192
[25] (::getfield(Base, Symbol("##734#736")){Bool,Bool,Bool,Bool})(::Module) at ./client.jl:362
[26] #invokelatest#1 at ./essentials.jl:742 [inlined]
[27] invokelatest at ./essentials.jl:741 [inlined]
[28] run_main_repl(::Bool, ::Bool, ::Bool, ::Bool, ::Bool) at ./client.jl:346
[29] exec_options(::Base.JLOptions) at ./client.jl:284
[30] _start() at ./client.jl:436
The text was updated successfully, but these errors were encountered: