NASA Logo
Ocean Color Science Software

ocssw V2022

#include <get_geospatial.hpp>

Public Member Functions

 Geospatialbounds ()
 
 Geospatialbounds (const std::string &path_nc)
 
 Geospatialbounds (const netCDF::NcFile &nc)
 
const float * get_elat ()
 
const float * get_slat ()
 
const std::unordered_map< std::string, std::vector< float > > & get_bounds ()
 
std::pair< std::vector< float >, std::vector< float > > get_gring ()
 
std::string get_bounds_wkt ()
 
float get_min_lon ()
 
float get_max_lon ()
 
const std::stringget_platform () const
 
const std::stringget_instrument () const
 
const std::stringget_day_night_flag () const
 
const std::stringget_time_coverage_start () const
 

Static Public Member Functions

static void allocate_var (std::vector< float > &, const netCDF::NcVar &var)
 
static void allocate_attr (std::vector< float > &, const netCDF::NcAtt &att)
 
static std::pair< std::vector< float >, std::vector< float > > calc_gring (const std::vector< float > &, const std::vector< float > &, const std::vector< float > &, const std::vector< float > &, const std::vector< float > &)
 
static std::string calc_gring (const std::pair< std::vector< float >, std::vector< float >> &)
 
static void calc_scan_line (const std::vector< float > &, const std::vector< float > &, size_t, size_t, std::unordered_map< std::string, std::vector< float >> &)
 

Detailed Description

Definition at line 11 of file get_geospatial.hpp.

Constructor & Destructor Documentation

◆ Geospatialbounds() [1/3]

Definition at line 15 of file get_geospatial.cpp.

◆ Geospatialbounds() [2/3]

Geospatialbounds ( const std::string path_nc)
explicit

Definition at line 95 of file get_geospatial.cpp.

◆ Geospatialbounds() [3/3]

Geospatialbounds ( const netCDF::NcFile &  nc)
explicit

Definition at line 99 of file get_geospatial.cpp.

Member Function Documentation

◆ allocate_attr()

void allocate_attr ( std::vector< float > &  data,
const netCDF::NcAtt &  att 
)
static

Definition at line 83 of file get_geospatial.cpp.

◆ allocate_var()

void allocate_var ( std::vector< float > &  data,
const netCDF::NcVar &  var 
)
static

Definition at line 71 of file get_geospatial.cpp.

◆ calc_gring() [1/2]

std::string calc_gring ( const std::pair< std::vector< float >, std::vector< float >> &  gring)
static

Definition at line 343 of file get_geospatial.cpp.

◆ calc_gring() [2/2]

std::pair< std::vector< float >, std::vector< float > > calc_gring ( const std::vector< float > &  slat,
const std::vector< float > &  elat,
const std::vector< float > &  clat,
const std::vector< float > &  slon,
const std::vector< float > &  elon 
)
static

Definition at line 274 of file get_geospatial.cpp.

◆ calc_scan_line()

void calc_scan_line ( const std::vector< float > &  lat,
const std::vector< float > &  lon,
size_t  numScans,
size_t  numPixels,
std::unordered_map< std::string, std::vector< float >> &  scan_line_vars 
)
static

Definition at line 209 of file get_geospatial.cpp.

◆ get_bounds()

const std::unordered_map< std::string, std::vector< float > > & get_bounds ( )

Definition at line 362 of file get_geospatial.cpp.

◆ get_bounds_wkt()

std::string get_bounds_wkt ( )

Definition at line 384 of file get_geospatial.cpp.

◆ get_day_night_flag()

const std::string& get_day_night_flag ( ) const
inline

Definition at line 62 of file get_geospatial.hpp.

◆ get_elat()

const float * get_elat ( )

Definition at line 406 of file get_geospatial.cpp.

◆ get_gring()

std::pair< std::vector< float >, std::vector< float > > get_gring ( )

Definition at line 369 of file get_geospatial.cpp.

◆ get_instrument()

const std::string& get_instrument ( ) const
inline

Definition at line 58 of file get_geospatial.hpp.

◆ get_max_lon()

float get_max_lon ( )

Definition at line 391 of file get_geospatial.cpp.

◆ get_min_lon()

float get_min_lon ( )

Definition at line 401 of file get_geospatial.cpp.

◆ get_platform()

const std::string& get_platform ( ) const
inline

Definition at line 54 of file get_geospatial.hpp.

◆ get_slat()

const float * get_slat ( )

Definition at line 412 of file get_geospatial.cpp.

◆ get_time_coverage_start()

const std::string& get_time_coverage_start ( ) const
inline

Definition at line 66 of file get_geospatial.hpp.


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