OGS
NetCDFRasterReader.cpp File Reference

Detailed Description

Definition in file NetCDFRasterReader.cpp.

#include "GeoLib/IO/NetCDFRasterReader.h"
#include <filesystem>
#include <numeric>
#include <netcdf>
#include "BaseLib/ConfigTree.h"
#include "BaseLib/StringTools.h"
#include "GeoLib/AABB.h"
#include "GeoLib/IO/AsciiRasterInterface.h"
Include dependency graph for NetCDFRasterReader.cpp:

Go to the source code of this file.

Namespaces

namespace  anonymous_namespace{NetCDFRasterReader.cpp}
 
namespace  GeoLib
 
namespace  GeoLib::IO
 

Functions

GeoLib::RasterHeader anonymous_namespace{NetCDFRasterReader.cpp}::readHeaderFromNetCDF (std::multimap< std::string, netCDF::NcVar > const &variables)
 
std::vector< double > anonymous_namespace{NetCDFRasterReader.cpp}::readDataFromNetCDF (std::multimap< std::string, netCDF::NcVar > const &variables, std::string_view const var_name, std::size_t const dimension_number, GeoLib::MinMaxPoints const &min_max_points, GeoLib::RasterHeader &header)
 
std::unique_ptr< GeoLib::Rasteranonymous_namespace{NetCDFRasterReader.cpp}::readNetCDF (std::filesystem::path const &filepath, std::string_view const var_name, std::size_t const dimension_number, GeoLib::MinMaxPoints const &min_max_points)
 
GeoLib::NamedRaster anonymous_namespace{NetCDFRasterReader.cpp}::readRasterFromFile (std::filesystem::path const &path, std::filesystem::path filename, std::string const &var_name, std::size_t const dimension_number, GeoLib::MinMaxPoints const &min_max_points)
 
GeoLib::NamedRaster GeoLib::IO::readRaster (BaseLib::ConfigTree const &raster_config, std::string const &raster_directory, GeoLib::MinMaxPoints const &min_max_points)