GithubHelp home page GithubHelp logo

mihajlopi / meteordemod Goto Github PK

View Code? Open in Web Editor NEW

This project forked from digitelektro/meteordemod

0.0 0.0 0.0 10.25 MB

Decode Russian Meteor weather satellite

License: MIT License

CMake 1.72% C++ 95.19% QMake 1.98% C 0.08% Inno Setup 1.03%

meteordemod's Introduction

Meteor Decoder

This project is intended to be a cross platform software to decode METEOR M2 weather satellite data into images. Input file can be ".S" (soft samples) or ".wav" file. It was created for educational purposes, to learn about satellite communications, how to decode QPSK modulated signals, GIS experiements and all the other stuff that was involved in this project.

The project is based on

http://jmfriedt.free.fr/glmf_meteor_eng.pdf

https://github.com/infostellarinc/starcoder/tree/master/gr-starcoder/lib/meteor

https://github.com/artlav/meteor_decoder

https://lucasteske.dev/satcom-projects/satellite-projects

https://github.com/dbdexter-dev/meteor_demod

https://github.com/AlexandreRouma/SDRPlusPlus

Detailed tutorial

Thanks to ZL4MDE for the nice tutorial he wrote about meteordemod. You can find information how to setup a PC for using meteordemod and detailed information about the settings in the settings.ini.

Currently supported outputs are raw channel images, RGB images, IR images. Output projection modes are rectified image, Mercator and Azimuthal Equidistant projection.

Install using deb package (Only for Raspberry PI)

I've created a debian package for raspberry pi users. There is a limitation though, user home folder must be "/home/pi".

sudo apt install python3-opencv
sudo apt install ./MeteorDemod-x.x.x-Linux.deb

Build and install from sources

For the development QT creator is used, but the qmake is maintained only for windows.

CMAKE is the build system to compile the project. Tested on Windows and Linux(ubuntu, raspbian)

OpenCV must be installed on the system. Required OpenCV modules: core, imgcodecs, imgproc

First install all dependencies:

sudo apt install python3-dev python3-pip -y
sudo apt install cmake build-essential pkg-config git -y
sudo apt install libatlas-base-dev liblapacke-dev gfortran -y

Build opencv from sources:

git clone --depth=1 https://github.com/opencv/opencv.git
cd opencv/
mkdir build && cd build
cmake ../  -DBUILD_LIST=core,imgproc,imgcodecs -DCMAKE_INSTALL_PREFIX=/usr/local -DBUILD_TESTS=OFF -DBUILD_EXAMPLES=OFF -DCMAKE_SHARED_LINKER_FLAGS=-latomic
make -j4
sudo make install

Or install it:

sudo apt install libopencv-dev python3-opencv -y

Then build and install MeteorDemod:

git clone --depth=1 https://github.com/Digitelektro/MeteorDemod.git
cd MeteorDemod
git submodule update --init --recursive
mkdir build && cd build
cmake ../
make -j4
sudo make install

Usage

Input parameters:

-sat --satellite Satellite settings name from settings.ini

-t --tle Two-line element set (TLE) file for calculating overlays

-i --input Input *.S file or *.wav

-o --output Optional, folder where generated files will be saved

-f --format Optional, format of the output images (jpg, bmp, png), default: bmp

-d --date Optional, specify date for decoding older files (format: dd-mm-yyyy)

-m --mode Specify modulation type (qpsk or oqpsk, default: qpsk)

-int --int Deinterleave, needed for 80k mode

-diff --diff Differential decode, may need for newer satellites

Other settings can be found in the settings.ini file.

Example command for 80k mode Meteor M2-3:

meteordemod -m oqpsk -int 1 -diff 1 -s 80e3 -sat METEOR-M-2-3 -i input_baseband.wav -t weather.tle -o ./

Development

Master branch is for the latest stable version, beta branch for beta versions, development is ongoing on other branches.

Example Outputs

Spreaded Image

Spreaded Image

Mercator projection

Mercator Image

Azimuthal Equidistant projection

Equidistant Image

IR Image

IR Image

Temperature Image

Temperature Image

Composite IR Image

IR Composite Image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.