Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
2c7dece1
Commit
2c7dece1
authored
Aug 05, 2018
by
Uwe Schulzweida
Browse files
taxisCopyTimestep: delete target units if reference time differ (bug fix).
parent
1f4e0760
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
2c7dece1
2018-0
7-30
Uwe Schulzweida
2018-0
8-09
Uwe Schulzweida
* using CGRIBEX library version 1.9.1
* Version 1.9.5 released
2018-08-05 Uwe Schulzweida
* taxisCopyTimestep: delete target units if reference time differ (bug fix)
2018-07-19 Florian Prill
* Added function cdiIterator_inqFiletype()
...
...
src/taxis.c
View file @
2c7dece1
...
...
@@ -598,6 +598,15 @@ void taxisCopyTimestep(int taxisID2, int taxisID1)
reshLock
();
if
(
taxisptr2
->
units
&&
taxisptr2
->
rdate
!=
CDI_UNDEFID
)
{
if
(
taxisptr2
->
rdate
!=
taxisptr1
->
rdate
||
taxisptr2
->
rtime
!=
taxisptr1
->
rtime
)
{
delete_refcount_string
(
taxisptr2
->
units
);
taxisptr2
->
units
=
NULL
;
}
}
taxisptr2
->
rdate
=
taxisptr1
->
rdate
;
taxisptr2
->
rtime
=
taxisptr1
->
rtime
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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