VAPoR  0.1
vdfcreate.h
Go to the documentation of this file.
1 #ifndef VDFCREATE_H
2 #define VDFCREATE_H
3 
4 #include <iostream>
5 #include <cstdio>
6 #include <vapor/OptionParser.h>
7 #include <vapor/MetadataVDC.h>
8 #include <vapor/DCReader.h>
9 #include <vapor/VDCFactory.h>
10 
11 
12 namespace VAPoR {
13 
15 public:
16  vdfcreate();
17  ~vdfcreate();
18 int launchVdfCreate(int argc, char **argv, string NetCDFtype);
19 
20 private:
21  string _progname;
22 
23  //
24  // command line options passed to launchVdfCreate
25  //
26  vector <string> _vars;
30  int _numTS;
31 
32  void Usage(VetsUtil::OptionParser &op, const char * msg);
33  void populateVariables(std::vector<std::string> vars,
34  std::vector<std::string> candidate_vars,
35  MetadataVDC *file,
36  int (MetadataVDC::*SetVarFunction)(const std::vector<std::string>&)
37  );
38 
39  void writeToScreen(DCReader *DCdata, MetadataVDC *file);
40  MetadataVDC *CreateMetadataVDC(const VDCFactory &vdcf,
41  const DCReader *DCdata);
42 
43 
44 };
45 };
46 
47 #endif
#define VDF_API
Definition: common.h:61
Creates a MetadaVDC object.
Definition: VDCFactory.h:26
A class for managing data set metadata.
Definition: MetadataVDC.h:92
VetsUtil base class.
Definition: MyBase.h:68