### PyEarth
[![DOI](https://zenodo.org/badge/67889575.svg)](https://zenodo.org/badge/latestdoi/67889575)
[![Downloads](https://static.pepy.tech/badge/pyearth)](https://pepy.tech/project/pyearth)
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](https://www.buymeacoffee.com/changliao) 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](https://pyearth.readthedocs.io) 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.
2. 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:
* Chang Liao. (2022). PyEarth: A lightweight Python package for Earth science (Software). Zenodo. https://doi.org/10.5281/zenodo.6109987
PyEarth is also supporting several other Python packages/projects, including:
* Liao et al., (2023). pyflowline: a mesh-independent river network generator for hydrologic models. Journal of Open Source Software, 8(91), 5446, https://doi.org/10.21105/joss.05446
* Liao. C. (2022). HexWatershed: a mesh independent flow direction model for hydrologic models (0.1.1). Zenodo. https://doi.org/10.5281/zenodo.6425881
Raw data
{
"_id": null,
"home_page": "https://github.com/changliao1025/pyearth",
"name": "pyearth",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8.0",
"maintainer_email": null,
"keywords": "Earth Science",
"author": "Chang Liao",
"author_email": "changliao.climate@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/c6/ab/8fc0181ea8b21f472b3684d4f349ba50743d3e5847bff4092841850109e7/pyearth-0.1.26.tar.gz",
"platform": null,
"description": "\n### PyEarth\n\n[![DOI](https://zenodo.org/badge/67889575.svg)](https://zenodo.org/badge/latestdoi/67889575)\n[![Downloads](https://static.pepy.tech/badge/pyearth)](https://pepy.tech/project/pyearth)\n\nEvery hiker/camper would love to have a leatherman pocket knife around because it is lightweight, versatile and reliable, sometimes life saving.\n\nThis is why I developed PyEarth, a lightweight Python package to support various Earth science tasks.\nI use it in my daily work, and nearly all my research papers use it in some way.\n\nIt is supposed to be lightweight, so that you won't be stopped by Conda install because of dependency issues.\nYou can also clone it and just use the functions you need.\n\nIt is supposed to be versatile, so that you can use it for various tasks, such as GIS, data processing, plotting, etc.\n\nIt 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.\n\nIf you find this package useful, please cite it in your work.\nYou can also support it by [buying me a coffee](https://www.buymeacoffee.com/changliao) or sponsoring it on [GitHub].\n\n### Dependency\n\nPyEarth depends on the following packages\n\n1. `numpy`\n2. `gdal`\n3. `matplotlib`\n4. `cartopy`\n\n\nPyEarth also has optional dependency packages for several functions:\n\n1. `netCDF4` for netCDF support\n2. `pandas` for pandas dataframes \n3. `scipy` for scientific computing\n4. `statsmodels` for statistical analysis\n\n### Documentation\n\nPlease refer to the [documentation](https://pyearth.readthedocs.io) for details on how to get started using the PyEarth package.\n\n### Installation\n\n`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.\n\n conda install pyearth\n\n### Content\n\nPyEarth mainly provides many general-purpose funcations to support other libraries.\nThese functions are classified into several categories:\n1. GIS: This component provides major spatial dataset operations.\n2. Toolbox: This component provides many functions for data, date, math, etc.\n3. Visual: This component provides a plotting function for time series, scatter, etc.\n4. System: This component provides system-wide operations.\n\nYou can either call these functions through this package, or you can modify them for your own applications.\n\n### Acknowledgment\n\nThis 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. \n\n### License\n\nCopyright \u00a9 2022, Battelle Memorial Institute\n\n1. 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 \u201cthe Software\u201d) 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:\n\n* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimers.\n\n* 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.\n\n* 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.\n\n2. 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.\n\n\n\n### References\n\nSeveral 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:\n\n* Chang Liao. (2022). PyEarth: A lightweight Python package for Earth science (Software). Zenodo. https://doi.org/10.5281/zenodo.6109987\n\n\nPyEarth is also supporting several other Python packages/projects, including:\n\n* Liao et al., (2023). pyflowline: a mesh-independent river network generator for hydrologic models. Journal of Open Source Software, 8(91), 5446, https://doi.org/10.21105/joss.05446\n\n* Liao. C. (2022). HexWatershed: a mesh independent flow direction model for hydrologic models (0.1.1). Zenodo. https://doi.org/10.5281/zenodo.6425881\n\n\n\n\n",
"bugtrack_url": null,
"license": "custom",
"summary": "Python for Earth Science.",
"version": "0.1.26",
"project_urls": {
"Homepage": "https://github.com/changliao1025/pyearth"
},
"split_keywords": [
"earth",
"science"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "8b3b4b956b19cec33a5da5fe315d9a1531d573c539f6b01db8e975b15a2ceb66",
"md5": "48fe22a86c8d6c3c9e361432c7cd6c4b",
"sha256": "7ec973d325b5ae3a3a81f0ae8936bb6bec10cca48a580047c928db3e73c26125"
},
"downloads": -1,
"filename": "pyearth-0.1.26-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "48fe22a86c8d6c3c9e361432c7cd6c4b",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=3.8.0",
"size": 169988,
"upload_time": "2024-05-09T22:40:23",
"upload_time_iso_8601": "2024-05-09T22:40:23.514582Z",
"url": "https://files.pythonhosted.org/packages/8b/3b/4b956b19cec33a5da5fe315d9a1531d573c539f6b01db8e975b15a2ceb66/pyearth-0.1.26-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c6ab8fc0181ea8b21f472b3684d4f349ba50743d3e5847bff4092841850109e7",
"md5": "cd4dc953912e5fbaad780f3dca47a4aa",
"sha256": "0a2669e9e1c79f30b2e151549be3baebfa8ae798370fee29d6a403806dbdad6c"
},
"downloads": -1,
"filename": "pyearth-0.1.26.tar.gz",
"has_sig": false,
"md5_digest": "cd4dc953912e5fbaad780f3dca47a4aa",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8.0",
"size": 100869,
"upload_time": "2024-05-09T22:40:24",
"upload_time_iso_8601": "2024-05-09T22:40:24.897898Z",
"url": "https://files.pythonhosted.org/packages/c6/ab/8fc0181ea8b21f472b3684d4f349ba50743d3e5847bff4092841850109e7/pyearth-0.1.26.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-09 22:40:24",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "changliao1025",
"github_project": "pyearth",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "pyearth"
}