Skip to main content

A collection of various tools for data analysis built on top of xarray and xgcm

Project description

Build Status codecov License:MIT pypi conda-forge

A collection of various tools for data analysis built on top of xarray and xgcm

This package contains a variety of utility functions I have used in the past few years for data analysis.

Please be aware that I am currently refactoring a lot of the code, which might cause breaking changes.

Hopefully soon it will be better tested and documented.

Installation

To install from source use pip:

pip install git+https://github.com/jbusecke/xarrayutils.git

Make sure to install these packages to your environment conda install astropy gsw cartopy

In order to use dask > 2.0 you need the newest upstream xarray version. For xarray <= 0.14.1, please downgrade to dask < 2.0

Contents (not complete yet)

Converting between vertical coordinate systems

xarrayutils.vertical_coordinates provides several tool to move between various vertical ocean grids, e.g. z, density, sigma or hybrid coordinates. See this notebook for an early example.

Plotting utilities

xarrayutils.plotting provides several small utility functions to make common tasks I find in my workflow in matplotlib easier. Examples

Utilities for large scale climate data analysis

xarrayutils.utils provides some helpful tools to simplify common tasks in climate data analysis workflows. This notebook, provides some examples on how to use linear regression, work with multi-member data and seperate mixed layer values.

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

xarrayutils-0.1.4.tar.gz (1.0 MB view hashes)

Uploaded Source

Built Distribution

xarrayutils-0.1.4-py3-none-any.whl (60.1 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