Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

For experts: straight to the point

# Clone the repo:
git clone git@gitlab.unige.ch:geohealth/accessmod_replay_demo.git
cd accessmod_replay_demo
# Launch the script:
./script.sh
# Check the result:
gdalinfo -stats out/1_120/raster_travel_time_original/raster_travel_time_original.img

Step-by-step procedure

Requirements

The replay function requires a bash command to run, a language that can be used in Linux-based and Mac OS only. To use it in Windows, the easiest approach is to install a Linux-based distro from the Microsoft Store, e.g. Ubuntu 20.04, or the Windows Subsystem Linux (WSL), which is anyway required to run Docker desktop. Then, you can use the command line in this distro to run the Replay bash commands.


After installing any of the distros, there will be a short installation and activation process that will ask you to set a user name and an administrator password.

It is necessary to have Docker desktop and AccessMod installed. For instructions in how to install Docker desktop, look here, and for AccessMod, here or here.

Files preparation

To run multiple sequential analyses, it is necessary first to prepare the baseline data and the general analysis configuration in AccessMod.

  1. Start Docker desktop
  2. Start AccessMod
  3. In the left panel, go to Settings and select ‘Enable advanced options in modules
  4. To prepare your configuration file, load the required layers and prepare the analysis as usual, in the selected tool. To avoid double computations, select the advanced option ‘Save analysis parameters without computing’. This will save your file names and analysis parameters in a .JSON configuration file.

  5. Finally, export your individual configuration file and the whole project from AccessMod.




  • No labels