Skip to content

Commit

Permalink
A few changes to the readme
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-m-mudd committed Oct 10, 2024
1 parent e82d6d4 commit d73dec0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
3 changes: 2 additions & 1 deletion HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ Important fix
0.4.13 (2024-10-09)
-------------------

* Sorting out another hidden UTM issue
* 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

3 changes: 0 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ lsdviztools
.. image:: https://img.shields.io/pypi/v/lsdviztools.svg?branch=master
:target: https://pypi.org/project/lsdviztools/

.. image:: https://travis-ci.com/LSDtopotools/lsdviztools.svg?branch=master
:target: https://travis-ci.com/LSDtopotools/lsdviztools


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

Expand Down
4 changes: 2 additions & 2 deletions lsdviztools/lsdplottingtools/lsdmap_gdalio.py
Original file line number Diff line number Diff line change
Expand Up @@ -1240,7 +1240,7 @@ def convert2UTM(DataDirectory, RasterFile,minimum_elevation=0.01,resolution=30):
# Create a Transformer object
transformer = Transformer.from_crs(source_crs, target_crs)
x2, y2 = transformer.transform(centre_point[0],centre_point[1])

print("You had a weird coordinate system. I converted to EPSG:4326")
print("The centre lat-long is")
print(y2,x2)
else:
Expand All @@ -1253,7 +1253,7 @@ def convert2UTM(DataDirectory, RasterFile,minimum_elevation=0.01,resolution=30):
print("latitude: "+str(y2))
print("longitude: "+str(x2))


print("Getting the UTM zone.")
temp_info = utm.from_latlon(y2, x2)
if(temp_info[3] in ['X','W','V','U','T','S','R','Q','P','N']):
south = False
Expand Down

0 comments on commit d73dec0

Please sign in to comment.