REMORA
Regional Modeling of Oceans Refined Adaptively
Loading...
Searching...
No Matches
REMORA_NCFile.cpp File Reference
#include <string>
#include "REMORA_NCFile.H"
#include "REMORA_NCInterface.H"
Include dependency graph for REMORA_NCFile.cpp:

Go to the source code of this file.

Functions

std::string ReadNetCDFVarAttrStr (const std::string &fname, const std::string &var_name, const std::string &attr_name)
 Helper function for reading a single variable attribute.
 

Function Documentation

◆ ReadNetCDFVarAttrStr()

std::string ReadNetCDFVarAttrStr ( const std::string &  fname,
const std::string &  var_name,
const std::string &  attr_name 
)

Helper function for reading a single variable attribute.

Parameters
fnameName of NetCDF file
var_nameName of variable
attr_nameName of attribute to read
Returns
attribute value

Definition at line 13 of file REMORA_NCFile.cpp.

Referenced by NCTimeSeries::Initialize(), NCTimeSeriesRiver::Initialize(), and read_bdry_from_netcdf().

Here is the call graph for this function:
Here is the caller graph for this function: