15#include <isce3/core/Constants.h>
16#include <isce3/core/LookSide.h>
17#include <isce3/io/IH5.h>
18#include <isce3/product/Metadata.h>
19#include <isce3/product/Swath.h>
36 isce3::io::IGroup& group,
const std::string& group_name);
55 isce3::io::IH5File & file,
56 std::string& base_dir,
57 isce3::io::IGroup& base_group,
58 std::vector<std::string>& key_vector,
59 std::string &image_group_str,
60 std::string &metadata_group_str);
85 inline const Swath &
swath(
char freq)
const {
return _swaths.at(freq); }
87 inline Swath &
swath(
char freq) {
return _swaths[freq]; }
89 inline void swath(
const Swath & s,
char freq) { _swaths[freq] = s; }
92 inline isce3::core::LookSide
lookSide()
const {
return _lookSide; }
94 inline void lookSide(isce3::core::LookSide side) { _lookSide = side; }
96 inline void lookSide(
const std::string &);
99 inline std::string
filename()
const {
return _filename; }
103 std::map<char, isce3::product::Swath> _swaths;
104 std::string _filename;
105 isce3::core::LookSide _lookSide;
112 _metadata(meta), _swaths(swaths) {}
117lookSide(
const std::string & inputLook) {
118 _lookSide = isce3::core::parseLookSide(inputLook);
void swath(const Swath &s, char freq)
Set a swath.
Definition RadarGridProduct.h:89
const Swath & swath(char freq) const
Get a read-only reference to a swath.
Definition RadarGridProduct.h:85
void lookSide(isce3::core::LookSide side)
Set look direction using enum.
Definition RadarGridProduct.h:94
isce3::core::LookSide lookSide() const
Get the look direction.
Definition RadarGridProduct.h:92
const Metadata & metadata() const
Get a read-only reference to the metadata.
Definition RadarGridProduct.h:80
Metadata & metadata()
Get a reference to the metadata.
Definition RadarGridProduct.h:82
std::string filename() const
Get the filename of the HDF5 file.
Definition RadarGridProduct.h:99
RadarGridProduct(isce3::io::IH5File &)
Constructor from IH5File object.
Definition RadarGridProduct.cpp:85
Swath & swath(char freq)
Get a reference to a swath.
Definition RadarGridProduct.h:87
The isce3::product namespace.
Definition forward.h:3
std::vector< std::string > findGroupPath(isce3::io::IGroup &group, const std::string &group_name)
Return the path to each child group of group that ends with the substring group_name.
Definition RadarGridProduct.cpp:10
void setImageMetadataGroupStr(isce3::io::IH5File &file, std::string &base_dir, isce3::io::IGroup &base_group, std::vector< std::string > &key_vector, std::string &image_group_str, std::string &metadata_group_str)
Return grids or swaths group paths within the base_group.
Definition RadarGridProduct.cpp:43
base interpolator is an abstract base class
Definition BinarySearchFunc.cpp:5