Skip to content

Commit

Permalink
Merge pull request #62 from CIAT-DAPA/develop
Browse files Browse the repository at this point in the history
fixed readme
  • Loading branch information
stevensotelo authored Sep 14, 2023
2 parents 77ceb7f + 23b9ec1 commit e4ef942
Showing 1 changed file with 1 addition and 23 deletions.
24 changes: 1 addition & 23 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,38 +14,16 @@ This repository contains all related to resampling module for AClimate
## Prerequisites

- Python 3.x
- GDAL
- You need the .cdsapirc file which should be in $HOME if you are using linux or User Home if you use Windows

## Configure DEV Enviroment

You should create a env to run the code and install the requeriments.

### Linux

Run the following commands in the prompt
You should create a env to run the code and install the requeriments. Run the following commands in the prompt

````bash
sudo add-apt-repository -y ppa:ubuntugis/ppa
sudo apt-get update -q
sudo apt-get install -y libgdal-dev

pip install virtualenv
venv env
pip install -r requirements.txt

pip install GDAL==$(gdal-config --version) --global-option=build_ext --global-option="-I/usr/include/gdal"
````

### Windows

You have to edit the **requirements_windows.txt** file. Change the path of the wheels for
**GDAL** and **rasterio** package for the path of the files in **modules**. It should be absolute path.

````bash
pip install virtualenv
venv env
pip install -r requirements_windows.txt
````

## Run Test
Expand Down

0 comments on commit e4ef942

Please sign in to comment.