Xerbo 22b325a5ef | 5 yıl önce | |
---|---|---|
.gitignore | 5 yıl önce | |
LICENSE | 21 yıl önce | |
Makefile | 5 yıl önce | |
README.md | 5 yıl önce | |
colorpalette.h | 5 yıl önce | |
dsp.c | 5 yıl önce | |
falsecolor.conf | 5 yıl önce | |
fcolor.c | 5 yıl önce | |
filter.c | 5 yıl önce | |
filter.h | 5 yıl önce | |
filtercoeff.h | 5 yıl önce | |
image.c | 5 yıl önce | |
main.c | 5 yıl önce | |
messages.h | 5 yıl önce | |
offsets.h | 5 yıl önce | |
reg.c | 5 yıl önce | |
satcal.h | 5 yıl önce | |
textlogo.png | 5 yıl önce |
Thierry Leconte F4DWV (c) 2004-2009
Aptdec is an FOSS program that decodes images transmitted by NOAA weather satellites. These satellites transmit continuously (among other things), medium resolution (1px/4km) images of the earth on 137 MHz.
These transmissions could be easily received with an simple antenna and cheap SDR. Then the transmission can easily be decoded in narrow band FM mode.
Aptdec can convert these audio files into .png images.
For each audio file up to 6 images can be generated:
The input audio file must be mono with a sample rate in the range of 4160-62400 Hz, lower samples rates will process faster.
Aptdec uses libsndfile
to read the input audio, so any format supported by libsndfile
may be used (however it has only tested with .wav
files).
Aptdec is portable since it is written in standard C.
It has successfully compiled and ran on Debian with both gcc
and clang
and will most likely work on any Unix platform.
Just edit the Makefile and run make
(no configure script as of right now).
Aptdec uses libsndfile
, libpng
and libm
.
The snd.h
and png.h
headers must be present on your system.
If they are not on standard path, edit the include path in the Makefile.
To compile
make
To run without installing
./aptdec [options] audio files...
To install
sudo make install
To run once installed
aptdec [options] audio files...
To uninstall
sudo make uninstall
-i [r|a|b|c|t|l]
Output image type
Raw (r), Channel A (a), Channel B (b), False Color (c), Temperature (t), Layered (l)
Default: "ab"
-d <dir>
Images destination directory (optional).
Default: Current directory
-s [15|16|17|18|19]
Satellite number
For temperature calibration
Default: "19"
-e [c|t]
Enhancements
Contrast (c) or Crop Telemetry (t)
Defaults: "ct"
-c <file>
Use configuration file for false color generation.
Default: Internal defaults
Generated images are outputted in PNG, 8 bit greyscale for raw and channel A|B images, 24 bit RGB for false color.
Image names are audiofile-x.png
, where x
is:
r
for raw imagesc
for false color.t
for temperature calibrated imagesl
for layered imagesCurrently there are 2 available enchancements:
c
for contrast enhancements, on by defaultt
for crop telemetry, on by default, only has effects on raw imagesaptdec -d images -i ab *.wav
This will process all .wav
files in the current directory, generate contrast enhanced channel A and B images and put them in the images
directory.
https://noaasis.noaa.gov/NOAASIS/pubs/Users_Guide-Building_Receive_Stations_March_2009.pdf
https://web.archive.org/web/20141220021557/https://www.ncdc.noaa.gov/oa/pod-guide/ncdc/docs/klm/tables.htm
See LICENSE.