#include <punctiform_product.h>
|
void | set_tle (nlohmann::json tle) |
bool | has_tle () |
nlohmann::json | get_tle () |
geodetic::geodetic_coords_t | get_sample_position (int ch_index, int sample_index) |
int | getChannelIndexByName (std::string name) |
DataHolder & | getChannelByName (std::string name) |
virtual void | save (std::string directory) |
| Save the product. Depending on the type this will save a product.cbor and other files in the same directory (eg, images)
|
virtual void | load (std::string file) |
| Load the product. This should refer to the product.cbor file.
|
| Product (Product const &)=delete |
void | operator= (Product const &x)=delete |
void | set_product_timestamp (double timestamp) |
| Set product timestamp, optional. This is usually the rough creation time / acquisition time.
|
bool | has_product_timestamp () |
| Check if a product timestamp is present.
|
double | get_product_timestamp () |
| Get the product timestamp.
|
void | set_product_source (std::string source) |
| Set product source, optional. This is meant to contextualize where this product is from, eg which satellite.
|
bool | has_product_source () |
| Check if a product source is present.
|
std::string | get_product_source () |
| Get the product source.
|
void | set_product_id (std::string id) |
| Set product ID, optional. This is meant to, for example, differentiate several identical instruments.
|
bool | has_product_id () |
| Check if a product ID is present.
|
std::string | get_product_id () |
| Get the product ID.
|
|
std::vector< DataHolder > | data |
nlohmann::json | contents |
std::string | instrument_name |
std::string | type |
◆ load()
void satdump::products::PunctiformProduct::load |
( |
std::string | file | ) |
|
|
virtual |
◆ save()
void satdump::products::PunctiformProduct::save |
( |
std::string | directory | ) |
|
|
virtual |
Save the product. Depending on the type this will save a product.cbor and other files in the same directory (eg, images)
- Parameters
-
directory | directory to save into |
Reimplemented from satdump::products::Product.
The documentation for this class was generated from the following files: