In addition to providing way to get the actual file name, this class enhances the Netcdf library so that remote files can be read.
Public Member Functions | |
| NetcdfFile (const URL &location, NcFile::FileMode md) | |
| virtual | ~NetcdfFile () |
| const URL & | getLocation () const |
| NcVar * | get_var_quietly (const std::string &varname) const |
| Same as get_var except that this is somewhat slower, but it does not produce the annoying "Variable not found" message. | |
| code::NetcdfFile::NetcdfFile | ( | const URL & | location, | |
| NcFile::FileMode | md | |||
| ) |
| virtual code::NetcdfFile::~NetcdfFile | ( | ) | [virtual] |
| NcVar* code::NetcdfFile::get_var_quietly | ( | const std::string & | varname | ) | const |
Same as get_var except that this is somewhat slower, but it does not produce the annoying "Variable not found" message.
Useful for optional variables.
| const URL& code::NetcdfFile::getLocation | ( | ) | const [inline] |
1.4.7