Skip to main content

Python for Earth Science.

Project description

PyEarth

DOI Downloads

Every hiker/camper would love to have a leatherman pocket knife around because it is lightweight, versatile and reliable, sometimes life saving.

This is why I developed PyEarth, a lightweight Python package to support various Earth science tasks. I use it in my daily work, and nearly all my research papers use it in some way.

It is supposed to be lightweight, so that you won't be stopped by Conda install because of dependency issues. You can also clone it and just use the functions you need.

It is supposed to be versatile, so that you can use it for various tasks, such as GIS, data processing, plotting, etc.

It is designed to be a general-purpose library as it is inspired by the popular IDL Coyote library. Some of the code structure is inspired by the ArcGIS toolbox.

If you find this package useful, please cite it in your work. You can also support it by buying me a coffee or sponsoring it on [GitHub].

Dependency

PyEarth depends on the following packages

  1. numpy
  2. gdal
  3. matplotlib
  4. cartopy

PyEarth also has optional dependency packages for several functions:

  1. netCDF4 for netCDF support
  2. pandas for pandas dataframes
  3. scipy for scientific computing
  4. statsmodels for statistical analysis

Documentation

Please refer to the documentation for details on how to get started using the PyEarth package.

Installation

PyEarth depends on several other packages, including gdal, which cannot be installed through pip easily. You are recommended to use conda to install dependency if necessary.

conda install pyearth

Content

PyEarth mainly provides many general-purpose funcations to support other libraries. These functions are classified into several categories:

  1. GIS: This component provides major spatial dataset operations.
  2. Toolbox: This component provides many functions for data, date, math, etc.
  3. Visual: This component provides a plotting function for time series, scatter, etc.
  4. System: This component provides system-wide operations.

You can either call these functions through this package, or you can modify them for your own applications.

Acknowledgment

This research was supported as part of the Next Generation Ecosystem Experiments-Tropics, funded by the U.S. Department of Energy, Office of Science, Office of Biological and Environmental Research at Pacific Northwest National Laboratory. The study was also partly supported by U.S. Department of Energy Office of Science Biological and Environmental Research through the Earth and Environmental System Modeling program as part of the Energy Exascale Earth System Model (E3SM) project.

License

Copyright © 2022, Battelle Memorial Institute

  1. Battelle Memorial Institute (hereinafter Battelle) hereby grants permission to any person or entity lawfully obtaining a copy of this software and associated documentation files (hereinafter “the Software”) to redistribute and use the Software in source and binary forms, with or without modification. Such person or entity may use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software and may permit others to do so, subject to the following conditions:
  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimers.

  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

  • Other than as used herein, neither the name Battelle Memorial Institute or Battelle may be used in any form whatsoever without the express written consent of Battelle.

  1. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BATTELLE OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

References

Several publications describe the algorithms used in PyEarth in detail. If you make use of PyEarth in your work, please consider including a reference to the following:

PyEarth is also supporting several other Python packages/projects, including:

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

pyearth-0.1.24.tar.gz (67.5 kB view details)

Uploaded Source

Built Distribution

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

pyearth-0.1.24-py2.py3-none-any.whl (116.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pyearth-0.1.24.tar.gz.

File metadata

  • Download URL: pyearth-0.1.24.tar.gz
  • Upload date:
  • Size: 67.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.8.18

File hashes

Hashes for pyearth-0.1.24.tar.gz
Algorithm Hash digest
SHA256 b58a743cc0058a3d12a56bb9c505d2f15a1cfd8b189aafa8007435deee8626ed
MD5 558f35548aeae1f16efe362ef1a17af5
BLAKE2b-256 df28f7ce26d135851d27070f06d64f68d32d3171d2e9622293107fbc645f101c

See more details on using hashes here.

File details

Details for the file pyearth-0.1.24-py2.py3-none-any.whl.

File metadata

  • Download URL: pyearth-0.1.24-py2.py3-none-any.whl
  • Upload date:
  • Size: 116.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.8.18

File hashes

Hashes for pyearth-0.1.24-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0b2ab17286c32123061f11dc5ecee474fba271d4df9c8eb8f7ef814b1911bc7c
MD5 4c1d022e1eaa8d5864189518b6bb65c9
BLAKE2b-256 2a175302a1cda5a6f8330403e341e0d51fbed6d06d68986ef7b512b68dd3b364

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