Skip to main content

Utilities for SMYLE Analysis

Project description

ESP-Lab

Badges

CI GitHub Workflow Status Code Coverage Status
Docs Documentation Status
Package Conda PyPI
License License

Overview

ESP-Lab is an Earth System Predictions Python package that was originally designed to enable users to effectively perform I/O operations and statistics on SMYLE (The Seasonal-to-Multiyear Large Ensemble) data. It provides a foundation for analysis of multiyear prediction of environmental change.

Some of the challenges with multiyear prediction that ESP-Lab addresses include working with lead times ranging from 1 month to 2 years, as well as efficiently analyzing large ensembles.

This package provides utilities which support input/output processes such as methods to return dictionaries of filepaths keyed by initialization year, nested lists of files for particular start years and ensemble members, and dask arrays containing particular hindcast ensembles. ESP-Lab also provides preprocessing which can assist in using intake-esm in conjunction with other data_access functions.

ESP Lab also enables statistics calculations through functions providing tools to perform linear detrending along a particular axis, determine skill metrics based on model and observation DataArrays, and generate a distribution of skill scores using a smaller ensemble member size.

Installation

ESP_Lab can be installed from PyPI with pip:

pip install esp-lab

Note: If you use pip to install esp-lab, you can install esp-lab directly into a pre-existing conda environment (after doing conda activate <environment_name> and any requirements that you do not already have will be added automatically to that environment during installation. Another option is to create a new environment, for instance with conda env create --name esp-lab and then activate that environment with conda activate esp-lab. At that point, you are ready to install esp-lab into the new environment with python -m pip install esp-lab.

One can also install esp-lab as a developer by following these steps:

  1. git clone https://github.com/CESM-ESPWG/ESP-Lab.git
  2. cd ESP-Lab
  3. conda env create --file environment.yml
  4. conda activate esp-lab
  5. pip install -e .

Documentation can be found at esp-lab.readthedocs.io

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

esp-lab-1.1.1.tar.gz (3.7 MB view hashes)

Uploaded Source

Built Distribution

esp_lab-1.1.1-py3-none-any.whl (14.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page