Coder Social home page Coder Social logo

leanhrpt-decode's People

Contributors

sgcderek avatar xerbo avatar zeke800 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

leanhrpt-decode's Issues

Projection issues

Consistently happening for a few passes now of different satellites. Also, GAC projection doesn't seem to work, only shows a black square.

image

Thank you for all of the bug fixes!

Map doesn't work on very low elevation passes

Describe the bug
This pass was about three degrees on the horizon - I wanted to see how well the setup did. Anyways, the new map overlays work perfectly on good strong passes, but on low ones just crash.

Meteor-M22_MSU-MR_2022-02-06T183415Z_1

Level 1B data export

In order to use data in other software such as GDAL or satpy. Requires calibrated and georeferenced channels.

  • Calibrated visible channels
  • Calibrated thermal channels
  • Georeferencing (through satellite positional information or TLEs)
  • Sun zenith and azimuth calculation

Projection overhaul

Completely remove the dependency on GDAL for projection and use polygon based warping to project images.

  • Initial proof of concept
  • Support for multiple projections (Polar Azimuthal Equidistant, Mercator)
  • Map overlays
  • UI design
  • Geographic area of interest
  • Write GIS attributes (.wld)
  • Run projection on background thread, don't freeze the UI
  • Large image warning

STILL unable to decode GAC

Describe the bug
I ran the GAC recording through LeanHRPT and it didn't work (fingerprinting failed). I ran it through satdump using the "NOAA GAC - Backward Playback" mode and it produced an image.

Note - if it helps the satellite was NOAA 18

0 MTVZA lines?

Describe the bug
Does not download Meteor MTVZA sounder lines.

To Reproduce
Open any recent pass starting from 12:00 PM today

Expected behavior
Decode MTVZA lines

Platform

  • Windows

Version
Latest

Thanks for accepting my pull request! I just downloaded about 3500 clear lines (no noise at all) from Meteor on MSU-MR. When I go to the MTVZA tab, there are no lines whatsoever. The line counter says "0 lines". Why did this happen?

Add other instruments

Describe the feature you would like
Decode other instruments from HRPT data (e.g. AMSU , HRIS, TIP frames, timestamps, possibly location data?).

Additional context

Tools hang on Windows

Describe the feature you would like
Is it possible to add a bin to soft converter?

Additional context
Also how do I operate the VCDU to CADU converter?

Thank you so much!!

Quick question

On the WMO OSCAR database, Meteor M2-2 has all sorts of cool instruments, such as a Synthetic Aperture Radar, and even an imager that transmits NIR and true color images (KMSS)!!!

My question is, is the data from these instruments in the HRPT data? If not, where is it broadcast? X band dumps? I would expect it to be in the HRPT due to the "realtime broadcast" service, however, x band seems more likely due to the data rates.

EDIT: Apparently the data rate is over 60 Mbps, so not HRPT.

On a separate note - what software do you use to analyze the bin files?

Unable to decode GAC correctly

Describe the bug
I had a very clear constellation - live decoded. I then ran it through LeanHRPT Decode and it outputted garbage. I had (for some reason) only the HRIS instrument, and the satellite name was NOAA-19. I received GAC from NOAA-18. Any ideas?

Use system theme

Under both Linux and Windows Qt doesn't use the native system theme, using the very outdated looking XP theme on Windows and completely ignoring system theming (but not theme colors) on Linux.

Under Linux the only way I'm aware of to get around this is to use the system provided version of Qt, however LeanHRPT requires at least 5.13 for 16 bit image support and most distributions don't provide a new enough version.

Under Windows, I have no clue. Fixed

  • Windows
  • Linux

[QUESTION] How do I add new composites?

Hi! I just made a few composites with the new sensors available... how would I add them to the software? I have an updated 'presets.ini' file and would like to add it to the main repository.

Thanks!

libpredict will not compile

  1. Doxygen is a prerequisite not listed in the instructions:
    Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)

Solution is to install Doxygen:
[sdr@sdr] build $sudo apt install doxygen

  1. Libpredict still will not build:
    [sdr@sdr] build $sudo cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
    -- Found Doxygen: /usr/bin/doxygen (found version "1.9.1") found components: doxygen missing components: dot
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /sdr/LeanHRPT-Decode/build/libpredict/build
    [sdr@sdr] build $sudo cmake --install .
    -- Install configuration: "Release"
    CMake Error at src/cmake_install.cmake:57 (file):
    file INSTALL cannot find
    "/sdr/LeanHRPT-Decode/build/libpredict/build/src/libpredict.so.2.0.0": No
    such file or directory.
    Call Stack (most recent call first):
    cmake_install.cmake:48 (include)

