Skip to content

rodekruis/IBF_TYPHOON_DATA_PIPELINE

Repository files navigation

Table of contents

Table of Contents
  1. Typhoon Impact forecasting model
  2. Installation
  3. Running pipeline With Docker
  4. Acknowledgments

Typhoon Impact forecasting model

This tool was developed as a trigger mechanism for the typhoon Early action protocol of the Philippines Red Cross FbF project. The model will predict the potential damage of a typhoon before landfall, and the prediction will be percentage of completely damaged houses per municipality. The tool is available under the GPL license

To run the pipeline, you need access to an Data.zip, and credentiials for 510 Datalake and FTP server. If you or your organization is interested in using the pipeline, please contact 510 Global to obtain the credentials. You will receive a file called secrets, which you need to place in the top-level directory.

The main use of this data pipeline is to update the status of Typhoon IBF portal based on the latest ECMWF forecast. The status of Triggered/Not Triggred is defined based on EAP trigger value. Currently this is based on Average impact. This value can be updated the setting.py file at this line Defult value is Average, other possible values are 50,70 and 90 , which is the percentage of ensamble members passing the treshold.

Installation

  1. Clone the repo
  2. Change /IBF-Typhoon-model/src/typhoonmodel/utility_fun/secrets.py.template to secrets.py and fill in the necessary passwords.
  3. Install Docker-compose follow this link

Running With Docker on local machine

You will need to have docker and docker-compose installed.

Build Container

To build and run the image, ensure you are in the top-level directory and execute:

docker-compose up --build


When you are finished the run

docker-compose down

to remove any docker container(s).

Running with Docker on Azure logicapp

Follow the instraction here there is also a workflow in github action to update docker image in azure registery, which will be the image used in logic app.

Acknowledgments