Notebooks and Python scripts are in the src/scripts/
directory, while the figures themselves are in the src/figures/
directory.
The final regridded and time mean data are in the src/data/
directory.
To recreate the required environment for running Python code, follow these steps. (Skip the first two steps if you have Jupyter with nb_conda_kernels
installed already.)
- Install conda or mamba, e.g. using mambaforge.
- Install necessary packages to the
base
environment. Make sure you are installing them from theconda-forge
channel.
mamba install -c conda-forge jupyterlab nb_conda_kernels
- Git-clone or download this repository to your computer.
- In the command line, navigate to the downloaded folder, e.g.
cd /path/to/downloaded/repository
- Create a separate conda environment (it will be called
lfric_ana
).
mamba env create --file environment.yml
- Start the Jupyter Lab, for example from the command line (from the
base
environment).
jupyter lab
- Open notebooks within the
lfric_ana
environment start running the code.
--------------------------------------------------------------------------------
Date: Wed Apr 05 12:42:43 2023 UTC
OS : Linux
CPU(s) : 192
Machine : x86_64
Architecture : 64bit
RAM : 503.5 GiB
Environment : Python
File system : ext4
Python 3.11.2 | packaged by conda-forge | (main, Mar 31 2023, 17:51:05) [GCC
11.3.0]
aeolus : 0.4.16+15.gd4237f3
dask : 2023.3.2
esmf_regrid : 0.6.0
iris : 3.4.1
matplotlib : 3.7.1
numpy : 1.24.2
stratify : 0.2.post0
--------------------------------------------------------------------------------
@software{denis_sergeev_2023_7818107,
author = {Denis Sergeev},
title = {dennissergeev/lfric\_exo\_bench\_code: Version 0},
month = apr,
year = 2023,
publisher = {Zenodo},
version = {v0},
doi = {10.5281/zenodo.7818107},
url = {https://doi.org/10.5281/zenodo.7818107}
}