generated from NOAA-OWP/owp-open-source-project-template
-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Requested output file structure is now saved in the ConfigurationMana…
…ger. Clean up of parsing code. Workaround for ncType being non copiable.
- Loading branch information
Showing
5 changed files
with
137 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
#ifndef __OUTPUT_FILE_DESCRIPTION_H__ | ||
|
||
#include <string> | ||
#include <vector> | ||
|
||
#include "output/NetcdfOutputWriter.hpp" | ||
|
||
namespace data_output | ||
{ | ||
enum FileOutputType { NetCDF4 = 1, CSV =2/*,JSON=3*/}; | ||
|
||
struct NetCDFFileInfo | ||
{ | ||
public: | ||
|
||
std::vector<data_output::NetcdfDimensionDiscription> dimensions; | ||
std::vector<data_output::NetcdfVariableDiscription> variables; | ||
}; | ||
|
||
struct CSVFileInfo | ||
{ | ||
public: | ||
|
||
std::vector<std::string> column_names; | ||
std::vector<std::string> column_types; | ||
}; | ||
|
||
struct OutputFileDescription | ||
{ | ||
public: | ||
|
||
std::string file_name; | ||
FileOutputType file_type; | ||
NetCDFFileInfo nc_info; | ||
CSVFileInfo csv_info; | ||
}; | ||
} | ||
|
||
#endif // __OUTPUT_FILE_DESCRIPTION_H__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters