Skip to main content

Diffusion-based Spatial Filtering of Gridded Data

Project description

GCM Filters

Tests codecov pre-commit Documentation Status Conda Version PyPI version Downloads DOI

GCM-Filters: Diffusion-based Spatial Filtering of Gridded Data

Description

GCM-Filters is a python package that performs spatial filtering analysis in a flexible and efficient way. The GCM-Filters algorithm applies a discrete Laplacian to smooth a field through an iterative process that resembles diffusion (Grooms et al., 2021). The package can be used for either gridded observational data or gridded data that is produced by General Circulation Models (GCMs) of ocean, weather, and climate. Such GCM data come on complex curvilinear grids, whose geometry is respected by the GCM-Filters Laplacians. Through integration with dask, GCM-Filters enables parallel, out-of-core filter analysis on both CPUs and GPUs.

Installation

GCM-Filters can be installed using conda:

conda install -c conda-forge gcm_filters

GCM-Filters can also be installed with pip:

pip install gcm_filters

Getting Started

To learn how to use GCM-Filters for your data, visit the GCM-Filters documentation.

Binder Demo

Click the button below to run an interactive demo of GCM-Filters in Binder:

badge

Get in touch

Report bugs, suggest features or view the source code on GitHub.

License and copyright

GCM-Filters is licensed under version 3 of the Gnu Lesser General Public License.

Development occurs on GitHub at https://github.com/ocean-eddy-cpt/gcm-filters.

How to cite GCM-Filters

If you are using GCM-Filters and would like to cite it in academic publications, we would certainly appreciate it. We recommend two citations.

  • Loose et al., (2022). GCM-Filters: A Python Package for Diffusion-based Spatial Filtering of Gridded Data. Journal of Open Source Software, 7(70), 3947, https://doi.org/10.21105/joss.03947

    Here’s an example of a BibTeX entry:

    @article{Loose2022,
       author = {Nora Loose and Ryan Abernathey and Ian Grooms and Julius Busecke and Arthur Guillaumin and Elizabeth Yankovsky and Gustavo Marques and Jacob Steinberg and Andrew Slavin Ross and Hemant Khatri and Scott Bachman and Laure Zanna and Paige Martin},
       title = {GCM-Filters: A Python Package for Diffusion-based Spatial Filtering of Gridded Data},
       journal = {Journal of Open Source Software},
       volume = {7},
       number = {70},
       pages = {3947},
       doi = {10.21105/joss.03947},
       url = {https://doi.org/10.21105/joss.03947},
       year = {2022},
       publisher = {The Open Journal},
    }
    
  • Grooms et al., (2021). Diffusion-Based Smoothers for Spatial Filtering of Gridded Geophysical Data. Journal of Advances in Modeling Earth Systems, 13, e2021MS002552, https://doi.org/10.1029/2021MS002552

    Here’s an example of a BibTeX entry:

    @article{Grooms2021,
       author = {Grooms, I. and Loose, N. and Abernathey, R. and Steinberg, J. M. and Bachman, S. D. and Marques, G. and Guillaumin, A. P. and Yankovsky, E.},
       title = {Diffusion-Based Smoothers for Spatial Filtering of Gridded Geophysical Data},
       journal = {Journal of Advances in Modeling Earth Systems},
       volume = {13},
       number = {9},
       pages = {e2021MS002552},
       keywords = {spatial filtering, coarse graining, data analysis},
       doi = {https://doi.org/10.1029/2021MS002552},
       url = {https://agupubs.onlinelibrary.wiley.com/doi/abs/10.1029/2021MS002552},
       year = {2021}
    }
    

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

gcm_filters-0.3.0.tar.gz (9.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gcm_filters-0.3.0-py3-none-any.whl (19.2 kB view details)

Uploaded Python 3

File details

Details for the file gcm_filters-0.3.0.tar.gz.

File metadata

  • Download URL: gcm_filters-0.3.0.tar.gz
  • Upload date:
  • Size: 9.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for gcm_filters-0.3.0.tar.gz
Algorithm Hash digest
SHA256 68d50b011d0dd3113dd66a7fd6d1c81797cc70dfa812fb5a1b8d1a58f36f7208
MD5 3eb16c1e38f7df153d63f9a36fd057c7
BLAKE2b-256 71624fa997646729a9b70ab7d07a2ad08c3320244bed2f6b3877a9e8f3e05dae

See more details on using hashes here.

File details

Details for the file gcm_filters-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: gcm_filters-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 19.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for gcm_filters-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fa5ae611d39961ac68e72a5bb60806f9c178c1e581ee7512c0b4979f98f0b95e
MD5 4046c9674280a9237d5582db5802c282
BLAKE2b-256 76176b46dccb14a5ded9116f199a7a979327201137a296263e60264bd0f7dbb7

See more details on using hashes here.

Supported by

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