CDSAPI.py2juMethod
py2ju(dictstr)

Takes a Python dictionary as string and converts it into Julia's Dict

Examples

julia> str = """{
               'format': 'zip',
               'variable': 'surface_air_temperature',
               'product_type': 'climatology',
               'month': '08',
               'origin': 'era_interim',
           }""";

julia> CDSAPI.py2ju(str)
Dict{String,Any} with 5 entries:
  "format"       => "zip"
  "month"        => "08"
  "product_type" => "climatology"
  "variable"     => "surface_air_temperature"
  "origin"       => "era_interim"
CDSAPI.retrieveMethod
retrieve(name, params, filename; max_sleep = 120.)

Retrieves data for name from the Climate Data Store with the specified params and stores it in the current directory as filename.

The client periodically requests the status of the retrieve request. max_sleep is the maximum time (in seconds) between the status updates.