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
Last revisionBoth sides next revision
apps:datastudio:comparescenarioscriptdetails [2022/01/11 10:32] freddiapps:datastudio:comparescenarioscriptdetails [2022/01/29 12:15] freddi
Line 8: Line 8:
  
 === General advice === === General advice ===
-  * Both scenarios should use the same meteorological conditions to keep the results compareable+  * Only change one input parameter at once (e.g. for scenario 2: only change the meteorological conditions and keep the model area the same or do it the other way around). Thus, the results are still compareable
   * The area of interest should exist in both scenarios.   * The area of interest should exist in both scenarios.
   * The script output should be shown together with screenshots of both model areas (scenario 1 and scenario 2)    * The script output should be shown together with screenshots of both model areas (scenario 1 and scenario 2) 
Line 97: Line 97:
 Now the timespteps match again. Otherwise you would compare different timesteps. Now the timespteps match again. Otherwise you would compare different timesteps.
  
-== Advanced Settings ==+=== Advanced Settings ===
  
-There is the option that you compare maximum or minimum values instead of the mean values. To do so, change lines 133 - 139 (in current script version) as follows: +There is the option to compare maximum or minimum values instead of the mean values. To do so, change lines 133 - 139 (in current script version) as follows: 
-= Mean vallues (default) =+== Mean vallues (default) ==
 <code python> <code python>
 #vals1 = (np.nanmin(data1, axis=1), "Min.") #vals1 = (np.nanmin(data1, axis=1), "Min.")
Line 111: Line 111:
 </code> </code>
  
-= Maximum values =+== Maximum values ==
 <code python> <code python>
 #vals1 = (np.nanmin(data1, axis=1), "Min.") #vals1 = (np.nanmin(data1, axis=1), "Min.")
Line 122: Line 122:
 </code> </code>
  
-= Minimum values = +== Minimum values =
 <code python> <code python>
 vals1 = (np.nanmin(data1, axis=1), "Min.") vals1 = (np.nanmin(data1, axis=1), "Min.")
Line 136: Line 136:
 If all settings are done, the script is ready to get executed. The output should look like this: If all settings are done, the script is ready to get executed. The output should look like this:
  
-{{:apps:datastudio:compscenoutput.png}}+{{:apps:datastudio:compscenoutput_atm.png}} 
 + 
 +If you would like to analyse pollutant-data instead, an output for e.g. NO2-concentration could look like this: 
 + 
 +{{:apps:datastudio:compscenoutput_polu.png}} 
 + 
 +==== Technical Note ==== 
 +Note that the execution-time of the script may be unexpected high, especially when you compare longer time periods or large areas. This is caused by limited implementation options caused by the Delphi-Python-interface. During execution, the GUI might not be reactive.