pymetric

Python implementation of the METRIC model

https://github.com/WSWUP/pymetric

Science Score: 57.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
    2 of 8 committers (25.0%) from academic institutions
  • Institutional organization owner
    Organization wswup has institutional domain (www.dri.edu)
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.7%) to scientific vocabulary
Last synced: 9 months ago · JSON representation

Repository

Python implementation of the METRIC model

Basic Info
  • Host: GitHub
  • Owner: WSWUP
  • License: apache-2.0
  • Language: Python
  • Default Branch: master
  • Size: 195 MB
Statistics
  • Stars: 37
  • Watchers: 10
  • Forks: 16
  • Open Issues: 36
  • Releases: 1
Created about 8 years ago · Last pushed 10 months ago
Metadata Files
Readme License

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: 1. Data Preparation 2. Project Setup 3. Running METRIC

References

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

  • Name: Western States Water Use Program (WSWUP)
  • Login: WSWUP
  • Kind: organization
  • Location: Reno, NV

WSWUP housed at the Desert Research Institute aims to advance crop and open water use estimates through observations and open modeling tools

GitHub Events

Total
  • Watch event: 3
  • Pull request event: 1
  • Create event: 1
Last Year
  • Watch event: 3
  • Pull request event: 1
  • Create event: 1

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 140
  • Total Committers: 8
  • Avg Commits per committer: 17.5
  • Development Distribution Score (DDS): 0.693
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Charles Morton c****n@u****m 43
Charles Morton C****n@g****m 35
Charles Morton c****n@g****m 27
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@u****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • 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 requests: 5
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • cgmorton (29)
  • mattyrb (14)
  • kenmartey (3)
  • dgketchum (3)
  • melcherton (3)
  • davidj1s (3)
  • pixienat (2)
  • beamerj (2)
  • cferrantelli (2)
  • cpearson1 (2)
  • vbhvcrpn (1)
  • khmara-breeze (1)
  • MrDrinkwater (1)
  • pblankenau2 (1)
  • cwdunkerly (1)
Pull Request Authors
  • dgketchum (5)
  • cgmorton (3)
  • dependabot[bot] (1)
  • pblankenau2 (1)
  • cpearson1 (1)
Top Labels
Issue Labels
enhancement (1)
Pull Request Labels
dependencies (1) python (1)

Packages

  • 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
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 7.0%
Average: 8.2%
Dependent repos count: 9.3%
Last synced: 9 months ago
proxy.golang.org: github.com/WSWUP/pymetric
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 7.0%
Average: 8.2%
Dependent repos count: 9.3%
Last synced: 9 months ago

Dependencies

requirements.txt pypi
  • 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