Skip to main content

lsdviztools is a collection of routines for plotting geospatial data, with a focus on data produces by LSDTopoTools or by lsdtopytools.

Project description

lsdviztools

https://img.shields.io/pypi/v/lsdviztools.svg?branch=master https://travis-ci.com/LSDtopotools/lsdviztools.svg?branch=master

lsdvizools is a collection of routines for plotting geospatial data, with a focus on data produced by LSDTopoTools or by lsdtopytools.

Features

  • Plotting of rasters that includes formatting so you can get publication-ready figures with one command.

  • Selection of basins and channels for topographic analysis.

  • Tools for plotting point data, usually associated with channel networks, derived from LSDTopoTools command line tools.

  • Downloading of data from opentopography,org

Examples

Multiple examples can be found in the form of python notebooks located here: https://github.com/LSDtopotools/lsdtt_notebooks

These notebooks can be opened using google colaboratory, only a functioning web browser is required.

Getting started

You can install lsdviztools with pip.

You can also use our docker container (in the second command you need to change the path after -v to your local directory). You first need to install docker: https://www.docker.com/products/docker-desktop

$ docker pull lsdtopotools/lsdtt_pytools_docker

$ docker run -it -v /path/to/my/local/directory:/LSDTopoTools -p 8888:8888 lsdtopotools/lsdtt_pytools_docker

# jupyter notebook --ip 0.0.0.0 --port 8888 --no-browser --allow-root

Then go to the jupyter notebook in your web browser by going to http://localhost:8888/

Credits

This package was written by Simon M. Mudd, Fiona J. Clubb and Stuart W.D. Grieve

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.1.0 (2020-05-01)

  • First release on PyPI.

0.2.0 (2020-06-16)

  • Minor bug fixes

0.3.0 (2020-09-03)

  • Minor bug fixes

0.4.0 (2021-02-03)

  • Updated opentopography API and fixed chi mapping interface

0.4.4 (2021-03-02)

  • Fixed a bug in the projection section of gdalio. Trying to make the code more resistent to errors generate by different versions of proj

0.4.5 (2021-07-22)

This release of lsdviztools adds some command line scripts for plotting basic rasters, chi analysis and concavity analysis. It also adds functionality for using the opentopography API, including downloading of data using the API key, so it includes, for example, the copernicus DEMs. It also fixes a bug with gdal that made up a pull request.

0.4.6 (2021-07-23)

Minor update that includes changes to make sure scripts run.

The four scripts are

  • lsdtt_plotbasicmetrics for basic plotting

  • lsdtt_plotchianalysis for channel profile analysis and tectonic geomorphology

  • lsdtt_plotconcavityanalysis for concavity analysis of river profiles

  • lsdtt_grabopentopographydata for grabbing data from opentopography.org

0.4.7 (2021-08-27)

Some fixes

  • For scripts a fix to make sure you have the correct directory without the -dir flag

  • A fix to the opentopography api key

  • An update to the opentopography scraper that allows lower lef and upper right corners to be easily copied from google maps

0.4.8 (2022-09-15)

Some fixes

  • More fixes to the opentopography grabber

  • This uses an api key in a file now

0.4.9 (2022-12-13)

Some fixes

  • Added the lsdtt-valley-metrics to the driver interface

  • Added point mapping to the plotting tools

  • A number of bug fixes to the command line interface

0.4.10 (2023-03-10)

Some fixes

  • Added the descartes dependency

  • Small change to the swath plotting routine

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

lsdviztools-0.4.10.tar.gz (9.1 MB view hashes)

Uploaded Source

Built Distribution

lsdviztools-0.4.10-py2.py3-none-any.whl (270.4 kB view hashes)

Uploaded Python 2 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