Solution is to install grafviz
[sdr@sdr] build $sudo apt install graphviz

  1. Libpredict finally builds, but still unable to compile:
    [sdr@sdr] build $sudo cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /sdr/LeanHRPT-Decode/libpredict/build

[sdr@sdr] build $sudo cmake --install .
-- Install configuration: "Release"
CMake Error at src/cmake_install.cmake:57 (file):
file INSTALL cannot find
"/sdr/LeanHRPT-Decode/libpredict/build/src/libpredict.so.2.0.0": No such
file or directory.
Call Stack (most recent call first):
cmake_install.cmake:48 (include)

==========================

Not sure how to proceed from here.

[sdr@sdr] build $ver
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu Jammy Jellyfish (development branch)
Release: 22.04
Codename: jammy

Compile

Describe the bug
root@marcinoza:/SRC/libpredict/build# cmake -DCMAKE_INSTALL_PREFIX=/usr ..
-- Found Doxygen: /usr/bin/doxygen (found version "1.9.4") found components: doxygen dot
-- Configuring done
-- Generating done
-- Build files have been written to: /mnt/magazyn0/SRC/libpredict/build
root@marcinoza:/SRC/libpredict/build# cmake -DCMAKE_INSTALL_PREFIX=/usr ..
-- Configuring done
-- Generating done
-- Build files have been written to: /mnt/magazyn0/SRC/libpredict/build
root@marcinoza:/mnt/magazyn0/SRC/libpredict/build# make
[ 25%] Built target predict
[ 48%] Built target predict_static
[ 53%] Built target dummy-t
[ 58%] Built target link-t
[ 60%] Building CXX object tests/CMakeFiles/orbit-t.dir/testcase_reader.cpp.o
/mnt/magazyn0/SRC/libpredict/tests/testcase_reader.cpp: In function ‘std::string& ltrim(std::string&)’:
/mnt/magazyn0/SRC/libpredict/tests/testcase_reader.cpp:35:93: error: ‘std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result ()(_Arg)) [with _Arg = int; _Result = int]’ is deprecated: use 'std::function' instead [-Werror=deprecated-declarations]
35 | s.erase(s.begin(), std::find_if(s.begin(), s.end(), std::not1(std::ptr_fun<int, int>(std::isspace))));
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
In file included from /usr/include/c++/12/string:48,
from /mnt/magazyn0/SRC/libpredict/tests/testcase_reader.h:4,
from /mnt/magazyn0/SRC/libpredict/tests/testcase_reader.cpp:1:
/usr/include/c++/12/bits/stl_function.h:1126:5: note: declared here
1126 | ptr_fun(_Result (
__x)(_Arg))
| ^~~~~~~
/mnt/magazyn0/SRC/libpredict/tests/testcase_reader.cpp:35:70: error: ‘constexpr std::unary_negate<_Predicate> std::not1(const _Predicate&) [with _Predicate = pointer_to_unary_function<int, int>]’ is deprecated: use 'std::not_fn' instead [-Werror=deprecated-declarations]
35 | s.erase(s.begin(), std::find_if(s.begin(), s.end(), std::not1(std::ptr_fun<int, int>(std::isspace))));
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/12/bits/stl_function.h:1046:5: note: declared here
1046 | not1(const _Predicate& __pred)
| ^~~~
/mnt/magazyn0/SRC/libpredict/tests/testcase_reader.cpp: In function ‘std::string& rtrim(std::string&)’:
/mnt/magazyn0/SRC/libpredict/tests/testcase_reader.cpp:41:84: error: ‘std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result ()(_Arg)) [with _Arg = int; _Result = int]’ is deprecated: use 'std::function' instead [-Werror=deprecated-declarations]
41 | s.erase(std::find_if(s.rbegin(), s.rend(), std::not1(std::ptr_fun<int, int>(std::isspace))).base(), s.end());
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/c++/12/bits/stl_function.h:1126:5: note: declared here
1126 | ptr_fun(_Result (
__x)(_Arg))
| ^~~~~~~
/mnt/magazyn0/SRC/libpredict/tests/testcase_reader.cpp:41:61: error: ‘constexpr std::unary_negate<_Predicate> std::not1(const _Predicate&) [with _Predicate = pointer_to_unary_function<int, int>]’ is deprecated: use 'std::not_fn' instead [-Werror=deprecated-declarations]
41 | s.erase(std::find_if(s.rbegin(), s.rend(), std::not1(std::ptr_fun<int, int>(std::isspace))).base(), s.end());
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/12/bits/stl_function.h:1046:5: note: declared here
1046 | not1(const _Predicate& __pred)
| ^~~~
cc1plus: all warnings being treated as errors
make[2]: *** [tests/CMakeFiles/orbit-t.dir/build.make:90: tests/CMakeFiles/orbit-t.dir/testcase_reader.cpp.o] Błąd 1
make[1]: *** [CMakeFiles/Makefile2:314: tests/CMakeFiles/orbit-t.dir/all] Błąd 2
make: *** [Makefile:146: all] Błąd 2

