Generates forecasted alerts for extreme-precipitation events.
For two accumulation periods of time (24 hours and 48 hours) the main script:
- read and save the accumulated precipitation values to disk (in the DATADIR folder)
- generate and save the alerts file to disk (in the DATADIR folder)
git clone https://github.com/ITHACA-org/aux-accumul.git
or simply download the repository and extract it in your server
- copy the sea/land mask file and the rain-threshold files in the tool_data folder
- edit the config.ini file with proper values
cd aux-accumul
docker build --tag tag_name:version .
You should now have a docker image with that <tag_name>.
docker run -it --volume /path/to/host/data/folder:/home/aux-accumul/data/wrf --name container_name tag_name:version
Please substitute the first part of the --volume switch with the destination host folder, like below
docker start -a container_name
- python-gdal
- numpy
- scipy
- netCDF4
- pysftp
python3 procedure.py