Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
apps:datastudio:comparescenarioscriptdetails [2021/11/23 13:46] freddiapps:datastudio:comparescenarioscriptdetails [2022/01/11 08:44] freddi
Line 1: Line 1:
 +==== Requirements ====
 +
 +This script needs **matplotlib** and **numpy** installed. For an instruction how to install python-libraries [[howToInstallPythonLibs| click here]].
 +
 ==== Description ==== ==== Description ====
-The "Compare Scenario Script" analyses an user defined area of interest and compares the values between two given simulation outputs. +The "Compare Scenario Script" analyses an user defined area of interest and compares the values inside this area between two given simulation outputs. 
 The idea of the script is, that the impact of two different planning scenarios on an area of interest is directly compareable. Hence, the script output shows two figures. The upper figure directly compares the values inside the area of interest from scenario 1 with the values inside the area of interest from scenario 2 for each timestep. The lower figure shows the absolute difference between scenario 1 and scenario 2 for each timestep.  The idea of the script is, that the impact of two different planning scenarios on an area of interest is directly compareable. Hence, the script output shows two figures. The upper figure directly compares the values inside the area of interest from scenario 1 with the values inside the area of interest from scenario 2 for each timestep. The lower figure shows the absolute difference between scenario 1 and scenario 2 for each timestep. 
  
Line 71: Line 75:
 {{:apps:datastudio:folder_scen1_atm.png}} {{:apps:datastudio:folder_scen1_atm.png}}
  
-If both scenarios where simulated for the same time period, the indexes between both output folders should match (e.g. the 0 index in both folders(scenario 1 atmosphere folder, scenario 2 atmosphere folder) is dated to 23.06.2018 08:00h). In this case it is enough to edit the following lines:+If both scenarios were simulated for the same time period, the indexes between both output folders should match (e.g. the 0 index in both folders(scenario 1 atmosphere folder, scenario 2 atmosphere folder) is dated to 23.06.2018 08:00h). In this case it is enough to edit the following lines:
 <code python> <code python>
 time_from = 0 time_from = 0