Skip to content

Commit

Permalink
Merge pull request #194 from jmdelvecchio/master
Browse files Browse the repository at this point in the history
fix single-digit UTM zone
  • Loading branch information
simon-m-mudd authored Apr 20, 2023
2 parents 685cf08 + 6b054d3 commit 4b7bb4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lsdviztools/lsdplottingtools/lsdmap_gdalio.py
Original file line number Diff line number Diff line change
Expand Up @@ -1251,9 +1251,9 @@ def convert2UTM(DataDirectory, RasterFile,minimum_elevation=0.01,resolution=30):

UTMzone = temp_info[2]
if south:
EPSG = "327" + str(UTMzone)
EPSG = f"327{UTMzone:02d}"
else:
EPSG = "326" + str(UTMzone)
EPSG = f"326{UTMzone:02d}"

res_tuple = (res,res)
print("res tuple is:")
Expand Down

0 comments on commit 4b7bb4a

Please sign in to comment.