Commit 57ae276a authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Renamed operator pardes to codetab.

parent 1a3dbdb2
......@@ -6,6 +6,7 @@
2016-06-21 Uwe Schulzweida
* Renamed operator setpartab to setcodetab
* Renamed operator pardes to codetab
2016-06-13 Uwe Schulzweida
......
......@@ -18,7 +18,7 @@
/*
This module contains the following operators:
Filedes pardes Parameter description
Filedes codetab Parameter code table
Filedes griddes Grid description
Filedes vct Vertical coordinate table
*/
......@@ -315,7 +315,6 @@ void filedes(int streamID)
void *Filedes(void *argument)
{
int GRIDDES, GRIDDES2, ZAXISDES, VCT, VCT2, PARDES, FILEDES, VLIST, SPARTAB, PARTAB, PARTAB2;
int operatorID;
int streamID = 0;
int zaxisID;
......@@ -325,17 +324,17 @@ void *Filedes(void *argument)
cdoInitialize(argument);
GRIDDES = cdoOperatorAdd("griddes", 0, 0, NULL);
GRIDDES2 = cdoOperatorAdd("griddes2", 0, 0, NULL);
ZAXISDES = cdoOperatorAdd("zaxisdes", 0, 0, NULL);
VCT = cdoOperatorAdd("vct", 0, 0, NULL);
VCT2 = cdoOperatorAdd("vct2", 0, 0, NULL);
PARDES = cdoOperatorAdd("pardes", 0, 0, NULL);
FILEDES = cdoOperatorAdd("filedes", 0, 0, NULL);
VLIST = cdoOperatorAdd("vlist", 0, 0, NULL);
SPARTAB = cdoOperatorAdd("spartab", 0, 0, NULL);
PARTAB = cdoOperatorAdd("partab", 0, 0, NULL);
PARTAB2 = cdoOperatorAdd("partab2", 0, 0, NULL);
int GRIDDES = cdoOperatorAdd("griddes", 0, 0, NULL);
int GRIDDES2 = cdoOperatorAdd("griddes2", 0, 0, NULL);
int ZAXISDES = cdoOperatorAdd("zaxisdes", 0, 0, NULL);
int VCT = cdoOperatorAdd("vct", 0, 0, NULL);
int VCT2 = cdoOperatorAdd("vct2", 0, 0, NULL);
int CODETAB = cdoOperatorAdd("codetab", 0, 0, NULL);
int FILEDES = cdoOperatorAdd("filedes", 0, 0, NULL);
int VLIST = cdoOperatorAdd("vlist", 0, 0, NULL);
int SPARTAB = cdoOperatorAdd("spartab", 0, 0, NULL);
int PARTAB = cdoOperatorAdd("partab", 0, 0, NULL);
int PARTAB2 = cdoOperatorAdd("partab2", 0, 0, NULL);
operatorID = cdoOperatorID();
......@@ -411,7 +410,7 @@ void *Filedes(void *argument)
{
vlistPrint(vlistID);
}
else if ( operatorID == PARDES )
else if ( operatorID == CODETAB )
{
int varID, code;
char varname[CDI_MAX_NAME], varlongname[CDI_MAX_NAME], varunits[CDI_MAX_NAME];
......
......@@ -318,7 +318,7 @@ void *Maggraph(void *argument);
#define EOF3dOperators {"eof3d","eof3dspatial","eof3dtime"}
#define ExprOperators {"expr", "exprf", "aexpr", "aexprf"}
#define FCOperators {"fc2sp", "sp2fc", "fc2gp", "gp2fc"}
#define FiledesOperators {"filedes", "griddes", "griddes2", "zaxisdes", "vct", "vct2", "pardes", \
#define FiledesOperators {"filedes", "griddes", "griddes2", "zaxisdes", "vct", "vct2", "codetab", \
"vlist", "partab", "partab2", "spartab"}
#define FillmissOperators {"fillmiss", "fillmiss2"}
#define FilterOperators {"bandpass", "highpass", "lowpass"}
......@@ -848,7 +848,8 @@ static const char *opalias[][2] =
{"ncode", "npar"},
{"nvar", "npar"},
{"outputkey", "outputtab"},
{"vardes", "pardes"},
{"vardes", "codetab"},
{"pardes", "codetab"},
{"selvar", "selname"},
{"delvar", "delname"},
{"remapcon1", "remaplaf"},
......
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