SatDump 2.0.0-alpha-76a915210
Loading...
Searching...
No Matches
satdump::products::DataSet Struct Reference

SatDump dataset struct. More...

#include <dataset.h>

Public Member Functions

void save (std::string path)
 Save a dataset to a file.
void load (std::string path)
 Load a dataset from a file.

Public Attributes

std::string satellite_name
double timestamp
std::vector< std::string > products_list

Detailed Description

SatDump dataset struct.

This is a simple class holding information and paths to several different product, coming from the same source / acquisition.

Parameters
satellite_namesource satellite name. Should be descriptive enough, but if the specific satellite (eg, MetOp-B) is unknown, "MetOp" is enough
timestamprough UTC Timestamp of the dataset
products_listlist of products to load, relative to this file

Member Function Documentation

◆ load()

void satdump::products::DataSet::load ( std::string path)

Load a dataset from a file.

Parameters
pathto the .json file

◆ save()

void satdump::products::DataSet::save ( std::string path)

Save a dataset to a file.

Parameters
pathto the .json file

The documentation for this struct was generated from the following files:
  • src-core/products/dataset.h
  • src-core/products/dataset.cpp