Instructions to run Jupyter Notebooks via terminal
Prerequisites
---------------------------------------------------
Install Miniconda/Anaconda
-Download Miniconda or Anaconda from conda.io
-Run the installer and follow the instructions for your OS.
Linux/macOS: Run the .sh script in the terminal.
bash Miniconda3-latest-Linux-x86_64.sh
Windows: Use the GUI installer and follow the prompts.
---------------------------------------------------
Install Git
- Download Git from https://git-scm.com/downloads and install it.
- Verify the installation via terminal:
git --version
---------------------------------------------------
Clone the Repository
- Open a terminal and navigate to the folder where you want to store the repository.
- Clone the public repository:
git clone https://gitlab.eumetsat.int/eumetlab/data-services/eumetview.git
---------------------------------------------------
Navigate into the cloned directory:
cd eumetview
---------------------------------------------------
Create and Activate the Conda Environment
- Create a new Conda environment:
conda create -n ev_env python=3.10 -y
- Activate the environment:
conda activate ev_env
---------------------------------------------------
Install Jupyter
After activating the Conda environment, install Jupyter:
conda install -c conda-forge jupyter
---------------------------------------------------
Install Dependencies
- Install the required Python libraries:
pip install -r requirements.txt
Or install key libraries manually:
pip install cartopy==0.18.0 earthpy==0.9.2 geopandas==0.8.1 json==0.1.1 \
jupyter==1.0.0 netcdf4==1.5.4 owslib==0.20.0 pandas==1.1.3 \
texttable==1.6.3 xmltodict==0.12.0 opencv-python eumdac \
beautifulsoup4 matplotlib
---------------------------------------------------
Launch Jupyter Notebooks
- Start Jupyter Notebook in the terminal:
jupyter notebook
---------------------------------------------------
You can now view and open one of the notebooks in your browser