OPeNDAP Hyrax Back End Server (BES)  Updated for version 3.8.3
NCRequestHandler.cc File Reference
#include "config_nc.h"
#include <string>
#include <sstream>
#include <exception>
#include <DMR.h>
#include <mime_util.h>
#include <D4BaseTypeFactory.h>
#include <BESResponseHandler.h>
#include <BESResponseNames.h>
#include <BESDapNames.h>
#include <BESDASResponse.h>
#include <BESDDSResponse.h>
#include <BESDataDDSResponse.h>
#include <BESVersionInfo.h>
#include <BESDapError.h>
#include <BESInternalFatalError.h>
#include <BESDataNames.h>
#include <TheBESKeys.h>
#include <BESServiceRegistry.h>
#include <BESUtil.h>
#include <BESDebug.h>
#include <BESContextManager.h>
#include <BESDMRResponse.h>
#include <InternalErr.h>
#include <Ancillary.h>
#include "NCRequestHandler.h"
Include dependency graph for NCRequestHandler.cc:

Go to the source code of this file.

Macros

#define NC_NAME   "nc"
 

Functions

void nc_read_dataset_attributes (DAS &das, const string &filename)
 Given a reference to an instance of class DAS and a filename that refers to a netcdf file, read the netcdf file and extract all the attributes of each of its variables. More...
 
void nc_read_dataset_variables (DDS &dds, const string &filename)
 Given a reference to an instance of class DDS and a filename that refers to a netcdf file, read the netcdf file and extract all the dimensions of each of its variables. More...
 

Macro Definition Documentation

#define NC_NAME   "nc"

Definition at line 63 of file NCRequestHandler.cc.

Referenced by NCRequestHandler::nc_build_help().

Function Documentation

void nc_read_dataset_attributes ( DAS &  das,
const string &  filename 
)

Given a reference to an instance of class DAS and a filename that refers to a netcdf file, read the netcdf file and extract all the attributes of each of its variables.

Add the variables and their attributes to the instance of DAS.

Parameters
dasA reference to the DAS object where the attribute information should be stored.
filenameThe name of the source file.

Definition at line 548 of file ncdas.cc.

References BESDEBUG, NCRequestHandler::get_ignore_unknown_types(), is_user_defined_type(), print_attr(), and READ_ATTRIBUTES_MACRO.

Referenced by NCRequestHandler::nc_build_das(), NCRequestHandler::nc_build_data(), NCRequestHandler::nc_build_dds(), and NCRequestHandler::nc_build_dmr().

Here is the call graph for this function:

void nc_read_dataset_variables ( DDS &  dds_table,
const string &  filename 
)

Given a reference to an instance of class DDS and a filename that refers to a netcdf file, read the netcdf file and extract all the dimensions of each of its variables.

Add the variables and their dimensions to the instance of DDS.

Parameters
elide_dimension_arraysIf true, don't include an array if it's really a dimension used by a Grid.

Definition at line 610 of file ncdds.cc.

Referenced by NCRequestHandler::nc_build_data(), NCRequestHandler::nc_build_dds(), and NCRequestHandler::nc_build_dmr().