import cdsapi

c = cdsapi.Client()

#c.retrieve(
#    'insitu-glaciers-elevation-mass',
#    {
#        'format':'zip',
#        'variable':'mass_balance'
#    },
#    '../archives/sat_obs/11_sat_obs-B-insitu-glaciers-elevation-mass-mass_balance.zip')

c.retrieve( 
    'insitu-glaciers-elevation-mass', 
    { 
        'product_type':'elevation_change', 
        'file_version':'20170405', 
        'variable':'all', 
        'format':'zip' 
    }, 
    '../archives/sat_obs/11_sat_obs-B-insitu-glaciers-elevation-20170405.zip')