Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-16041

[fiware-stackoverflow] Retrieving forecast data from OpenWeatherMap in FIWARE ORION

    Details

      Description

      Created question in FIWARE Q/A platform on 22-07-2019 at 18:07
      Please, ANSWER this question AT https://stackoverflow.com/questions/57150044/retrieving-forecast-data-from-openweathermap-in-fiware-orion

      Question:
      Retrieving forecast data from OpenWeatherMap in FIWARE ORION

      Description:
      I am trying to get weather forecasts data from OpenWeatherMap and integrate them in Orion by performing a registeration request.

      I was able to register and get the API key from OpenWeatherMap, however, the latter returns a JSON file with all the data inside, which is not supported by ORION.

      I have followed the step by step tutorial https://fiware-tutorials.readthedocs.io/en/latest/context-providers/index.html#context-provider-ngsi-proxy where they have acquired the data from OpenWeatherMap using NGSI proxy, an API key is required to be indicated in the docker-compose file as an environment variable, however, the data acquired is the "current data" and not forecast and also specific to Berlin.

      I have tried to access the files inside the container "fiware/tutorials.context-provider" and try to modify and match the parameters to my needs but I feel like I am taking a long blocked path.

      I don't think that's even considered as good practice but I have run out of ideas

      Can anyone suggest how I could bring the forecast data to Orion and register it as a context provider?

      Thank you in advance.

        Activity

        Hide
        backlogmanager Backlog Manager added a comment -

        2019-07-22 21:06|CREATED monitor | # answers= 0, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2019-07-22 21:06|CREATED monitor | # answers= 0, accepted answer= False
        Hide
        backlogmanager Backlog Manager added a comment -

        2019-07-23 21:06|UPDATED status: transition Answer| # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2019-07-23 21:06|UPDATED status: transition Answer| # answers= 1, accepted answer= False
        Hide
        backlogmanager Backlog Manager added a comment -

        2019-07-24 00:05|UPDATED status: transition Answered| # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2019-07-24 00:05|UPDATED status: transition Answered| # answers= 1, accepted answer= False

          People

          • Assignee:
            kzangeli Ken Zangelin
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: