rhugonnet / pybob

A python package of geospatial and other tools that I find useful.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pybob

A collection of geospatial and other tools that I find useful.

Installing Pybob

# Install the required libraries
conda install h5py numba descartes gdal
pip install llc

# Clone the repository (using git ssh)
git clone git@github.com:iamdonovan/pybob.git

# install the development verion in editing mode
pip install -e [path2folder/pybob]

Basic usage

from pybob import GeoImg

# Open a geotiff:
test = GeoImg.GeoImg('myraster.tif')

# plot raster to screen
test.diplay()

# crop raster to extent
test.crop_to_extent([xmin, xmax, ymin, ymax], band)

About

A python package of geospatial and other tools that I find useful.


Languages

Language:Python 100.0%