All Projects → Xerbo → aptdec

Xerbo / aptdec

Licence: GPL-2.0 License
NOAA APT satellite imagery decoder (not-so-WIP)

Programming Languages

c
50402 projects - #5 most used programming language
CMake
9771 projects
shell
77523 projects
Batchfile
5799 projects

Projects that are alternatives of or similar to aptdec

Gr Satellites
GNU Radio decoders for several Amateur satellites
Stars: ✭ 472 (+997.67%)
Mutual labels:  satellite, decoder
jradio
Software radio decoding
Stars: ✭ 40 (-6.98%)
Mutual labels:  satellite, decoder
ansible-apt
Ansible role to manage packages and up(date|grade)s in Debian-like systems
Stars: ✭ 21 (-51.16%)
Mutual labels:  apt
aiff
Battle tested aiff decoder/encoder
Stars: ✭ 20 (-53.49%)
Mutual labels:  decoder
SatDump
A generic satellite data processing software.
Stars: ✭ 223 (+418.6%)
Mutual labels:  satellite
gedcom
👪 A Go library and CLI tools for encoding, decoding, traversing, merging, comparing, querying and publishing GEDCOM files.
Stars: ✭ 55 (+27.91%)
Mutual labels:  decoder
mozitools
Mozi Botnet related tools helping to unpack a sample, decode a configuration and track active Mozi nodes using DHT.
Stars: ✭ 23 (-46.51%)
Mutual labels:  decoder
pyspectral
Pyspectral is a package to read and manipulate satellite sensor spectral responses and solar irradiance spectra
Stars: ✭ 44 (+2.33%)
Mutual labels:  satellite
Base62
PHP Base62 encoder and decoder for integers and big integers with Laravel 5 support.
Stars: ✭ 16 (-62.79%)
Mutual labels:  decoder
LOLBAS222
APT || Execution || Launch || APTs || ( Authors harr0ey, bohops )
Stars: ✭ 100 (+132.56%)
Mutual labels:  apt
S.T.A.R
Satellite Trajectory Animating & Rendering: Satellite Orbit Visualiser using Blender
Stars: ✭ 29 (-32.56%)
Mutual labels:  satellite
decimation.github.io
Cydia repo
Stars: ✭ 18 (-58.14%)
Mutual labels:  apt
pytextcodifier
📦 Turn your text files into codified images or your codified images into text files.
Stars: ✭ 14 (-67.44%)
Mutual labels:  decoder
fadec
A fast and lightweight decoder for x86 and x86-64 and encoder for x86-64.
Stars: ✭ 44 (+2.33%)
Mutual labels:  decoder
fastaop
🚀 lightweight, high-performance AOP framework based on Java Annotation Processing, similar to Lombok
Stars: ✭ 87 (+102.33%)
Mutual labels:  apt
RapidORM
Quick solutions for Android ORM
Stars: ✭ 24 (-44.19%)
Mutual labels:  apt
delving-deeper-into-the-decoder-for-video-captioning
Source code for Delving Deeper into the Decoder for Video Captioning
Stars: ✭ 36 (-16.28%)
Mutual labels:  decoder
ITU-Rpy
A python implementation of the ITU-R P. Recommendations for atmospheric attenuation modeling
Stars: ✭ 60 (+39.53%)
Mutual labels:  satellite
Training
Defensive Origins Training Schedule
Stars: ✭ 33 (-23.26%)
Mutual labels:  apt
goesdump
GOES xRIT Data Dumper for xRIT Demodulator
Stars: ✭ 46 (+6.98%)
Mutual labels:  decoder

Aptdec logo

Copyright (c) 2004-2009 Thierry Leconte (F4DWV), Xerbo ([email protected]) 2019-2020

x86 Release x86 Debug x86 Win Release x86 Win Debug

Introduction

