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
ddc3de58
Commit
ddc3de58
authored
Mar 25, 2015
by
Uwe Schulzweida
Browse files
eof, eof3d: use area weights instead of no weights
parent
de8f9dbf
Changes
3
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
ddc3de58
...
...
@@ -4,6 +4,7 @@
2015-03-25 Uwe Schulzweida
* eof, eof3d: use area weights instead of no weights
* vertmean, vertavg: changed to weighted means if layer bounds are available
2015-03-23 Uwe Schulzweida
...
...
NEWS
View file @
ddc3de58
...
...
@@ -19,8 +19,11 @@ Version 1.6.8 (26 March 2015):
* TimSTAT, Timpctl, TimselSTAT, Timselpctl, SeasSTAT, Seaspctl:
The output time stamp of all operators from the above modules
are changed from the last to the middle contributing timestep.
Use the envir
i
onment variable CDO_TIMESTAT_DATE=last to set
Use the environment variable CDO_TIMESTAT_DATE=last to set
the outout time stamp to the last contributing timestep.
* eof, eof3d: use area weights instead of no weights
Use the environment variable CDO_WEIGHT_MODE=off to switch back to
the non weighted version
Fixed bugs:
* gradsdes: grib index file is empty (introduced in 1.6.7)
* grib2 output: segfaults when writing grib2 files [Bug #5351]
...
...
src/EOFs.c
View file @
ddc3de58
...
...
@@ -141,7 +141,7 @@ enum T_EIGEN_MODE get_eigenmode(void)
enum
T_WEIGHT_MODE
get_weightmode
(
void
)
{
enum
T_WEIGHT_MODE
weight_mode
=
WEIGHT_O
FF
;
enum
T_WEIGHT_MODE
weight_mode
=
WEIGHT_O
N
;
char
*
envstr
=
getenv
(
"CDO_WEIGHT_MODE"
);
if
(
envstr
)
...
...
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