Difference between revisions of "Talk:Sprinkler"
Jump to navigation
Jump to search
Line 74: | Line 74: | ||
=== meto-ubonn radolan === | === meto-ubonn radolan === | ||
* https://github.com/meteo-ubonn/radolan/blob/master/README.md | * https://github.com/meteo-ubonn/radolan/blob/master/README.md | ||
+ | ==== Ubuntu 16.04 LTS ==== | ||
<source lang='bash'> | <source lang='bash'> | ||
sudo apt-get install shapelib | sudo apt-get install shapelib | ||
Line 86: | Line 87: | ||
</source> | </source> | ||
https://github.com/meteo-ubonn/radolan/issues/12 | https://github.com/meteo-ubonn/radolan/issues/12 | ||
+ | ==== MacOS / macports ==== | ||
+ | <source lang='bash'> | ||
+ | sudo port install cmake | ||
+ | sudo port install hdf5 | ||
+ | hdf5 has the following notes: | ||
+ | Mac users may need to set the environment variable "HDF5_USE_FILE_LOCKING" to the five-character string "FALSE" when accessing | ||
+ | network mounted files. This is an application run-time setting, not a configure or build setting. Otherwise errors such as | ||
+ | "unable to open file" or "HDF5 error" may be encountered. | ||
+ | git clone https://github.com/meteo-ubonn/radolan.git | ||
+ | cd radolan | ||
+ | cmake . | ||
+ | </source> | ||
=== Hdf5 === | === Hdf5 === |
Revision as of 15:17, 13 August 2018
Weather API alternatives
- http://www.programmieren-optimieren.de/php/google-wetter-api-eingestellt-die-alternativen/
- https://stackoverflow.com/questions/12461730/find-weather-using-java
- https://api.meteomatics.com/GettingStarted.html
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:
- https://www.dwd.de/DE/leistungen/radolan/radolan.html
- Adjusted 1h total precipitation [mm/h] (Radolan), 1km x 1km, Runlength format raa01-rw_10000-[yyMMddhhmm]-dwd---bin
- https://www.dwd.de/EN/ourservices/surface_weather_observations/surface_weather_observations.html
- https://maps.dwd.de/geoserver/wfs?SERVICE=WFS&VERSION=2.0.0&REQUEST=GetCapabilities
<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>
- https://github.com/geosolutions-it/geoserver-manager
- https://maps.dwd.de/geoserver/dwd/ows?service=WFS&version=2.0.0&request=GetFeature&typeName=dwd:RBSN_RR&outputFormat=application%2Fjson
How to read Radolan data
- http://www.crahi.upc.edu/ERAD2006/material/orals/ERAD2006-A-00217.pdf
- 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
Ubuntu 16.04 LTS
sudo apt-get install shapelib
sudo apt-get install cmake
sudo apt-get install libhdf5-dev
sudo apt-get install h5utils
git clone https://github.com/meteo-ubonn/radolan.git
cd radolan
cmake .
apt-get source hdf5
sudo apt-get build-dep hdf5
https://github.com/meteo-ubonn/radolan/issues/12
MacOS / macports
sudo port install cmake
sudo port install hdf5
hdf5 has the following notes:
Mac users may need to set the environment variable "HDF5_USE_FILE_LOCKING" to the five-character string "FALSE" when accessing
network mounted files. This is an application run-time setting, not a configure or build setting. Otherwise errors such as
"unable to open file" or "HDF5 error" may be encountered.
git clone https://github.com/meteo-ubonn/radolan.git
cd radolan
cmake .
Hdf5
<!-- https://mvnrepository.com/artifact/org.hdfgroup/hdf-java -->
<dependency>
<groupId>org.hdfgroup</groupId>
<artifactId>hdf-java</artifactId>
<version>2.6.1</version>
</dependency>
Wetter Online
METAR
https://en.wikipedia.org/wiki/METAR Example: Mönchengladbach
Sensor Alternatives
- https://www.gearbest.com/lcd-led-display-module/pp_1604163.html?wid=1433363¤cy=EUR&vip=2639982&gclid=Cj0KCQjwtb_bBRCFARIsAO5fVvH5NqwbUmECIfoZaKlAmDLcDDrteKGQUiHvQvfuc5IT7nJc4Fwg48kaAoaaEALw_wcB
- https://www.banggood.com/CJMCU-Plant-Watering-Alarm-Humidity-Moisture-Sensor-For-Arduino-p-1098912.html?gmcCountry=DE¤cy=EUR&createTmp=1&utm_source=googleshopping&utm_medium=cpc_elc&utm_content=2zou&utm_campaign=pla-all2-de-en-pc&gclid=Cj0KCQjwtb_bBRCFARIsAO5fVvE4wZKzdq-B1f8jFkw2LTyyW0e6AeoVmjDUreJb_ukqQusaAwwphGcaAvbgEALw_wcB&cur_warehouse=CN
Rain gauge
https://en.wikipedia.org/wiki/Rain_gauge
- https://www.amazon.de/Royal-Gardineer-Zubehör-Bewässerungs-Steuergerät-Bewässerungs-Anschlussverteiler/dp/B013WWOALW
- https://www.amazon.de/Regenmesser-Funk-für-Netatmo-Wetterstation/dp/B00J5OHDGG
- https://www.ecotech-bonn.de/de/produkte/meterologie/sensoren1/niederschlag/niederschlagskippwaage_ku/
- https://www.rainwise.com/products/detail.php?ID=6697