Skip to main content

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

Release files for py4openag 0.0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for py4openag 0.0.2.2
File Size Uploaded
py4openag-0.0.2.2.tar.gz 6.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for py4openag 0.0.2.2
File Interpreter ABI Platform
py4openag-0.0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 13.1 kB

Release files / py4openag-0.0.2.2.tar.gz

Download URL py4openag-0.0.2.2.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d48ec0c62f68ffc424a91a5de67e2533146cdba2ac900e879a912e9b40d86b8d
BLAKE2b-256 checksum
How to use checksums
d380dab292a65dc38b4a9e5f39c72c1900cd4be5f84a8915137d41da034480d5
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / py4openag-0.0.2.2-py3-none-any.whl

Download URL py4openag-0.0.2.2-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a2ec439d5374dd56c02424ab6e6ec3cbfb7bf5a362cee449f948d1459934a057
BLAKE2b-256 checksum
How to use checksums
c44c5e08618d245cde2c691963efc17c2b8b327c09b4c615f7000e6f9a23ad69
Upload date
Uploaded using Trusted Publishing?
What is 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
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page