pyMETRIC
A set of Python based tools developed for estimating and mapping evapotranspiration for large areas, utilizing the Landsat image archive.
https://github.com/WSWUP/pymetric
Category: Hydrosphere
Sub Category: Freshwater and Hydrology
Last synced: about 13 hours ago
JSON representation
Repository metadata
Python implementation of the METRIC model
- Host: GitHub
- URL: https://github.com/WSWUP/pymetric
- Owner: WSWUP
- License: apache-2.0
- Created: 2018-05-10T23:57:09.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T20:18:36.000Z (over 2 years ago)
- Last Synced: 2025-04-10T05:38:18.944Z (18 days ago)
- Language: Python
- Size: 195 MB
- Stars: 34
- Watchers: 10
- Forks: 15
- Open Issues: 35
- Releases: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
README.md
pyMETRIC
pyMETRIC is a set of Python based tools developed for estimating and mapping evapotranspiration (ET) for large areas, utilizing the Landsat image archive. This framework currently computes ET estimates using the METRIC surface energy balance model, developed at the University of Idaho.
In order to produce ET estimates, pyMETRIC produces ancillary rasters from Landsat data products. These products are stored within the pyMETRIC data structure, and may be useful for tasks tangentially related to ET mapping. The raster datasets produced during typical processing include the following:
- Albedo
- LAI (Leaf Area Index)
- NDVI (Normalized Difference Vegetation Index)
- NDWI (Normalized Difference Water Index)
- Top of Atmosphere Reflectance
In addition to creating ET maps from Landsat images, pyMETRIC includes functionality to interpolate annual/seasonal/monthly ET maps, from individually processed ET maps.
Install
Details on installing pyMETRIC, Python, and necessary modules can be found in the installation instructions.
Example
A detailed walk-through on the setup and operation of pyMETRIC has been assembled in the following series of documentation. These examples are setup to process a portion of the Harney Basin, located in eastern Oregon. The documentation is contained in the following links:
References
- Satellite-Based Energy Balance for Mapping Evapotranspiration with Internalized Calibration (METRIC)-Model
- Satellite-Based Energy Balance for Mapping Evapotranspiration with Internalized Calibration (METRIC)-Applications
- Assessing calibration uncertainty and automation for estimating evapotranspiration from agricultural areas using METRIC
Limitations
METRIC requires an assemblage of several datasets in order to produce accurate estimates of evapotranspiration. The pyMETRIC framework serve to download and process the required data. Please note that this code is written for the data as it is currently provided, however the data and it’s formatting is controlled by the data providers and by third-party hosts. The maintainers of pyMETRIC will attempt to keep the package functional, however changes in the data and data availability may impact the functionality of pyMETRIC.
Directory Structure
When initially downloading or cloning pyMETRIC, this directory does not contain data necessary for estimating ET. As python scripts are ran as prescribed in "Data Preparation" and "Project Setup", the top level directory will be populated with additional directories containing support data. These folders will be assigned names according to the directory contents (eg. "cdl", "dem", "gridmet", etc...). Ideally these data directories will be populated with project-agnostic data (example. "dem" may contain a digital elevation model (DEM) for the entire continental United States). The support data will be processed by pyMETRIC, which will isolate and subset the relevant data for processing.
To serve as an example the "example" directory is included in the top-level directory. The "example" directory is an example of a "project directory", which should contain information specific to your chosen study area or area of interest. As pyMETRIC is ran according to "Running METRIC", the processed data will be stored within the project directory.
Owner metadata
- Name: Western States Water Use Program (WSWUP)
- Login: WSWUP
- Email:
- Kind: organization
- Description: WSWUP housed at the Desert Research Institute aims to advance crop and open water use estimates through observations and open modeling tools
- Website: https://www.dri.edu/western-states-water-use-program
- Location: Reno, NV
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/23201768?v=4
- Repositories: 9
- Last ynced at: 2023-03-07T14:56:14.002Z
- Profile URL: https://github.com/WSWUP
GitHub Events
Total
- Watch event: 2
Last Year
- Watch event: 2
Committers metadata
Last synced: 8 days ago
Total Commits: 140
Total Committers: 6
Avg Commits per committer: 23.333
Development Distribution Score (DDS): 0.25
Commits in past year: 0
Committers in past year: 0
Avg Commits per committer in past year: 0.0
Development Distribution Score (DDS) in past year: 0.0
Name | Commits | |
---|---|---|
Charles Morton | c****n | 105 |
Matt Bromley | m****b@g****m | 20 |
Chris Pearson | c****n@d****u | 11 |
Matt Bromley | m****y@d****u | 2 |
Blankenau | P****u@d****v | 1 |
David Ketchum | d****m | 1 |
Committer domains:
- dri.edu: 2
- dwrprod.idaho.gov: 1
Issue and Pull Request metadata
Last synced: 1 day ago
Total issues: 75
Total pull requests: 10
Average time to close issues: 20 days
Average time to close pull requests: about 2 months
Total issue authors: 22
Total pull request authors: 4
Average comments per issue: 0.92
Average comments per pull request: 0.7
Merged pull request: 5
Bot issues: 0
Bot pull requests: 0
Past year issues: 0
Past year pull requests: 0
Past year average time to close issues: N/A
Past year average time to close pull requests: N/A
Past year issue authors: 0
Past year pull request authors: 0
Past year average comments per issue: 0
Past year average comments per pull request: 0
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- cgmorton (29)
- mattyrb (14)
- davidj1s (3)
- kenmartey (3)
- melcherton (3)
- dgketchum (3)
- cpearson1 (2)
- beamerj (2)
- cferrantelli (2)
- pixienat (2)
- shrestha2019 (1)
- Ahmed-Rabia (1)
- cwdunkerly (1)
- khmara-breeze (1)
- vbhvcrpn (1)
Top Pull Request Authors
- dgketchum (5)
- cgmorton (3)
- pblankenau2 (1)
- cpearson1 (1)
Top Issue Labels
- enhancement (1)
Top Pull Request Labels
Package metadata
- Total packages: 2
- Total downloads: unknown
- Total dependent packages: 0 (may contain duplicates)
- Total dependent repositories: 0 (may contain duplicates)
- Total versions: 2
proxy.golang.org: github.com/WSWUP/pymetric
- Homepage:
- Documentation: https://pkg.go.dev/github.com/WSWUP/pymetric#section-documentation
- Licenses: apache-2.0
- Latest release: v0.1.0 (published almost 7 years ago)
- Last Synced: 2025-04-26T13:32:22.085Z (1 day ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 6.999%
- Average: 8.173%
- Dependent repos count: 9.346%
proxy.golang.org: github.com/wswup/pymetric
- Homepage:
- Documentation: https://pkg.go.dev/github.com/wswup/pymetric#section-documentation
- Licenses:
- Latest release: v0.1.0 (published almost 7 years ago)
- Last Synced: 2025-04-26T13:32:22.228Z (1 day ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 6.999%
- Average: 8.173%
- Dependent repos count: 9.346%
Dependencies
- configparser *
- drigo >=0.1.4
- future ==0.16.0
- gdal >=2.2.3
- matplotlib >=2.1.1
- netCDF4 >=1.3.1
- numpy >=1.14.0
- pandas >=0.22.0
- refet >=0.3.7
- requests >=2.2.0
- requests-html >=0.10.0
- scipy >=1.0.0
Score: -Infinity