Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
cdo
Commits
f9031726
Commit
f9031726
authored
Jan 07, 2014
by
Uwe Schulzweida
Browse files
settaxis: added support for negativ time increment
parent
fdfff5ae
Changes
5
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
f9031726
2014-01-07 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* settaxis: added support for negativ time increment
2014-01-03 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* Added test/test_Select.sh
...
...
src/Ensstat3.c
View file @
f9031726
...
...
@@ -57,7 +57,7 @@ void *Ensstat3(void *argument)
int
operatorID
;
int
operfunc
,
datafunc
;
int
i
,
j
;
int
nvars
,
nbins
,
nrecs
=
0
,
nrecs0
,
nmiss
,
nens
,
nfiles
;
;
int
nvars
,
nbins
,
nrecs
=
0
,
nrecs0
,
nmiss
,
nens
,
nfiles
;
int
cum
;
int
chksum
;
// for check of histogram population
int
levelID
,
varID
,
recID
,
tsID
,
binID
=
0
;
...
...
src/Inttime.c
View file @
f9031726
...
...
@@ -92,7 +92,8 @@ void *Inttime(void *argument)
if
(
operatorArgc
()
==
3
)
{
const
char
*
timeunits
=
operatorArgv
()[
2
];
incperiod
=
(
int
)
strtol
(
timeunits
,
NULL
,
10
);;
incperiod
=
(
int
)
strtol
(
timeunits
,
NULL
,
10
);
if
(
timeunits
[
0
]
==
'-'
||
timeunits
[
0
]
==
'+'
)
timeunits
++
;
while
(
isdigit
((
int
)
*
timeunits
)
)
timeunits
++
;
get_tunits
(
timeunits
,
&
incperiod
,
&
incunit
,
&
tunit
);
...
...
src/Settime.c
View file @
f9031726
...
...
@@ -182,7 +182,8 @@ void *Settime(void *argument)
if
(
operatorArgc
()
==
3
)
{
const
char
*
timeunits
=
operatorArgv
()[
2
];
incperiod
=
(
int
)
strtol
(
timeunits
,
NULL
,
10
);;
incperiod
=
(
int
)
strtol
(
timeunits
,
NULL
,
10
);
if
(
timeunits
[
0
]
==
'-'
||
timeunits
[
0
]
==
'+'
)
timeunits
++
;
while
(
isdigit
((
int
)
*
timeunits
)
)
timeunits
++
;
get_tunits
(
timeunits
,
&
incperiod
,
&
incunit
,
&
tunit
);
...
...
@@ -224,7 +225,7 @@ void *Settime(void *argument)
else
if
(
operatorID
==
SHIFTTIME
)
{
const
char
*
timeunits
=
operatorArgv
()[
0
];
incperiod
=
(
int
)
strtol
(
timeunits
,
NULL
,
10
);
;
incperiod
=
(
int
)
strtol
(
timeunits
,
NULL
,
10
);
if
(
timeunits
[
0
]
==
'-'
||
timeunits
[
0
]
==
'+'
)
timeunits
++
;
while
(
isdigit
((
int
)
*
timeunits
)
)
timeunits
++
;
...
...
src/util.c
View file @
f9031726
...
...
@@ -331,7 +331,7 @@ int ps_cval = -1;
void
progressInit
(
void
)
{
ps_lhead
=
FALSE
;
ps_nch
=
0
;
;
ps_nch
=
0
;
ps_cval
=
-
1
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment