2024-08-08 22:52:18 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
2025-05-31 20:26:47 +02:00
|
|
|
#include "pipeline/modules/base/filestream_to_filestream.h"
|
2024-08-08 22:52:18 +02:00
|
|
|
|
|
|
|
|
#include "instruments/seviri/seviri_reader.h"
|
|
|
|
|
|
|
|
|
|
namespace meteosat
|
|
|
|
|
{
|
2025-05-31 20:26:47 +02:00
|
|
|
class MSGInstrumentsDecoderModule : public satdump::pipeline::base::FileStreamToFileStreamModule
|
2024-08-08 22:52:18 +02:00
|
|
|
{
|
|
|
|
|
protected:
|
2024-08-09 01:49:33 +02:00
|
|
|
std::shared_ptr<msg::SEVIRIReader> seviri_reader;
|
2024-08-08 22:52:18 +02:00
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
MSGInstrumentsDecoderModule(std::string input_file, std::string output_file_hint, nlohmann::json parameters);
|
|
|
|
|
void process();
|
|
|
|
|
void drawUI(bool window);
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
static std::string getID();
|
|
|
|
|
virtual std::string getIDM() { return getID(); };
|
2025-05-31 20:26:47 +02:00
|
|
|
static nlohmann::json getParams() { return {}; } // TODOREWORK
|
2024-08-08 22:52:18 +02:00
|
|
|
static std::shared_ptr<ProcessingModule> getInstance(std::string input_file, std::string output_file_hint, nlohmann::json parameters);
|
|
|
|
|
};
|
2025-05-31 20:26:47 +02:00
|
|
|
} // namespace meteosat
|