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

        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        fla Fernando Lopez made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        fla Fernando Lopez made changes -
        HD-Enabler Orion [ 10875 ]
        Description
        Created question in FIWARE Q/A platform on 22-07-2019 at 18:07
        {color: red}Please, ANSWER this question AT{color} 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.
        Created question in FIWARE Q/A platform on 22-07-2019 at 18:07
        {color: red}Please, ANSWER this question AT{color} 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.
        fla Fernando Lopez made changes -
        Assignee Ken Zangelin [ kzangeli ]
        backlogmanager Backlog Manager made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        backlogmanager Backlog Manager made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        backlogmanager Backlog Manager created issue -

          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: