Loading py/cso_dataspace.py +6 −3 Original line number Diff line number Diff line Loading @@ -4,6 +4,9 @@ # 2023-10, Arjo Segers # Tools to access Copernicus DataSpace. # # 2023-10, Arjo Segers # Trap errors from "requests.get" during inquire. # ######################################################################## ### Loading Loading @@ -293,10 +296,10 @@ class CSO_DataSpace_Inquire(utopya.UtopyaRc): maxtry = 5 # repeat a few times if necessary: while ntry <= maxtry: try: # send query to search page; no authorization is needed ... r = requests.get(search_url, params=params) # check status, raise error if request failed: try: r.raise_for_status() except Exception as err: msg = str(err) Loading Loading
py/cso_dataspace.py +6 −3 Original line number Diff line number Diff line Loading @@ -4,6 +4,9 @@ # 2023-10, Arjo Segers # Tools to access Copernicus DataSpace. # # 2023-10, Arjo Segers # Trap errors from "requests.get" during inquire. # ######################################################################## ### Loading Loading @@ -293,10 +296,10 @@ class CSO_DataSpace_Inquire(utopya.UtopyaRc): maxtry = 5 # repeat a few times if necessary: while ntry <= maxtry: try: # send query to search page; no authorization is needed ... r = requests.get(search_url, params=params) # check status, raise error if request failed: try: r.raise_for_status() except Exception as err: msg = str(err) Loading