bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
cmr::GranuleUMM Class Reference

#include <GranuleUMM.h>

Collaboration diagram for cmr::GranuleUMM:
Collaboration graph

Public Member Functions

bes::CatalogItemgetCatalogItem (const BESCatalogUtils *d_catalog_utils)
 
std::string getConceptId () const
 
std::string getDapServiceUrl () const
 
std::string getDataGranuleUrl () const
 
std::string getDescription () const
 
std::string getLastModifiedStr () const
 
std::string getMetadataAccessUrl () const
 
std::string getName () const
 
uint64_t getSize () const
 
std::string getSizeStr () const
 
 GranuleUMM (const nlohmann::json &granule_umm_json)
 

Detailed Description

GranuleUMM Represents a CMR granule as returned by the granule.umm_json response.

@TODO Make a better implementation for this that is more likely to be successful one thing we might want to consider is combining the two granule classes, Granule and GranuleUMM the Granule class ingests the granule.json response from CMR. This class, GranuleUMM ingests the granule.umm_json response from CMR. Different information is available in each response and combining them might allow us to more reliably retrieve things like the granule's size.

Definition at line 54 of file GranuleUMM.h.

Constructor & Destructor Documentation

◆ GranuleUMM()

cmr::GranuleUMM::GranuleUMM ( const nlohmann::json & granule_umm_json)
explicit
Parameters
granule_umm_jsonThe CMR

Definition at line 60 of file GranuleUMM.cc.

Member Function Documentation

◆ getCatalogItem()

bes::CatalogItem * cmr::GranuleUMM::getCatalogItem ( const BESCatalogUtils * d_catalog_utils)
Parameters
d_catalog_utils
Returns

Definition at line 286 of file GranuleUMM.cc.

◆ getConceptId()

std::string cmr::GranuleUMM::getConceptId ( ) const
inline

Definition at line 82 of file GranuleUMM.h.

◆ getDapServiceUrl()

std::string cmr::GranuleUMM::getDapServiceUrl ( ) const
inline

Definition at line 84 of file GranuleUMM.h.

◆ getDataGranuleUrl()

std::string cmr::GranuleUMM::getDataGranuleUrl ( ) const
inline

Definition at line 83 of file GranuleUMM.h.

◆ getDescription()

std::string cmr::GranuleUMM::getDescription ( ) const
inline

Definition at line 91 of file GranuleUMM.h.

◆ getLastModifiedStr()

std::string cmr::GranuleUMM::getLastModifiedStr ( ) const
inline

Definition at line 87 of file GranuleUMM.h.

◆ getMetadataAccessUrl()

std::string cmr::GranuleUMM::getMetadataAccessUrl ( ) const
inline

Definition at line 85 of file GranuleUMM.h.

◆ getName()

std::string cmr::GranuleUMM::getName ( ) const
inline

Definition at line 81 of file GranuleUMM.h.

◆ getSize()

uint64_t cmr::GranuleUMM::getSize ( ) const
inline

Definition at line 88 of file GranuleUMM.h.

◆ getSizeStr()

std::string cmr::GranuleUMM::getSizeStr ( ) const
inline

Definition at line 86 of file GranuleUMM.h.


The documentation for this class was generated from the following files: