lsdviztools is a collection of routines for plotting geospatial data, with a focus on data produces by LSDTopoTools or by lsdtopytools.
Project description
lsdviztools
lsdvizools is a collection of routines for plotting geospatial data, with a focus on data produced by LSDTopoTools or by lsdtopytools.
Free software: MIT license
Documentation: https://lsviztools.readthedocs.io.
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.
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
0.4.14 (2024-11-22)
Slight adjustment to the csv ingestion in the rasterisation tools
Updates to the basemaps. New functions to make and orthographic basemap and a large regional hillshade
More flexibility in the points over hillshade function
Added the scalebar option to a number of plot types
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file lsdviztools-0.4.14.tar.gz
.
File metadata
- Download URL: lsdviztools-0.4.14.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | e60912d61bc834359111c88e9b7808665006c568556f1c1ab1219cbd421d3878 |
|
MD5 | fe3976613d6b17b7a6b7db6547d30049 |
|
BLAKE2b-256 | 969cca4145c58fc4e9f31d9c83921a787b647a15f89d044fcbb1d44452784616 |
File details
Details for the file lsdviztools-0.4.14-py2.py3-none-any.whl
.
File metadata
- Download URL: lsdviztools-0.4.14-py2.py3-none-any.whl
- Upload date:
- Size: 272.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b58e22f77425fff2b4c06cd10b30c3ec9835b4d18ef7f33dec35490e8788d39 |
|
MD5 | 30d176e57867011d7d7ff43d9bc6c1d1 |
|
BLAKE2b-256 | a314286c818ad50340acaae94c2afbdb94934a165f284f874c2951846207fd6e |