OGS
|
Functions | |
GeoLib::RasterHeader | readHeaderFromNetCDF (std::multimap< std::string, netCDF::NcVar > const &variables) |
std::vector< double > | 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::Raster > | 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 | 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) |
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 ) |
Definition at line 74 of file NetCDFRasterReader.cpp.
References GeoLib::RasterHeader::cell_size, GeoLib::MinMaxPoints::max, GeoLib::MinMaxPoints::min, GeoLib::RasterHeader::n_cols, GeoLib::RasterHeader::n_rows, GeoLib::RasterHeader::no_data, OGS_FATAL, and GeoLib::RasterHeader::origin.
Referenced by readNetCDF().
GeoLib::RasterHeader anonymous_namespace{NetCDFRasterReader.cpp}::readHeaderFromNetCDF | ( | std::multimap< std::string, netCDF::NcVar > const & | variables | ) |
Definition at line 27 of file NetCDFRasterReader.cpp.
References GeoLib::RasterHeader::cell_size, DBUG(), GeoLib::RasterHeader::no_data, OGS_FATAL, GeoLib::RasterHeader::origin, and BaseLib::splitString().
Referenced by readNetCDF().
std::unique_ptr< GeoLib::Raster > anonymous_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 ) |
Definition at line 158 of file NetCDFRasterReader.cpp.
References OGS_FATAL, readDataFromNetCDF(), and readHeaderFromNetCDF().
Referenced by readRasterFromFile().
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 ) |
Definition at line 180 of file NetCDFRasterReader.cpp.
References INFO(), OGS_FATAL, readNetCDF(), and FileIO::AsciiRasterInterface::readRaster().