OpenWeatherMap not working

Options
BhaskarDevGoel
BhaskarDevGoel Partner, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered, Frontrunner 2022 Participant Posts: 7 Partner

I want to fetch the weather-related information for a location for which i am using the OpenWeatherMap plugin. I have followed all the instructions given in the plugin documentation. When i try to used the plugin, it gives me an error as attached.

can anyone help?


Operating system used: linux

Tagged:

Best Answer

Answers

  • Alexandru
    Alexandru Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 1,209 Dataiker
    Options

    Hi @BhaskarDevGoel
    ,
    Is possible for you null/empty values in lat/long columns? Could please check?

    If the issues persist please reach out to support and share the job diagnostics.

    Job failed: Error in Python process: At line 116: <class 'exceptions.OpenWeatherMapAPIError'> [Errno None]
    None: 'None' More info about this error

    Thanks,

  • BhaskarDevGoel
    BhaskarDevGoel Partner, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered, Frontrunner 2022 Participant Posts: 7 Partner
    Options

    Hi @AlexT

    The data has no null values. I check the logs and it is showing

    INFO Error in request (status code: 401)
    [08:37:32] [INFO] [dku.utils] - 2023-03-13 08:37:32,881 INFO Response: {"cod":401, "message": "Invalid API key. Please see https://openweathermap.org/faq#error401 for more info."}

    But i have cross verified the API key and it is correct. Is there a possibility that i need to subscribe to a service before using the plugin?

  • BhaskarDevGoel
    BhaskarDevGoel Partner, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered, Frontrunner 2022 Participant Posts: 7 Partner
    Options

    I want to extract the historic weather data (last 2 years) of a lat long

  • BhaskarDevGoel
    BhaskarDevGoel Partner, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered, Frontrunner 2022 Participant Posts: 7 Partner
    Options

    No actually i just create an account on OWM and generate the API key. I have not subscribed to any service yet

Setup Info
    Tags
      Help me…