Aptdec is a FOSS program that decodes images transmitted by NOAA weather satellites. These satellites transmit constantly (among other things) medium resolution (4km/px) images of the earth over a analog mode called APT. These transmissions can easily be received with a cheap SDR and simple antenna. Then the transmission can be decoded in narrow FM mode.

Aptdec can turn the audio recordings into PNG images and generate images such as:

  • Raw image: both channels with full telemetry included
  • Individual channel: one of the channels form the image
  • Temperature image: a temperature compensated image derived from the IR channel
  • Palleted image: a image where the color is derived from a palette (false color, etc)
  • MCIR: a false color that uses a underlay map for color

The input audio format can be anything supported by libsndfile (although only tested with WAV and FLAC). Sample rate doesn't matter, although lower samples rates will process faster.

Quick start

sudo apt install cmake git gcc libsndfile-dev libpng-dev
git clone https://github.com/Xerbo/aptdec.git && cd aptdec
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make

Using the Makefile with GNU automake is now deprecated and will be removed soon.

Examples

To create an image from gqrx_20200527_115730_137914960.wav (output filename will be gqrx_20200527_115730_137914960-r.png)

./aptdec gqrx_20200527_115730_137914960.wav

To manually set the output filename

./aptdec -o image.png gqrx_20200527_115730_137914960.wav

Decode all WAV files in the current directory and put them in images

mkdir images && ./aptdec -d images *.wav

Apply a denoise filter (see Post-Processing Effects for a full list of post-processing effects)

./aptdec -e d gqrx_20200527_115730_137914960.wav

Create a temperature compensated image for NOAA 18

./aptdec -i t -s 18 gqrx_20200527_115730_137914960.wav

Apply a falsecolor palette

./aptdec -i p -p palettes/WXtoImg-N18-HVC.png gqrx_20200527_115730_137914960.wav

Usage

Arguments

-i [r|a|b|t|m|p] Output type (stackable)
-e [t|h|l|d|p|f] Effects (stackable)
-o <path>        Output filename
-d <path>        Destination directory
-s (15-19)       Satellite number
-m <path>        Path to WXtoImg map
-p <path>        Path to palette
-r               Realtime decode
-g               Gamma adjustment (1.0 = off)
-k               Map offset (in px, default: 0)

Image output types

  • r: Raw Image
  • a: Channel A
  • b: Channel B
  • t: Temperature
  • m: MCIR (Map Color InfraRed)
  • p: Palleted

Post-Processing Effects

  • t: Crop telemetry (only effects raw image)
  • h: Histogram equalise
  • l: Linear equalise
  • d: Denoise
  • p: Precipitation overlay
  • f: Flip image (for northbound passes)
  • c: Crop noise from ends of image

Realtime decoding

Aptdec even supports decoding in realtime. The following decodes the audio coming from the audio device pulseaudio alsa_output.pci-0000_00_1b.0.analog-stereo

mkfifo /tmp/aptaudio
aptdec -r /tmp/aptaudio
sox -t pulseaudio alsa_output.pci-0000_00_1b.0.analog-stereo.monitor -c 1 -t wav /tmp/aptaudio

To stop the decode and calibrate the image simply kill the sox process.

Palette formatting

Palettes are just simple PNG images, 256x256px in size with 24bit RGB color. The X axis represents the value of Channel A and the Y axis the value of Channel B.

Compiling with cmake

Thanks to the help of Aang23 aptdec is moving towards cmake + cpack for builds.

To use cmake to build instead of GNU automake:

mkdir build && cd build
cmake ..
make

You can cross build for Windows from Linux with the build_windows.sh script, you will need the following:

sudo apt install wget cmake make mingw-w64 git unzip

To build natively on Windows using MSVC, you will also need: git, ninja and cmake. Then run:

.\build_windows.bat

If you just wish to build libaptdec on Windows, libpng and libsndfile aren't needed.

Further Reading

User's Guide for Building and Operating Environmental Satellite Receiving Stations

NOAA KLM coefficients

NOAA Satellite specifications and more information

License

See LICENSE

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].