Hi all, I just fired up Julia for the first time. My goal is to use the JEMSS package for research purposes.
First of all,I could install and run JEMSS.
But,When I ran the Auckland City’s data with the file name unchanged but replaced it with data from a Japanese city, I got the following error.
julia> using JEMSS
julia> include(joinpath(JEMSS.jemssDir, “example/example.jl”))
Loading sim.
ERROR: LoadError: AssertionError: 1 <= ix && (ix <= grid.nx && (1 <= iy && iy <= grid.ny))
Stacktrace:
[1] locationToGridIndex(map::Map, grid::Grid, location::Location)
@ JEMSS C:\Users\natsuhikohara.julia\packages\JEMSS\3snbw\src\types\grid.jl:23
[2] findNearestNode(map::Map, grid::Grid, nodes::Vector{Node}, location::Location)
@ JEMSS C:\Users\natsuhikohara.julia\packages\JEMSS\3snbw\src\types\grid.jl:47
[3] initSim(configFilename::String; allowResim::Bool, createBackup::Bool, allowWriteOutput::Bool, doPrint::Bool)
@ JEMSS C:\Users\natsuhikohara.julia\packages\JEMSS\3snbw\src\run_config.jl:293
[4] initSim(configFilename::String)
@ JEMSS C:\Users\natsuhikohara.julia\packages\JEMSS\3snbw\src\run_config.jl:39
[5] top-level scope
@ C:\Users\natsuhikohara.julia\packages\JEMSS\3snbw\example\example.jl:4
[6] include(fname::String)
@ Base.MainInclude .\client.jl:451
[7] top-level scope
@ REPL[6]:1
in expression starting at C:\Users\natsuhikohara.julia\packages\JEMSS\3snbw\example\example.jl:4
Any help to fix this or to increase my understanding is highly appreciated.