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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file esp-lab-1.1.1.tar.gz.

File metadata

  • Download URL: esp-lab-1.1.1.tar.gz
  • Upload date:
  • Size: 3.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.4

File hashes

Hashes for esp-lab-1.1.1.tar.gz
Algorithm Hash digest
SHA256 8143425e3503007d16013e5460411fc6b33de00c9a442042413d4045e9f3329d
MD5 bf6a48923606d7ea99421f602a640163
BLAKE2b-256 f089fb9cf8225991b69ec79b172244823a39b5dbdcde0025956eae5443557ee1

See more details on using hashes here.

File details

Details for the file esp_lab-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: esp_lab-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 14.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.4

File hashes

Hashes for esp_lab-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d3ea386b4c21bc5746ec10e2685d1d095d47391e0199896b103396b60f11a2d6
MD5 abcb22198452932920324f9d3dc967a8
BLAKE2b-256 9af05d5282b295a8cc3ea1aba131a1b162100ad9e84e70fa1a2f327f04be7236

See more details on using hashes here.

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