CHEERSNetworkClimate & health

Home / Resources / Weather station

CHEERS technical resources · WindChaser

Configuring the Software

WindChaser technical documentation: Configuring the Software. Original instructions, component references and source limitations.

Original documentation: Min Tai Yap and Julian Walker · © 2025. Migrated to CHEERS on 3 December 2026. This is working documentation; unresolved source gaps remain visible.

Technical manual
On this page

Our software contains some parameters contained in JSON files inside the parameter folder of the project that have to be set manually. These split into three different categories

  • Calibration and configuration parameters in parameters.json

  • Partly credential information used for communicating with the remote server in remote_details.json

  • File and folder paths used by our software in user_path.json

For some of the values in the first file, you can use the default values if you are using the same or equivalent components for the weather station and the same deployment region. If that is not the case, you should check if these values still apply. Only the parameter south_degree must always be manually set, as it depends on the exact alignment of your weather station. parameters.json also stores how you want to name your weather station. The parameters in the remote_details.json have to be set regardless of whether you have manually configured the Raspi or set it up using our image. user_path.json only has to be changed if you set up the weather station manually, our image already comes with all file paths correctly set. Though, this file has to be adapted if you plan to do any changes to the file paths used by our software.

We recommend you to switch off both the jobs scheduled by cron as well as the main runner service until you deploy the weather station to avoid that the software gathers any premature measurements and sends them to the remote server. On our image, both will come disabled.

To disable the main runner service, simply execute

sudo systemctl disable main_runner.service

and make sure to stop it if it is currently running

sudo systemctl stop main_runner.service

The service can be rescheduled using

sudo systemctl enable main_runner.service

and if you do not want to reboot your Raspi, you can restart it by

sudo systemctl start main_runner.service

To disable the jobs schedules by cron, you need to remove the tasks in the crontab file. The easiest way to do so is to create a backup copy of your crontab file and to delete the crontab file. First create the backup copy by executing

crontab -l > /home/pi/Desktop/crontab-backup

and then remove all tasks by executing

crontab -r

The crontab schedule can be later recovered by executing

crontab /home/pi/Desktop/crontab-backup

Note that this will stop any cron jobs, also the ones you may have set up for other purposes than the weather station. If you do not wish to stop them, you can also edit the crontab file by

crontab -e

and comment all lines associated with scripts from our software.

Calibration and Configuration Parameters

Set the following parameters according to your needs in the parameters.json file. In both the image and the code from the repository, these parameters are preset.

  • ws_name: Name of the weather station (handy when using multiple weather stations), will be used for naming the data files, in quotation marks, defaults to “WindChaser1”

  • wind_cf: Primary calibration factor for the wind speed measured in our lab, as a floating point number, we use 0.96

  • wind_cf_10: Secondary calibration factor for the wind speed based on the meteorological department with surface wind speed measured in 10m height, as a floating point number, we use 3.172

  • interval: Interval at which the main runner reads and records all sensor readings, as an integer in seconds, we use 60; The main runner is run continuously to ensure data continuity, but it doesn’t read inputs from every sensor or record data everytime it’s run

  • hall_pin_rain: Raspi GPIO pin for Hall effect sensor of the rain gauge, as an integer, we use pin 20

  • hall_pin_wind: Raspi GPIO pin for Hall effect sensor of the anemometer, as an integer, we use pin 21

  • rain_scoop: Volume in ml of water needed to tip a bucket in the rain gauge, as a floating point number, we use 3.15

  • rain_cali: Calibration factor for the measured rain, as a floating point number, currently we use 1.0

  • funnel_area: Area covered by the funnel in mm², as a floating point number, for our 3D-printed funnel it is 25446.9

  • sea_level_pressure: The sea level pressure in hPa in the deployment region, as a floating point number, for our deployment region it is 1013.25

  • south_deg: Degree measured by the wind vane if the wind vane is facing perfectly south to calibrate the wind direction readings; Must be always set; As an integer describing the degree, for us we measured it as 24

File Transmission Parameters

The parameters in remote_details.json must be set both when using the image and when setting up the Raspi yourself. These consist of

  • rs_name: The username with which you access the remote server, in quotation marks, e.g. "user"

  • rs_address: The global IPv4 address of your remote server, in quotation marks, e.g. "8.8.8.8"

  • rs_dir: Path to directory in which the data will be stored on the remote server, in quotation marks, e.g. "/home/user/windchaser_data"

  • ssh_key_private: Path to the private SSH key generated on your Raspi, in quotation marks, e.g. "/home/path/sv2_rsa"

  • ssh_key_public: Path to the public SSH key generated on your Raspi, in quotation marks, e.g. "/home/path/sv2_rsa.pub"

File and Folder Path Parameters

user_path.json will already be preset when using the image. The parameters must only be configured when you set up the Raspi yourself. We provide the default values that apply if you have used the same paths as in our manual.

  • main_file: Program name of the main runner to prevent it being run twice in parallel, as a string, e.g., if the program is pip installed, "wind_chaser_software.mr_V6"

  • vol_name: Programe name of the voltage reader to prevent it being run twice in parallel, as a string, e.g., if the program is pip installed, "wind_chaser_software.voltage_reader"

  • vol_log_name: Name of the file where voltage data is stored, as a string, we use "battery_voltage.csv", so the name of the data files will be of the form {current_data}_battery_voltage.csv

  • vol_path: Path to the directory in which the voltage data is recorded, as a string, e.g., "/home/pi/windchaser_data/battery_voltage"

  • ds: List of paths to directories the data is saved to; We recommend to keep at least one local version on your Raspi and at least one on an external hard drive; Each path should be given as a string, e.g., ["/home/pi/windchaser_data", "/media/pi/external_drive"]

  • local_ds: Path as a string to one of the local directories the data is saved to; This directory will be used to transmit data to the remote server, e.g. "/home/pi/windchaser_data"