From 5dbb1fbef5f86ed869d5616fed06acbbf766c267 Mon Sep 17 00:00:00 2001 From: simon-m-mudd Date: Thu, 21 Dec 2023 15:41:04 +0000 Subject: [PATCH] Bumped version in one of the files --- HISTORY.rst | 6 ++++++ lsdviztools/lsdbasemaptools/lsdmap_otgrabber.py | 7 +++++-- setup.cfg | 2 +- setup.py | 2 +- 4 files changed, 13 insertions(+), 4 deletions(-) diff --git a/HISTORY.rst b/HISTORY.rst index 51c8f0b..b0e72cb 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -90,3 +90,9 @@ Some fixes 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 (2023-03-28) +------------------- + +* Trying to solve a weird problem with conversion to UTM +* Making hiding API key for opentopography diff --git a/lsdviztools/lsdbasemaptools/lsdmap_otgrabber.py b/lsdviztools/lsdbasemaptools/lsdmap_otgrabber.py index b8cf9a8..56a32fc 100644 --- a/lsdviztools/lsdbasemaptools/lsdmap_otgrabber.py +++ b/lsdviztools/lsdbasemaptools/lsdmap_otgrabber.py @@ -169,8 +169,11 @@ def download_pythonic(self): fwithoutpath= self.prefix+"_"+self.source + ".tif" - print("I am going to download the following for you:") - print(url_string) + url_string_no_api = 'https://portal.opentopography.org/API/globaldem?demtype=%s&south=%s&north=%s&west=%s&east=%s&outputFormat=GTiff'%(self.source,self.latitude_S,self.latitude_N,self.longitude_W,self.longitude_E) + + + print("I am going to download a file from opentopography (I've removed the API key):") + print(url_string_no_api) print("This might take a little while, depending on the size of the file. ") print("The filename will be:") diff --git a/setup.cfg b/setup.cfg index 3e64f3d..a910339 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.4.11 +current_version = 0.4.12 commit = True tag = True diff --git a/setup.py b/setup.py index 7c2a60c..bb25613 100644 --- a/setup.py +++ b/setup.py @@ -53,6 +53,6 @@ test_suite='tests', tests_require=test_requirements, url='https://github.com/LSDTopotools/lsdviztools', - version='0.4.11', + version='0.4.12', zip_safe=False, )