Upgrading to 6.0
Circuitscape.jl 6.0 is the first release since 5.17.1 and collects everything merged since then. Most INI files run unchanged. This page lists the changes that can require action when upgrading.
Breaking changes
computeis no longer exported. Nothing is: callCircuitscape.compute(...), or addusing Circuitscape: computeto keep the bare name.startis no longer exported. Call the interactive INI builder asCircuitscape.start(); a barestart()afterusing Circuitscapeis anUndefVarError.- Configuration values are validated. Unrecognised strings for
solver,scenario,data_type,precision,log_levelandremove_src_or_gnd, non-boolean values for boolean options, a missingscenario, input files that do not exist and a missing output directory are now errors, reported together before any data is read, instead of silently falling back to a default. Run each INI file once and fix what the message names; see Configuration Validation in Inputs, Outputs and Options. - GeoTIFF read and write require the optional ArchGDAL package. Run
Pkg.add("ArchGDAL")once, thenusing ArchGDALbeforeusing Circuitscapewhenever a job names a.tifor setswrite_as_tif = True. ESRI ASCII grids need nothing extra. - A line in an INI file that is not
key = valueis an error. Comment lines (#or;), comments after;, blank lines and section headers are skipped, andkey: valueand keys in any case are read, as in Circuitscape 4. Any other line, such asprecision single, was silently dropped and now stops the run, naming the file and line. low_memory_modeandpreemptive_memory_releaseset toTrueare errors. These Circuitscape 4 options were never implemented here; remove them or set them toFalse.
Changed results
- One-to-all and all-to-one variable source strengths are matched by focal node ID. Previously the file's rows were applied in order, so a file not sorted by ID, or one that skipped an ID or listed an ID absent from the point file, gave strengths to the wrong nodes or failed. Sorted files that list exactly the focal nodes give the same results as before.
- All-to-one with an include/exclude file: a focal node excluded from a pair with the current ground no longer injects current into that solve. Previously it injected 1 A (and Circuitscape 4.0.5 does the same when variable source strengths are used), so current maps change wherever the file excludes pairs.
compress_grids = Truegzips output grids. ASCII maps are written as.asc.gz, as in Circuitscape 4. Before, the option was accepted and ignored, and maps were written as plain.asc.
Everything else in 6.0 is additive or internal; see the release notes for the full list, and What Makes a Run Fast in On Solvers and Computation Time for the performance changes.