In file LoaddodsProcessing.h:

class LoaddodsProcessing : public MetadataProcessing

Print out text and binary values which the loaddods ML command extension can read and use to build a representation of this dataset

Inheritance:


Public Methods

LoaddodsProcessing(DDS &dds)
Create an empty MetadataProcessing object
void prune_duplicates()
Remove duplicate variables that are added to the DDS by some servers
void add_size_attributes()
Add the DODS\_ML\_Size attribute
void add_realname_attributes()
Tear through the beast and add a DODS\_Real\_Name attribute for each variable iff the flag #translate# is true
void print_for_matlab(ostream &os)
Write the hierarchically structured attribute information

Protected Methods

void print_attributes(BaseType &bt, ostream &os)
Print out the attributes of the variable #bt# as a Structure
void print_attr_table(AttrTable &at, ostream &os)
Print an attribute table
LoaddodsProcessing()
Only let children create empty instances

Inherited from MetadataProcessing:

Public Methods

void transfer_attributes(DAS &das)

Protected Fields

DDS meta_dds

Protected Methods

void transfer_attr(DAS &das, BaseType &bt)
void add_global_attributes(DAS &das, string global_cont_name)

Documentation

Print out text and binary values which the loaddods ML command extension can read and use to build a representation of this dataset. The dataset is represented as a ML structure where each field is a variable. For each variable, the field's value is a structure which contains all of that variable's attribute information. Additionally, if the variable is a constructor variable, it will have entries for each of its child variables.
void print_attributes(BaseType &bt, ostream &os)
Print out the attributes of the variable #bt# as a Structure. Matlab/loaddods will intern the attribtues in a ML structure.

void print_attr_table(AttrTable &at, ostream &os)
Print an attribute table. DODS Strings and URLs are externalized as strings, all numeric types are externalized as Float64s.

LoaddodsProcessing()
Only let children create empty instances

LoaddodsProcessing(DDS &dds)
Create an empty MetadataProcessing object

void prune_duplicates()
Remove duplicate variables that are added to the DDS by some servers. This method uses ad hoc rules to figure out which variables are duplicates.

void add_size_attributes()
Add the DODS\_ML\_Size attribute. This is added for Array and Grid variables.

void add_realname_attributes()
Tear through the beast and add a DODS\_Real\_Name attribute for each variable iff the flag #translate# is true. This provides the caller of loaddods with a string that can be used to build URLs which contain variable names that will work over on the server. The Translate flag folds various escape sequences (e.g., %20) to underscores. This is necessary because Matlab uses the `%' character to start comments and thus `%20' in a variable name really confuses it!

void print_for_matlab(ostream &os)
Write the hierarchically structured attribute information
Parameters:
os - An output stream object for the DAS/DDS inforamtion.


This class has no child classes.
Author:
jhrg
See Also:
DAS
DDS
MetadataProcessing
writeval

alphabetic index hierarchy of classes


generated by doc++