Logo Lanfrica

OCHA-DAP/pa-aa-tcd-flooding

Domaine:

climategeospatial
Créateur:
OCH
Hôte:
Exploration of flooding in Chad # Chad Anticipatory Action: flooding _Update 2024-09-28_: framework has been activated based on GloFAS forecasts. ## Background information Provide a basic overview of the context of anticipatory action in this country. Link to the GDrive Trigger Card document for greater context and details. ## Overview of analysis What is the basic process of the analysis contained within this repository? ## Data description - Where does the data come from? Are there any licensing or usage restrictions? - How can the data be accessed? - Why were these datasets selected? - Are there any limitations with these datasets that one should be aware of when running the analysis and interpreting results? ## Directory structure The code in this repository is organized as follows: ```shell ├── analysis # Main repository of analytical work for the AA pilot ├── docs # .Rmd files or other relevant documentation ├── exploration # Experimental work not intended to be replicated ├── src # Code to run any relevant data acquisition/processing pipelines | ├── .gitignore ├── README.md └── requirements.txt ``` ## Reproducing this analysis Create a directory where you would like the data to be stored, and point to it using an environment variable called `AA_DATA_DIR`. Next create a new virtual environment Install the GloFAS branch of the toolbox with ```shell pip install git+github.com ``` and install the requirements with: ```shell pip install -r requirements.txt ``` Finally, install any code in `src` using the command: ```shell pip install -e . ``` To run the pipeline that downloads and processes the data, execute: ```shell python src/main.py ``` To see runtime options, execute: ```shell python src/main.py -h ``` If you would like to instead receive the processed data from our team, please contact us. ## Development All code is formatted according to black and flake8 guidelines. The …

Licenses