Is it possible to retrieve temperature forecast data via Python API? (for example EC00 Ens data). If

Is it possible to retrieve temperature forecast data via Python API? (for example EC00 Ens data). If yes, which function?

Best Answer

  • Hi @fbbe5d42-15a3-4e2b-84fd-3aed19b70c4e,

    If you are still interested in getting the data with Eikon API you may try to get the data from the RICs that we already have. You may navigate to RIC <EU/WEATHER> that is a landing page for the European Weather Service from there you can reach to <EU/WEATHER4> for forecast data. Then to <0#DE-FORECASTS> that contains weather forecasts for Germany and from there you can chose Dusseldorf 1 day ahead <0#DUSSEL-D1>, then you need to narrow down the hour from the available options e.g. <DUSSEL-D1-06> and right here you can get temperature, rainfall, wind speed, wind direction and pressure.

    That may look quite cumbersome but is set up in a logical pattern.

    RICS = ['DUSSEL-D1-06']
    fields = ['GN_TX20_12','GN_TX20_14','GN_TX20_16','GN_TX20_17','GN_TX20_18']
    df,err = ek.get_data(RICS,fields)
    df

    This is how it looks compared with a quote

    image

Answers