Skip to main content

Helper scripts for fetching and managing basic input layers Farm Mapping

Project description

Farm Layers [early stages of dev]

Helper scripts for fetching and managing basic geotiff files related to Farm Mapping

Supports:

  • elevation
  • red bands
  • blue bands
  • green bands
  • near-inferred bands

Coming:

Australian Radiometric data

  • k gamma
  • u gamma
  • th gamma

Install:

pip install farmlayers

Usage:

Make area of interest using shapely geoms:

from shapely.geometry.multipolygon import MultiPolygon
from farmlayers import shp_to_boundaries

boundaries = shp_to_boundaries("boundaries.shp")

Download elevation:

from farmlayers import download_elevation

download_elevation(geom=MultiPolygon(polygons=boundaries), dir="data")

Download soil related landsat 8 bands:

from farmlayers import download_soil

download_soil(geom=MultiPolygon(polygons=boundaries), dir="data")

Download crop related landsat 8 bands

from farmlayers import download_crop

download_crop(geom=MultiPolygon(polygons=boundaries), dir="data")

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

farmlayers-0.0.3.tar.gz (5.4 kB view hashes)

Uploaded Source

Built Distribution

farmlayers-0.0.3-py3-none-any.whl (10.1 kB view hashes)

Uploaded Python 3

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