Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

Xerbo/LeanHRPT-Decode

Repository files navigation

LeanHRPT Decode

Screenshot of LeanHRPT's GUI

Build

LeanHRPT is an easy to use and powerful tool for the manipulation of Level 0 HRPT data. Also see LeanHRPT Demod.

Installation

Compiled builds for Linux and Windows are available from the releases page.

Usage

See the wiki.

Example results

FengYun-3B with the NCSWIR preset MetOp-C SWIR with a map overlay Projected NOAA IR image

Advanced

Building from source

You will need Qt (at least 5.14), muparser, libpredict and shapelib installed.

While MacOS isn't officially supported, compiling should be pretty similar to the steps below.

Dependencies Installation

# Debian/Ubuntu
sudo apt install cmake gcc g++ qtbase5-dev libmuparser-dev libshp-dev
git clone -b v2.0.0 https://github.com/la1k/libpredict && cd libpredict
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
cmake --build .
sudo cmake --install .
# Fedora
sudo dnf install g++ cmake qt5-qtbase-devel muParser-devel shapelib-devel
git clone -b v2.0.0 https://github.com/la1k/libpredict && cd libpredict
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build .
sudo cmake --install .
# MSYS2
pacman -S mingw-w64-x86_64-gcc mingw-w64-x86_64-cmake mingw-w64-x86_64-qt5-base mingw-w64-x86_64-muparser mingw-w64-x86_64-shapelib mingw-w64-x86_64-ninja git
git clone -b v2.0.0 https://github.com/la1k/libpredict && cd libpredict
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/mingw64 -DCMAKE_BUILD_TYPE=Release ..
cmake --build .
cmake --install .

Development Setup

mkdir build && cd build
cmake ..
cmake --build .

Input file format

Input files should be:

  • NOAA - raw data, raw16 or HRP
  • Meteor - raw data
  • MetOp - CADUs or VCDUs
  • FengYun - CADUs or VCDUs

Credits