Skip to main content

This open-source package aims to establish the ML4Ops pipeline from public databases to integrated analytics for agriculture. It provides a variety of functions to study climate trends and simplify the calculation of commonly used metrics in agriculture.

Project description

PY4OPENAG

This open-source package aims to establish the ML4Ops pipeline from public databases to integrated analytics for agriculture. It provides a variety of functions to study climate trends and simplify the calculation of commonly used metrics in agriculture, such as growing degree days, extreme heat degree days, the base temperature for different crop types, as well as basic climate metrics like average temperature and total precipitation for user specified time periods. The package also includes unsupervised and supervised learning based on these metrics. .

The development of this package is supported by the SMARTFARM project. The SMARTFARM program of DOE’s Advanced Research Projects Agency-Energy (ARPA-E) aims to innovate technologies that can help to cost-effectively and efficiently quantify feedstock emissions at the field level. The project aspires to facilitate advanced biofuels that can potentially be a carbon-negative source of energy and aims to promote environmental sustainability while simultaneously increasing farmer profitability and productivity.

Functions In The Package:

The following functions are currently included in the package. More information and a demonstration on each function can be found in the links provided.

Average Temperature: average_temperature
Total Precipitation: total_precipitation
Extreme Degree Days: extreme_degree_days
Growing degree days: growing_degree_days
Heavy Precipitation Days: heavy_precipitation_days
Base Temperature For Growing Degree Days: growingdays_basetemp
Temperature Trend: temptrend
Precipitation Trend: preciptrend
Plot Map: plot_map

Output Diagrams:

Ipyleaflet Map Demonstrating Temperature Variablility Across U.S. Farm Sites:

Ipyleaflet Map Function Output

PCA Biplot:

PCA Image

Demonstration Notebooks:

  1. Download data from GEE
  2. Running functions
  3. Demonstration Of Clustering
  4. Demonstration Of PCA
  5. Demonstration Of Supervised Learning for NPP
  6. Demonstration Of Supervised Learning for GPP
  7. Demonstration Of Importance Ranking for NPP
  8. Demonstration Of Importance Ranking for GPP

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

py4openag-0.0.2.2.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

py4openag-0.0.2.2-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file py4openag-0.0.2.2.tar.gz.

File metadata

  • Download URL: py4openag-0.0.2.2.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7

File hashes

Hashes for py4openag-0.0.2.2.tar.gz
Algorithm Hash digest
SHA256 d48ec0c62f68ffc424a91a5de67e2533146cdba2ac900e879a912e9b40d86b8d
MD5 63887b49c8dc554f893278e10184d8c4
BLAKE2b-256 d380dab292a65dc38b4a9e5f39c72c1900cd4be5f84a8915137d41da034480d5

See more details on using hashes here.

File details

Details for the file py4openag-0.0.2.2-py3-none-any.whl.

File metadata

  • Download URL: py4openag-0.0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7

File hashes

Hashes for py4openag-0.0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a2ec439d5374dd56c02424ab6e6ec3cbfb7bf5a362cee449f948d1459934a057
MD5 668494c5c3298d5413d8265178f6ef3f
BLAKE2b-256 c44c5e08618d245cde2c691963efc17c2b8b327c09b4c615f7000e6f9a23ad69

See more details on using hashes here.

Supported by

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