Commit 8a357043 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Rename read_cmor_table to dump_cmor_table.

parent 9090ffe5
......@@ -26,7 +26,7 @@
static
int read_cmor_table(const char *filename)
int dump_cmor_table(const char *filename)
{
list_t *pml = cdo_parse_cmor_file(filename);
if ( pml == NULL ) return -1;
......@@ -150,7 +150,7 @@ void *CMOR_table(void *argument)
{
cdoInitialize(argument);
int READ_CMOR_TABLE = cdoOperatorAdd("read_cmor_table", 0, 0, NULL);
int DUMP_CMOR_TABLE = cdoOperatorAdd("dump_cmor_table", 0, 0, NULL);
int CONV_CMOR_TABLE = cdoOperatorAdd("conv_cmor_table", 0, 0, NULL);
int operatorID = cdoOperatorID();
......@@ -160,7 +160,7 @@ void *CMOR_table(void *argument)
if ( cdoVerbose ) cdoPrint("Parse file: %s", filename);
if ( operatorID == READ_CMOR_TABLE ) read_cmor_table(filename);
if ( operatorID == DUMP_CMOR_TABLE ) dump_cmor_table(filename);
else if ( operatorID == CONV_CMOR_TABLE ) conv_cmor_table(filename);
cdoFinish();
......
......@@ -293,7 +293,7 @@ void *Maggraph(void *argument);
#define CloudlayerOperators {"cloudlayer"}
#define CMOROperators {"cmor"}
#define CMORliteOperators {"cmorlite"}
#define CMORtableOperators {"read_cmor_table", "conv_cmor_table"}
#define CMORtableOperators {"dump_cmor_table", "conv_cmor_table"}
#define CollgridOperators {"collgrid"}
#define CommandOperators {"command", "com", "cmd"}
#define CompOperators {"eq", "ne", "le", "lt", "ge", "gt"}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment