Skip to main content

Some remote sensing tricks from telenvi master students

Project description

telenvi

Some remote sensing tricks from telenvi master students. Contain tools to work on satellites images. You can easily load georeferenced raster files in python, compute indices on them or extract their values, then make crops, resample and reprojection.

GitHub repo

The code is available here : github.com/pyzak117/telenvi

Dependancies

to work with telenvi you need thoses libraries:

  • gdal
  • numpy
  • geopandas
  • matplotlib

Installation

pip install telenvi

Use from a python script

from telenvi import raster_tools as rt

open a raster, mono or multi-spectral

target = raster_tools.openGeoRaster("aGeoreferencedRaster.tif")

open a part of raster

target = raster_tools.openGeoRaster(
  "aGeoreferencedRaster.tif",
  roi = "aShapefileContainingOneOrManyPolygons.shp",
  ft = 0 # the id of the polygon into the attribute table of the shapefile
  )

pixel-values extraction

array = target.pxData

export a raster

tarrget.exportAsRasterFile("pathToANewGeoTiff.tif")

resample a raster at the opening

resample a raster with the resolution and the extent of an other

You can download a tutorial to learn how to use the telenvi package here : https://mega.nz/file/voNTUYrR#WHtp_stDGi-p3_TfUj9K_K76H56n0B1L0hGixMvVzkY You will find a .rar archive containing jupyter notebooks and data to test the package.

Contact

You can contact me at thibaut.duvanel@univ-savoie.fr if you have any questions.

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

telenvi-1.0.0.tar.gz (20.4 kB view details)

Uploaded Source

Built Distribution

telenvi-1.0.0-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

Details for the file telenvi-1.0.0.tar.gz.

File metadata

  • Download URL: telenvi-1.0.0.tar.gz
  • Upload date:
  • Size: 20.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 CPython/3.10.4

File hashes

Hashes for telenvi-1.0.0.tar.gz
Algorithm Hash digest
SHA256 49e34a87148600b11a78a43e34cb7446e39b4eaf6bbe946d43b074b99ee8fd6d
MD5 545d68e14cdd3e1f109ee74cb5474cc1
BLAKE2b-256 3faa4fedd60ca8fefd3ee24575ccf03f9fd118de670271ecfe6a7fc7a4175a74

See more details on using hashes here.

File details

Details for the file telenvi-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: telenvi-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 20.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 CPython/3.10.4

File hashes

Hashes for telenvi-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bd6cc4b5871728013383cd60fb8be82c4639a2320c857a61a4ae82f4b76d7830
MD5 153b00498975878b77337585049c3428
BLAKE2b-256 d917f83cbb3de082ba9c56907d238c77e30f3f93080ab562894ae9ce10ac7c67

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