- Linked data (Python/LINDAS/SPARQL/hydrodata)by spirrobeTL;DR; Make a map of the original and/or fixed coordinates of the hydrological stations of the BAFU using the data from Lindas The above map is an illustration of the …
Continue reading “Linked data (Python/LINDAS/SPARQL/hydrodata)”
- Linked data (LINDAS/SPARQL/hydrodata)by spirrobeTL;DR; Get the up-to-date data from LINDAS of the currently available values discharge / water level/water temperatures for all BAFU stations. This one took quite some time and serves as …
- backing off – extending the wait for server response via pythonby spirrobeRetry a request or other function that may timeout with exponentially increasing time between retries
- No network after disconnecting VPN (cisco/global protect) on Linux (with systemd)by spirrobeVPN clients are often used to get access to internal infrastructure. Often I had to use them to enter time tracking, connect to servers or similar. However, on my usual …
Continue reading “No network after disconnecting VPN (cisco/global protect) on Linux (with systemd)”
- overlay an image onto another oneby spirrobeTL;DR; Use the below code to insert one image onto another at a fixed position (scaled down). The code below draws an image onto another existing picture. The use case …
- My implementation of a touchdown event via javascriptby spirrobeTL;DR; The below code can be added as a script to your page to implement a touchdown event detection and directly attach it to a “menu” element Handling a touchdown …
Continue reading “My implementation of a touchdown event via javascript”
- Get the most recent census data from the Basler Atlasby spirrobeGet census data from the Basler Atlas automatically
- GIF frame extraction made easy (sci. vis. util)by spirrobeExtract GIF frames to numpy array and/or save as files.
- Parsivel 2 sampling via linuxby spirrobeSample the OTT Parsivel2 connected via serial to a Linux device via Python and output data as ASDO-CSV and/or netCDF4
- Minor SVG hackby spirrobeA small Python script to replace properties in a SVG, like replacing color.
- Images to video (sci. vis. util)by spirrobeMake videos from a lot of files in a folder with ffmpeg.
- Conversion swisstopo, CH1903 (LV95/LV03) and WGS83by spirrobeConvert WGS 84 to CH1903 and vice versa,