Seen a few answers to similar questions, but not built in functions/multiple entry dictionaries. Suppose I have a dictionary containing basemap arguments for different map projections;
Domains = {'TPCentral':["projection='geos',lon_0=-160,lat_0=0,resolution='l'"],
'World':["projection='robin',lon_0=0"]}
I would like to call the basemap function (from maplotlib) such that
m = Basemap(Domains['TPCentral'])
so that this would function equivalently as;
m = Basemap(projection='geos',lon_0=-160,lat_0=0,resolution='l')
Problem is this passes it as one long string, not sure how to break it up into seperate arguments (tried using *). Thanks in advance!