c5te1n / node-red-contrib-dwd-local-weather

Node Red node to retrieve local weather forecast from DWD (Germany)
Apache License 2.0
13 stars 11 forks source link

Feature Request: Add cloud cover #26

Closed baxerus closed 3 years ago

baxerus commented 3 years ago

It would be cool to also have the cloud coverage in the data.

To make it more complicated there are (of course) multiple cloud coverages in the data 😐. Perhaps it is best (and simplest) to go for "Total cloud cover".

From https://opendata.dwd.de/weather/lib/MetElementDefinition.xml:

<MetElement>
<ShortName>Neff</ShortName>
<UnitOfMeasurement>% (0..100)</UnitOfMeasurement>
<Description>Effective cloud cover</Description>
</MetElement>

or an example from an kml file:

<dwd:Forecast dwd:elementName="N">
    <dwd:value>         30.00      36.00      41.00      44.00      52.00      61.00      62.00      65.00      67.00      73.00      71.00      76.00      75.00      78.00      73.00      73.00      76.00      76.00      75.00      73.00      76.00      76.00      74.00      73.00      77.00      76.00      74.00      77.00      79.00      78.00      78.00      79.00      80.00      84.00      87.00      89.00      89.00      92.00      87.00      90.00      93.00      98.00      97.00      96.00      97.00     100.00      99.00     100.00      99.00      98.00      97.00      98.00      98.00      99.00      99.00      99.00      98.00      95.00      97.00      96.00      94.00      96.00      95.00      91.00      87.00      83.00      82.00      78.00      75.00      75.00      74.00      82.00      78.00      79.00      81.00      83.00      81.00      82.00      80.00      77.00      71.00      70.00      72.00      74.00      72.00      67.00      66.00      66.00      68.00      69.00      70.00      70.00      74.00      73.00      75.00      70.00      73.00      72.00      64.00      72.00      66.00      66.00      65.00      68.00      67.00      67.00      66.00      64.00      65.00      66.00      66.00      59.00      62.00      63.00      68.00      72.00      78.00      76.00      77.00      80.00      75.00      76.00      81.00      77.00      73.00      73.00      70.00      71.00      70.00      71.00      71.00      68.00      69.00      71.00      70.00      67.00      67.00      67.00      68.00      74.00      74.00      76.00      75.00      75.00      77.00      75.00      76.00      75.00      75.00      75.00      78.00      75.00      78.00      78.00      81.00      78.00      75.00      80.00      77.00      76.00      77.00      77.00      76.00      74.00      77.00      79.00      79.00      80.00      80.00      80.00      83.00      83.00      80.00      80.00      83.00      82.00      82.00      80.00      88.00      85.00      84.00      82.00      80.00      80.00      80.00      80.00      77.00      78.00      76.00      76.00      74.00      74.00      75.00      74.00      77.00      76.00      74.00      71.00      72.00      71.00      71.00      74.00      76.00      79.00      78.00      78.00      82.00      81.00      76.00      72.00      73.00      73.00      74.00      72.00      72.00      74.00      73.00      75.00      75.00      75.00      75.00      75.00      75.00      75.00      72.00      71.00      70.00      71.00      69.00      72.00      74.00      73.00      74.00      74.00      75.00      67.00      68.00      66.00      72.00      73.00      73.00      67.00      67.00      68.00      69.00      69.00      69.00</dwd:value>
</dwd:Forecast>
baxerus commented 3 years ago

Okay, forget it. My mistake. Should read the manual first, sorry 😐.

Of course it would still be nice to have the cloud coverage as first class citizen. But I of course can help myself with the great "Additional fields" feature 👍