Integrated Weather Radar System (SIRM)
The Integrated Weather Radar System (SIRM) is a web application which allows the configuration of SOPHy<sup>1</sup> radar devices as required by the experiment. This app allows the creation of Experiment and Device Configurations (Pedestal, Generator, USRP Rx and USRP Tx).
For more information visit: https://doi.org/10.5281/zenodo.5571130.
<sup>(1)</sup> Scanning-system for Observation of Peruvian Hydrometeorological-events
Installation
We recommend use docker/docker-compose for test/production but you can install the aplication as a normal django app.
1. Download
Download the application radarsys_met to your workspace
$ cd /path/to/your/workspace $ git clone http://intranet.igp.gob.pe:8082/radarsys_met && cd radarsys_met
2. Config app
Update enviroment vars (/path/to/radarsys/.env)
REDIS_HOST=radarsys-redis REDIS_PORT=6300 POSTGRES_DB_NAME=radarsys POSTGRES_PORT_5432_TCP_ADDR=radarsys-postgres POSTGRES_PORT_5432_TCP_PORT=5400 POSTGRES_USER=docker POSTGRES_PASSWORD=**** PGDATA=/var/lib/postgresql/data LC_ALL=C.UTF-8
3. Build application & make migrations (only once at installation)
You should maybe run the commands using sudo
$ cd /path/to/radarsys_met
$ docker-compose build
$ docker-compose run web python manage.py makemigrations
$ docker-compose run web python manage.py migrate
$ docker-compose run web python manage.py collectstatic
4. Run containers
$ docker-compose up -d