/pycsep_workshop_statsei24

Primary LanguageJupyter NotebookBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

pyCSEP - StatSei Workshop

Objective

This workshop is about testing earthquake forecasts and perform evaluations with the pyCSEP software toolkit. The objective is to familiarize the participants with the basic functionalities of the software, and to provide a hands-on experience with the software. The workshop is divided into two parts: (1) a brief introduction to the software and its functionalities, and (2) a series of tutorials to perform evaluations of earthquake forecasts.

Setting up

💡 TL, DR

git clone https://github.com/cseptesting/pycsep_workshop_statsei24
cd pycsep_workshop_statsei24
conda env create -f environment.yml && conda activate pycsep_statsei

Instructions

  • Clone or download this repository to your computer.
  • Set up Python and Conda using the Miniforge or MiniConda distributions, following the instructions in the links.
  • Open a terminal window on your computer (in windows, open Miniforge Prompt or Anaconda Prompt). Confirm that your Conda software is running by a command, e.g.:
     conda --version
    Alternatively, you can use the pip python manager if desired (we recommend however using Conda, which handles better the required system library dependencies).
  • Install pyCSEP following the installation instructions.
  • Install the jupyter notebook package in the same environment where you installed pyCSEP:
    conda install -c conda-forge -y jupyterlab

Running the tutorials

  • Open a terminal window on your computer and navigate to the directory where you cloned or downloaded this repository.
  • Start the Jupyter notebook server by typing:
    jupyter lab
  • A new tab in your web browser should open, showing the contents of the directory where you cloned or downloaded this repository. Open one of the notebooks in the tutorials directory.
  • Follow the instructions in the notebook to complete the workshop.

Troubleshooting