Skip to main content

Generate irrigation predictions at 30m resolution using Google Earth Engine.

Project description

irrigation30 - Python3 Package

irrigation30 is a Python package designed to help researchers predict and visualize irrigation at 30m resolution for small regions at a time using Google Earth Engine.

With this package, users can generate and visualize irrigation predictions with an interactive map powered by Google Earth Engine and folium. The package also includes additional features to analyze relevant climate and satellite data like temperature, precipitation, NDVI signatures, and satellite images from Sentinel-2.

This project was developed by a team of UC Berkeley students in the Master’s in Information and Data Science program.

Website: https://groups.ischool.berkeley.edu/irrigation30/webdev/

Installation

Dependencies

irrigation30 requires:

  • Python (>= 3.6)
  • pandas (>= 1.0.5)
  • numpy (>= 1.19.0)
  • scipy (>= 1.5.0)
  • matplotlib (>= 3.2.2)
  • earthengine-api (>= 0.1.227)
  • folium (>= 0.11.0)
  • shapely (>= 1.7.0)

Our package also requires users to have a Google Earth Engine account. You can sign up for an account here. Note that it may take several days for Google to activate your account.

Lastly, our package is intended to be used in Python Jupyter notebooks. For more instructions on how to install Jupyter and use Jupyter notebooks, see this tutorial.

User installation

The easiest way to install irrigation30 is with pip3

pip3 install irrigation30

If you are having a hard time getting the right package versions installed, you can set up a virtual environment like so:

Install with virtualenv
  1. pip3 install virtualenv
  2. virtualenv env
  3. source env/bin/activate
  4. curl https://bootstrap.pypa.io/get-pip.py | python3
  5. pip3 install irrigation30
  6. pip3 install ipykernel
  7. ipython kernel install --user --name=env
  8. jupyter notebook
  9. When finished, deactivate your virtualenv with deactivate

Usage

For a full tutorial of how the package is used in Jupyter notebooks, see our Jupyter notebook demo Demo.ipynb.

For more info on how to download TIF assets to Google Earth Engine and download TIF files to Google Drive, see docs/download_TIF.md.

Help and Support

For help with using or installing the package, contact Weixin ("Angela") Wu: https://www.ischool.berkeley.edu/people/weixin-wu

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

irrigation30-0.0.2.tar.gz (11.5 kB view details)

Uploaded Source

Built Distribution

irrigation30-0.0.2-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

Details for the file irrigation30-0.0.2.tar.gz.

File metadata

  • Download URL: irrigation30-0.0.2.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.5

File hashes

Hashes for irrigation30-0.0.2.tar.gz
Algorithm Hash digest
SHA256 579a6290c3ad05090137c4261728d43c065b5da48e9a29b2fae01968125636f2
MD5 db89bcbcad742d46db1917a310bc25df
BLAKE2b-256 5e811a3d45b2dab8a9f2e996c3636634288af230db6312789c17a311f1b32109

See more details on using hashes here.

File details

Details for the file irrigation30-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: irrigation30-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 17.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.5

File hashes

Hashes for irrigation30-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 be0f46bd8e48c3b757c60e585cefddc7cffc94e36355a33b52f2fa5d23768794
MD5 291742a29626902cb18bf0a595d02e84
BLAKE2b-256 6d609bc825ceeef2bb15344a22c5c391cdce1a7ea0ee500d3756d53029868659

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