pyRTE-RRTMGP Tutorials

The pyRTE-RRTMGP repository contains a number of tutorials and examples in the form of Jupyter notebooks. These notebooks are located in the examples folder of the repository.

The tutorials are designed to help you get started with using pyRTE-RRTMGP and to demonstrate how to use the package.

Setting up the Tutorial Notebooks

Follow these steps to run the tutorial notebooks:

  1. Clone the repository (if you haven’t already):

    git clone https://github.com/earth-system-radiation/pyRTE-RRTMGP.git
    
  2. Create a virtual environment with the pyRTE-RRTMGP package and notebook dependencies:

    After cloning the repository, enter the root directory to install the software needed to run the notebooks:

    cd pyRTE-RRTMGP
    mamba env create -f example-notebooks-interactive.yml
    mamba activate pyrte_notebooks
    

    Subdirectories with more complicated or longer-running examples might have their own environment file and create a bespoke environment.

  3. Start the Jupyter notebook server:

    jupyter notebook
    

    This will open a new tab in your web browser with the Jupyter notebook interface. You can navigate to the examples folder and open the tutorial notebooks from there.