@@ -278,7 +278,7 @@ def query_region_catalogs(self, position, radius, catalogs=__ALL_STRING,
278278 return commons .TableList (query_result )
279279
280280 def get_maps (self , query_table_list , missions = __ALL_STRING ,
281- savename = __MAPS_STRING , cache = True ):
281+ download_dir = __MAPS_STRING , cache = True ):
282282 """
283283 This method takes the dictionary of missions and metadata as returned by
284284 query_region_maps and downloads all maps to the selected folder.
@@ -296,7 +296,7 @@ def get_maps(self, query_table_list, missions=__ALL_STRING,
296296 Can be either a specific mission or a list of missions (all mission
297297 names are found in list_missions()) or 'all' to search in all
298298 missions. Defaults to 'all'.
299- savename : string, optional
299+ download_dir : string, optional
300300 The folder where all downloaded maps should be stored.
301301 Defaults to a folder called 'Maps' in the current working directory.
302302 cache : bool, optional
@@ -339,11 +339,11 @@ def get_maps(self, query_table_list, missions=__ALL_STRING,
339339 self ._get_maps_for_mission (
340340 sanitized_query_table_list [query_mission ],
341341 query_mission ,
342- savename ,
342+ download_dir ,
343343 cache ))
344344 break
345345 if (len (sanitized_query_table_list ) > 0 ):
346- log .info ("Maps available at %s" % os .path .abspath (savename ))
346+ log .info ("Maps available at %s" % os .path .abspath (download_dir ))
347347 else :
348348 print ("No maps found" )
349349 return maps
0 commit comments