Commit d7f7f96e authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

selmon: renamed to selmonth

parent fc76bfb7
...@@ -3,10 +3,14 @@ ...@@ -3,10 +3,14 @@
* using CDI library version 1.7.1 * using CDI library version 1.7.1
* Version 1.7.1 released * Version 1.7.1 released
2016-02-04 Uwe Schulzweida
* selmon: renamed to selmonth
* selseas: renamed to selseason
2016-02-03 Uwe Schulzweida 2016-02-03 Uwe Schulzweida
* select: added search key season to select seasons * select: added search key season to select seasons
* selseas: renamed to selseason
* selseas: added support for season ANN * selseas: added support for season ANN
2016-01-13 Uwe Schulzweida 2016-01-13 Uwe Schulzweida
......
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
Seltime seltime Select times Seltime seltime Select times
Seltime selhour Select hours Seltime selhour Select hours
Seltime selday Select days Seltime selday Select days
Seltime selmon Select months Seltime selmonth Select months
Seltime selyear Select years Seltime selyear Select years
Seltime selseas Select seasons Seltime selseason Select seasons
Seltime seldate Select dates Seltime seldate Select dates
Seltime selsmon Select single month Seltime selsmon Select single month
*/ */
...@@ -203,9 +203,9 @@ void *Seltime(void *argument) ...@@ -203,9 +203,9 @@ void *Seltime(void *argument)
int SELTIME = cdoOperatorAdd("seltime", func_time, 0, "times (format hh:mm:ss)"); int SELTIME = cdoOperatorAdd("seltime", func_time, 0, "times (format hh:mm:ss)");
int SELHOUR = cdoOperatorAdd("selhour", func_time, 0, "hours"); int SELHOUR = cdoOperatorAdd("selhour", func_time, 0, "hours");
int SELDAY = cdoOperatorAdd("selday", func_date, 0, "days"); int SELDAY = cdoOperatorAdd("selday", func_date, 0, "days");
int SELMON = cdoOperatorAdd("selmon", func_date, 0, "months"); int SELMONTH = cdoOperatorAdd("selmonth", func_date, 0, "months");
int SELYEAR = cdoOperatorAdd("selyear", func_date, 0, "years"); int SELYEAR = cdoOperatorAdd("selyear", func_date, 0, "years");
int SELSEAS = cdoOperatorAdd("selseas", func_date, 0, "seasons"); int SELSEASON = cdoOperatorAdd("selseason", func_date, 0, "seasons");
int SELSMON = cdoOperatorAdd("selsmon", func_date, 0, "month[,nts1[,nts2]]"); int SELSMON = cdoOperatorAdd("selsmon", func_date, 0, "month[,nts1[,nts2]]");
int operatorID = cdoOperatorID(); int operatorID = cdoOperatorID();
...@@ -217,7 +217,7 @@ void *Seltime(void *argument) ...@@ -217,7 +217,7 @@ void *Seltime(void *argument)
operatorInputArg(cdoOperatorEnter(operatorID)); operatorInputArg(cdoOperatorEnter(operatorID));
if ( operatorID == SELSEAS ) if ( operatorID == SELSEASON )
{ {
nsel = seaslist(ilist); nsel = seaslist(ilist);
} }
...@@ -635,7 +635,7 @@ void *Seltime(void *argument) ...@@ -635,7 +635,7 @@ void *Seltime(void *argument)
{ {
cdoWarning("Day %d not found!", intarr[isel]); cdoWarning("Day %d not found!", intarr[isel]);
} }
else if ( operatorID == SELMON ) else if ( operatorID == SELMONTH )
{ {
cdoWarning("Month %d not found!", intarr[isel]); cdoWarning("Month %d not found!", intarr[isel]);
} }
...@@ -643,7 +643,7 @@ void *Seltime(void *argument) ...@@ -643,7 +643,7 @@ void *Seltime(void *argument)
{ {
cdoWarning("Year %d not found!", intarr[isel]); cdoWarning("Year %d not found!", intarr[isel]);
} }
else if ( operatorID == SELSEAS ) else if ( operatorID == SELSEASON )
{ {
if ( isel < 3 ) if ( isel < 3 )
cdoWarning("Month %d not found!", intarr[isel]); cdoWarning("Month %d not found!", intarr[isel]);
......
...@@ -402,7 +402,7 @@ void *Maggraph(void *argument); ...@@ -402,7 +402,7 @@ void *Maggraph(void *argument);
"selzaxis", "selzaxisname", "seltabnum", "delparam", "delcode", "delname", "selltype"} "selzaxis", "selzaxisname", "seltabnum", "delparam", "delcode", "delname", "selltype"}
#define SeloperatorOperators {"seloperator"} #define SeloperatorOperators {"seloperator"}
#define SelrecOperators {"selrec"} #define SelrecOperators {"selrec"}
#define SeltimeOperators {"seltimestep", "selyear", "selseas", "selmon", "selday", "selhour", "seldate", \ #define SeltimeOperators {"seltimestep", "selyear", "selseason", "selmonth", "selday", "selhour", "seldate", \
"seltime", "selsmon"} "seltime", "selsmon"}
#define SetOperators {"setcode", "setparam", "setname", "setunit", "setlevel", "setltype", "settabnum"} #define SetOperators {"setcode", "setparam", "setname", "setunit", "setlevel", "setltype", "settabnum"}
#define SetboxOperators {"setclonlatbox", "setcindexbox"} #define SetboxOperators {"setclonlatbox", "setcindexbox"}
...@@ -869,6 +869,8 @@ static const char *opalias[][2] = ...@@ -869,6 +869,8 @@ static const char *opalias[][2] =
{"gridverify", "verifygrid"}, {"gridverify", "verifygrid"},
{"outputcenter", "gmtxyz"}, {"outputcenter", "gmtxyz"},
{"outputbounds", "gmtcells"}, {"outputbounds", "gmtcells"},
{"selseas", "selseason"},
{"selmon", "selmonth"},
}; };
static int nopalias = sizeof(opalias) / (2*sizeof(opalias[0][0])); static int nopalias = sizeof(opalias) / (2*sizeof(opalias[0][0]));
......
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