NASA Logo
Ocean Color Science Software

ocssw V2022
find_variable.hpp File Reference
#include <netcdf>
#include <unordered_set>
Include dependency graph for find_variable.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename T >
netCDF::NcVar find_nc_variable_cpp (const std::string &var_name, T &nc_file)
 
template<typename T >
netCDF::NcGroupAtt find_nc_grp_attribute_cpp (const std::string &att_name, T &nc_file)
 
template<typename T >
std::multimap< std::string, netCDF::NcVar > find_all_variables (T &nc_id)
 
template<typename T >
std::multimap< std::string, netCDF::NcVar > find_all_variables (T &nc_id, const std::unordered_set< std::string > &names)
 
std::multimap< std::string, netCDF::NcVar > find_variables_geo_physical (const std::string &nc_path, std::string &prod_list)
 

Function Documentation

◆ find_all_variables() [1/2]

std::multimap<std::string, netCDF::NcVar> find_all_variables ( T &  nc_id)

Definition at line 37 of file find_variable.hpp.

◆ find_all_variables() [2/2]

std::multimap<std::string, netCDF::NcVar> find_all_variables ( T &  nc_id,
const std::unordered_set< std::string > &  names 
)

Definition at line 48 of file find_variable.hpp.

◆ find_nc_grp_attribute_cpp()

netCDF::NcGroupAtt find_nc_grp_attribute_cpp ( const std::string att_name,
T &  nc_file 
)

Definition at line 22 of file find_variable.hpp.

◆ find_nc_variable_cpp()

netCDF::NcVar find_nc_variable_cpp ( const std::string var_name,
T &  nc_file 
)

Definition at line 7 of file find_variable.hpp.

◆ find_variables_geo_physical()

std::multimap<std::string, netCDF::NcVar> find_variables_geo_physical ( const std::string nc_path,
std::string prod_list 
)

Definition at line 29 of file find_variable.cpp.