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

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

0.4.11 (2023-03-27)

Important fix

  • Removed descartes dependency and switched this to a direct plotting routine. This fixes an error caused by transition to python 3.9 in google colab

0.4.12 (2024-02-09)

  • Trying to solve a weird problem with conversion to UTM

  • Making hiding API key for opentopography

  • Fixing another descartes problem

0.4.13 (2024-10-09)

  • Sorting out another hidden UTM issue. Ensures a single digit UTM is processed correctly.

  • Updated the list of datasets available from opentopography

  • You can now download USGS 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

lsdviztools-0.4.13.tar.gz (9.1 MB view details)

Uploaded Source

Built Distribution

lsdviztools-0.4.13-py2.py3-none-any.whl (271.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file lsdviztools-0.4.13.tar.gz.

File metadata

  • Download URL: lsdviztools-0.4.13.tar.gz
  • Upload date:
  • Size: 9.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.2

File hashes

Hashes for lsdviztools-0.4.13.tar.gz
Algorithm Hash digest
SHA256 fcdedbfe7b67c6495f0e4041a499438b3386d6fa3bc99d993adfd0d3d919932d
MD5 58abffbd2478b861b6e7935f0a619223
BLAKE2b-256 95b6b8e4575c9a1b0aeaabb11389d5b29f662c96c3fc0cb6fef8e30da6a1fdef

See more details on using hashes here.

File details

Details for the file lsdviztools-0.4.13-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for lsdviztools-0.4.13-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c497dbd7d02670a7c9b91430fe0e8047d640f79d922502e9b544059668958205
MD5 2a75c0e619fa8817a941794503e91797
BLAKE2b-256 264feffea1dd39f82cf833fa95f92f04c47fdd33512ea2772a54b7b8e0614fb7

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