- For Windows, download the executable here
- For Linux (Ubuntu), in the terminal run:
sudo apt-get update sudo apt-get upgrade sudo apt-get install wget wget -c -r https://repo.anaconda.com/archive/Anaconda3-2023.07-1-Linux-x86_64.sh --no-check-certificate
- Install anaconda
bash https://repo.anaconda.com/archive/Anaconda3-2023.07-1-Linux-x86_64.sh
- Install anaconda
For Windows, run Anaconda prompt, and for Linux, launch the terminal. Copy and paste this code:
conda create -n RCC_WAS_ESF
conda activate RCC_WAS_ESF
- Create an account with Copernicus by signing up here
- Once you successfully create an account, kindly log in to your Copernicus account here and note your
UID
andAPI key
.
In your activated terminal, where the RCC_WAS_SF environment is active, kindly initiate the Python interpreter by entering the command python3
. Subsequently, carefully copy and paste the below code, ensuring to replace "UID" and "API_KEY" with yours.
import os
config_data = '''url: https://cds.climate.copernicus.eu/api/v2
key: UID:API_KEY
verify: 0
'''
path_to_home = "/".join([os.path.expanduser('~'),".cdsapirc"])
if not os.path.exists(path_to_home):
with open(path_to_home, 'w') as file:
file.write(config_data)
Quit python3
using ctrl+D
pip install xarray==2022.11.0
pip install cdsapi
pip install pandas
conda install jupyter
pip install rasterio
pip install rioxarray
python -m ipykernel install --user --name=RCC_WAS_ESF
conda install -c r r-essentials r-irkernel
conda install r-rgeos
conda install r-rgdal
conda install -c r r-sf
conda install -c r-stars
conda install -c r r-tidyverse
conda install -c r r-scales
conda install -c r r-lubridate
conda install -c r r-foreach
conda install -c r r-doParallel
conda install -c r r-raster
conda install -c r r-ncdf4