[Backlogmanager] [FIWARE-JIRA] (HELP-16041) [fiware-stackoverflow] Retrieving forecast data from OpenWeatherMap in FIWARE ORION

Fernando Lopez (JIRA) jira-help-desk at jira.fiware.org
Mon Aug 5 09:06:00 CEST 2019


     [ https://jira.fiware.org/browse/HELP-16041?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fernando Lopez updated HELP-16041:
----------------------------------
    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.


  was:

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.


     HD-Enabler: Orion

> [fiware-stackoverflow] Retrieving forecast data from OpenWeatherMap in FIWARE ORION
> -----------------------------------------------------------------------------------
>
>                 Key: HELP-16041
>                 URL: https://jira.fiware.org/browse/HELP-16041
>             Project: Help-Desk
>          Issue Type: Monitor
>          Components: FIWARE-TECH-HELP
>            Reporter: Backlog Manager
>            Assignee: Ken Zangelin
>              Labels: fiware, fiware-orion, openweathermap
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.4.1#64016)


More information about the Backlogmanager mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy