Difference between revisions of "Talk:Sprinkler"

From BITPlan Wiki
Jump to navigation Jump to search
Line 79: Line 79:
 
sudo apt-get install libhdf5-dev
 
sudo apt-get install libhdf5-dev
 
apt-get source hdf5
 
apt-get source hdf5
 +
sudo apt-get build-dep hdf5
 
</source>
 
</source>
  

Revision as of 14:23, 13 August 2018

Weather API alternatives

Open Weather Api

City list: http://bulk.openweathermap.org/sample/city.list.json.gz

Example city Willich

{
    "id": 2808559,
    "name": "Willich",
    "country": "DE",
    "coord": {
      "lon": 6.55,
      "lat": 51.26667
    }
  },

Example weather

https://api.openweathermap.org/data/2.5/weather?q=Willich,DE&appid=0123456789abcdef...&units=metric

{
 "coord":{"lon":6.54,"lat":51.26},
 "weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"base":"stations",
 "main":{"temp":28.84,"pressure":1020,"humidity":37,"temp_min":27,"temp_max":30},"visibility":10000,
 "wind":{"speed":1.5},
 "clouds":{"all":0},"dt":1533138900,
 "sys":{"type":1,"id":4909,"message":0.0046,"country":"DE","sunrise":1533095958,"sunset":1533151198},
 "id":2808559,
 "name":"Willich",
 "cod":200
}

Java Code

DWD Data

Precipitation data:

<FeatureType>
  <Name>dwd:RBSN_RR</Name>
  <Title>Niederschlag an RBSN Stationen</Title>
  <Abstract>Messwerte des Niederschlags an den DWD Stationen im Regional Basic Synoptic Network (RBSN) der WMO. Erweitert um weitere Stationen der Grundversorgung.</Abstract>
  <ows:Keywords>
    <ows:Keyword>Beobachtungssystem</ows:Keyword>
    <ows:Keyword>Bodenniveau</ows:Keyword>
    <ows:Keyword>Geographischer Ort</ows:Keyword>
    <ows:Keyword>Meteorologie</ows:Keyword>
    <ows:Keyword>Niederschlag</ows:Keyword>
    <ows:Keyword>SYNOP</ows:Keyword>
    </ows:Keywords>
    <DefaultCRS>urn:ogc:def:crs:EPSG::4326</DefaultCRS>
    <ows:WGS84BoundingBox>
      <ows:LowerCorner>6.02439799999999 47.398578</ows:LowerCorner>
      <ows:UpperCorner>14.950565 55.010987</ows:UpperCorner>
    </ows:WGS84BoundingBox>
  </FeatureType>

How to read Radolan data

  1. http://www.crahi.upc.edu/ERAD2006/material/orals/ERAD2006-A-00217.pdf
  2. https://www.hs-rm.de/de/fachbereiche/architektur-und-bauingenieurwesen/forschungsprofil/arbeitsgruppe-starkregen-und-sturzfluten/projekt-klimprax-ap1/radar-software/

https://opendata.dwd.de/weather/radar/radolan/

  • rw (stündlich)
  • ry
  • sf (täglich)

meto-ubonn radolan

sudo apt-get install shapelib
sudo apt-get install cmake
sudo apt-get install libhdf5-dev
apt-get source hdf5
sudo apt-get build-dep hdf5

Wetter Online

METAR

https://en.wikipedia.org/wiki/METAR Example: Mönchengladbach

Sensor Alternatives

Rain gauge

https://en.wikipedia.org/wiki/Rain_gauge