User Tools

Site Tools


en:wxsim

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
en:wxsim [2015/09/17 12:15]
127.0.0.1 external edit
en:wxsim [2015/09/17 14:04] (current)
wvdkuil
Line 22: Line 22:
  
 If you change a setting and want to test if this change is reflected in the generated output on the screen, you have to discard the intermediate file in the cache. Because as long as the cached file is valid only small parts of the scripts are executed.</​WRAP>​ If you change a setting and want to test if this change is reflected in the generated output on the screen, you have to discard the intermediate file in the cache. Because as long as the cached file is valid only small parts of the scripts are executed.</​WRAP>​
 +
 ==== WXSIM Settings in wsUserSettings.php ​ ==== ==== WXSIM Settings in wsUserSettings.php ​ ====
 There are multiple settings to either set which script must be run and what type of output has to be displayed. There are multiple settings to either set which script must be run and what type of output has to be displayed.
Line 27: Line 28:
 :?: **Will WXSIM be used to display a forecast on the startpage?​** :?: **Will WXSIM be used to display a forecast on the startpage?​**
 <​code>​ <​code>​
-$SITE['fctOrg' 'wxsim';​ // ​ you have to use this paid program on a PC</​code>​ +$SITE["fctOrg"        ​"wxsim";
-and if so what type of forecast (icons only of a meteogram and multiple tabs with tabular data) +
-<​code>​ +
-$SITE['​fctContent'​] = '​icons';​  ​  +
-#​$SITE['​fctContent'​] = '​meteogram'​+
 </​code>​ </​code>​
-For region Europe the choice is default set set to the Met.no forecast. You can adjust this by setting a commentmark at metno and removing the one for wxsim. ​ 
-Be aware that for the regions canada and america there are default forecast set in their regional part of your settings. 
  
 :?: **Do we want a WXSIM  forecast page (in the menu)?** :?: **Do we want a WXSIM  forecast page (in the menu)?**
-<​code>#​--------------------------------------------------------------------------- +<​code>​ 
-IMPORTANT ​    W X S I M  ​extra (paid) program to be run on a PC +#​--------------------------------------------------------- 
-#--------------------------------------------------------------------------- +Extra weather-programs used for this station 
-+#​--------------------------------------------------------- 
-$SITE['wxsimPage'] = true // ####+ 
 +# WXSIM weather-forecasting 
 +$SITE["wxsimPage"     false               true = Yes, we use the WXSIM paid program to make our weather-forecasts ​ |  false = Do not display
 </​code>​ </​code>​
 +
 There are now multiple settings to find the right scripts and the data these scripts has to process. There are now multiple settings to find the right scripts and the data these scripts has to process.
 <​code>​ <​code>​
-$SITE['wxsimData'] = '../'; // root folder ​  ##### ​ Were do lasteret.txt plaintext.txt and or latest.csv are uploaded to +$SITE["wxsimData"     "../"
-# normaly leave rest as is +$SITE["wxsim_file"]     ​= ​"latest.csv"        # latest.csv ​= lates.csv file will be used  |  ​lastret.txt = lastret.txt ​file will be used 
-$SITE['wxsim_file']     ​= ​'latest.csv'// either ​latest.csv ​(all availabler fields) or lastret.txt ​can be used +$SITE["wxsimIconsOwn" = false; ​               # false = Use template standard ​icons  ​|  ​true = Use YrNo icons
-#​$SITE['​wxsim_file'​] ​    'lastret.txt'; +
-$SITE['wxsimIconsOwn'] = false; ​  // use wxsim icons (true) or our template ​icons (false) +
-$SITE['​wxsimDir'​] = '​./​wsWxsim/';​+
 </​code>​ </​code>​
-=== $SITE['wxsimData'] - Where are the WXSIM files on your webserver uploaded to ===+=== $SITE["wxsimData"] - Where are the WXSIM files on your webserver uploaded to ===
 Normaly the files **$SITE['​wxsimData'​] ** are already uploaded to **'​../'​** the root of your site. If you have them uploaded to another place, specify the correct place here. Normaly the files **$SITE['​wxsimData'​] ** are already uploaded to **'​../'​** the root of your site. If you have them uploaded to another place, specify the correct place here.
-=== $SITE['wxsim_file'] -Which data set to use ===+=== $SITE["wxsim_file"] -Which data set to use ===
 There are two data sets abailable for upload when running WXSIM. ​ There are two data sets abailable for upload when running WXSIM. ​
   - **latest.csv** is the file with the largest number of data fields and   - **latest.csv** is the file with the largest number of data fields and
   - **lastret.txt** which is smaller ​   - **lastret.txt** which is smaller ​
 Normaly you use latest.csv but if there is a problem / program error in WXSIM you can switch to the other file. Normaly you use latest.csv but if there is a problem / program error in WXSIM you can switch to the other file.
-=== $SITE['wxsimIconsOwn'] - Which icons to use ===+=== $SITE["wxsimIconsOwn"] - Which icons to use ===
 Here you can choose between the yrno isons or the default template icons. Here you can choose between the yrno isons or the default template icons.
  
en/wxsim.txt · Last modified: 2015/09/17 14:04 by wvdkuil