To Reproduce
Steps to reproduce the behavior

Expected behavior
A description of what you expected to happen

Platform

  • Linux Ubuntu 23.04

Version
Put the version of LeanHRPT relase and development

Missing step or dependency in build/install instructions

Describe the bug
Following the build/install instructions on Ubuntu 20.04.5, run into the following error message:
ai...ner:~/LeanHRPT-Decode/build$ make
[ 2%] Automatic MOC and UIC for target LeanHRPT-Decode
[ 2%] Built target LeanHRPT-Decode_autogen
[ 5%] Building CXX object CMakeFiles/LeanHRPT-Decode.dir/src/commandline.cpp.o
/home/...../LeanHRPT-Decode/src/commandline.cpp: In function ‘ulong str2ulong(QString)’:
/home/..../LeanHRPT-Decode/src/commandline.cpp:38:14: error: ‘class QLocale’ has no member named ‘toULong’

To Reproduce
New (scratch) install of Ubuntu 20.04.5
Follow instructions on https://github.com/Xerbo/LeanHRPT-Decode

Expected behavior
Expected make would build

Platform
Linux .... 5.15.0-58-generic #64~20.04.1-Ubuntu SMP Fri Jan 6 16:42:31 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Version
origin/master

Meteor-M CADU support

Describe the bug

Loading a CADU file produced by SatDump and obtained from the Meteor-M series of satellites, immediately crashes LeanHRPT-decode with a segmentation fault.

To Reproduce

  1. Download either of these two CADU files obtained from SatDump v0.0.39: directory listing
  2. Open LeanHRPT-Decode
  3. Load the CADU file via File -> Open
  4. LeanHRPT-Decode crashes immediately. If executed from command line, a segmentation fault message appears. Nothing else is output.

This happens both with the Meteor-M N2 (the one with LRPT still active) and Meteor-M N2-2. A file for Meteor-M N2 can be found in the above directory listing as well (go back a level to find other satellites).

I should mention that LeanHRPT opens without any problem all other files obtained from SatDump, but from other satellites, such as METOP or NOAA POES.

The problem also happens under Windows, although of course there is no indication about a segmentation fault, the program just closes immediately.

Expected behavior
The CADU file would get opened and processed.

Platform

  • Linux Pop!_OS (based on Ubuntu) 22.04, both on laptop and desktop.
  • Windows 10 64 bit 21H1 build 19043.928, virtualized under VMWare Player 16 on the desktop

Version
Laptop: v0.8.0-rc2 (Ubuntu Jammy package)
Desktop: (compiled from source): v0.8.0-rc2-12-g4789b1a
Virtual Machine: v0.8.0-rc2

On the desktop the compiling software was all installed from official repositories of Ubuntu 22.04.

In case it is needed, specifications of the two computers.
Laptop: Lenovo Thinkpad X260 (Intel i5-6200u, 8GB RAM, integrated Intel HD Graphics 520)
Desktop: Dell Optiplex 9010 (Intel i5-3470, 16 GB RAM, dedicated AMD Radeon RX570)

Thanks in advance!

Live decoding

Describe the feature you would like
Would it be possible to create a live decoding feature? It would be really useful!

Additional context
Add any other context or screenshots about the feature request here

Backwards GAC samples

A while back, I forgot to send some files from backwards GAC!

This is from NOAA-18, a GAC dump transmitted on 1698MHz. Unfortunately, the satellite was quite low on the horizon, and my 1m offset dish can't pull in much of a signal. Either way, I would appreciate it if you could implement a decoder.

Thank you!

noaagacjuly12_test.zip

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.