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
libcdi
Commits
f89292a2
Commit
f89292a2
authored
Nov 23, 2017
by
Uwe Schulzweida
Browse files
netCDF: set coordinate attribute to 'tlon tlat' for GRID_TRAJECTORY (bug fix).
parent
a0fdd1a3
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
f89292a2
2017-11-23 Uwe Schulzweida
* netCDF: set coordinate attribute to "tlon tlat" for GRID_TRAJECTORY (bug fix)
2017-11-21 Uwe Schulzweida
* Version 1.9.2 released
...
...
src/cdf_write.c
View file @
f89292a2
...
...
@@ -594,7 +594,7 @@ int cdfDefVar(stream_t *streamptr, int varID)
if
(
gridtype
==
GRID_TRAJECTORY
)
{
cdf_put_att_text
(
fileID
,
ncvarid
,
"coordinates"
,
9
,
"lon lat"
);
cdf_put_att_text
(
fileID
,
ncvarid
,
"coordinates"
,
9
,
"
t
lon
t
lat"
);
}
else
if
(
gridtype
==
GRID_LONLAT
&&
xid
==
CDI_UNDEFID
&&
yid
==
CDI_UNDEFID
&&
gridsize
==
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