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
I receive the following error when I run my .ini file with the run_omniscape() function
ERROR: the file ""C:/Users/.../.../.../.../Resistance.tif"" does not exist
I'm guessing that Julia doesn't like the path format of my resistance raster in the .ini file? I've tried the paths in the .ini file with forward slashes, backward slashes, quotes, no quotes, removing the path and only keeping the .tif file name, tried an .asc file instead of a .tif, etc.
My work flow otherwise is:
open julia
julia> using Pkg; Pkg.add("Omniscape")
julia> cd("C:/Users/.../.../...")
julia> using Omniscape
run_omniscape("OmniscapeSettingsFile.ini")
In the .ini file, I have the following information:
[Required]
resistance_file = "C:/Users/.../.../.../.../Resistance.tif"
radius = 100
block_size = 5
project_name = "C:/Users/.../.../.../..." (note that this is the same folder where the resistance raster lives)
parallelize = true
[Output options]
write_raw_currmap = true
I am very new to Julia, so I apologize if this is a silly question. The Julia version I am using is 1.9.0.
The text was updated successfully, but these errors were encountered:
So, for the paths to your input rasters and files, you can use either absolute (i.e. the full path starting with C://), or a relative path (basically remove this component: "C:/Users/.../.../..." from the file paths in your ini file. Are the resistance rasters in the same folder as your INI file? If you place them there, then you should just be able to put the file name (instead of the full path) as the entry for resistance_file.
I receive the following error when I run my .ini file with the run_omniscape() function
ERROR: the file ""C:/Users/.../.../.../.../Resistance.tif"" does not exist
I'm guessing that Julia doesn't like the path format of my resistance raster in the .ini file? I've tried the paths in the .ini file with forward slashes, backward slashes, quotes, no quotes, removing the path and only keeping the .tif file name, tried an .asc file instead of a .tif, etc.
My work flow otherwise is:
In the .ini file, I have the following information:
[Required]
resistance_file = "C:/Users/.../.../.../.../Resistance.tif"
radius = 100
block_size = 5
project_name = "C:/Users/.../.../.../..." (note that this is the same folder where the resistance raster lives)
parallelize = true
[Output options]
write_raw_currmap = true
I am very new to Julia, so I apologize if this is a silly question. The Julia version I am using is 1.9.0.
The text was updated successfully, but these errors were encountered: