Skip to content

Instantly share code, notes, and snippets.

@astuder
astuder / st1rx.py
Last active September 10, 2024 20:55
Seatalk1 receiver for Raspberry Pi based on gpiod
# Seatalk1 receiver for Raspberry Pi
# This script supports gpiod 1.x and 2.x, tested with 1.6.3 and 2.2.1
# This script was tested with Raspberry Pi OS Bookworm on Rasperry Pi 4 and Raspberry Pi 5
# This script was tested with Raspian Bullseye on Raspberry Pi 3
#
# Copyright 2024 Adrian Studer
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
@MHBalsmeier
MHBalsmeier / eccodes_on_ubuntu.md
Last active July 21, 2024 00:05
How to install Eccodes on Ubuntu

How to Install Eccodes on Ubuntu

Eccodes is an open source library made by ECMWF for reading and writing grib files, which is the most common file format for meteorological und oceanographic data in operational use (while in research, Netcdf is mainly used). If one wants to work with grib files seriously, one will have to install it earlier or later. On top of that, one will also have to make sure C and Python code is able to import the library's functionality.

First of all, I would highly recommend not to use anything else than Linux, preferably Ubuntu, for working with meteorological data, especially grib files. If you do not want to migrate to Linux completely, consider either a dual boot or a virtual machine.

I just show you the commands with minimal explanation.

Installing an older version with apt