Skip to content
Snippets Groups Projects
Commit 6a9dbfd8 authored by Anne Tipka's avatar Anne Tipka :headphones:
Browse files

apply use of any api only if public user access is requested

parent b9ce98cd
Branches
No related tags found
No related merge requests found
......@@ -147,7 +147,10 @@ def get_mars_data(c):
print("start date %s " % (c.start_date))
print("end date %s " % (c.end_date))
server = mk_server(c)
if c.public:
server = mk_server(c)
else:
server = False
# if data are to be retrieved, clean up any old grib files
if c.request == 0 or c.request == 2:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment