Skip to content
GitLab
Menu
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
385bc281
Commit
385bc281
authored
Dec 07, 2015
by
Thomas Jahns
🤸
Browse files
Fix error message.
parent
2223e5d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stream_cdf.c
View file @
385bc281
...
...
@@ -4719,7 +4719,6 @@ static
void
define_all_grids
(
stream_t
*
streamptr
,
int
vlistID
,
ncdim_t
*
ncdims
,
int
nvars
,
ncvar_t
*
ncvars
,
int
timedimid
,
unsigned
char
*
uuidOfHGrid
,
char
*
gridfile
,
int
number_of_grid_used
)
{
int
ncvarid
,
ncvarid2
;
char
name
[
CDI_MAX_NAME
];
int
ltwarn
=
TRUE
;
struct
cdfLazyGrid
*
restrict
lazyGrid
=
NULL
,
*
restrict
lazyProj
=
NULL
;
#define grid (&lazyGrid->base)
...
...
@@ -4813,9 +4812,9 @@ void define_all_grids(stream_t *streamptr, int vlistID, ncdim_t *ncdims, int nva
if
(
ncvars
[
ncvarid
].
gridtype
==
GRID_TRAJECTORY
)
{
if
(
ncvars
[
ncvarid
].
xvarid
==
UNDEFID
)
Error
(
"Longitude coordinate undefined for %s!"
,
name
);
Error
(
"Longitude coordinate undefined for %s!"
,
ncvars
[
ncvarid
].
name
);
if
(
ncvars
[
ncvarid
].
yvarid
==
UNDEFID
)
Error
(
"Latitude coordinate undefined for %s!"
,
name
);
Error
(
"Latitude coordinate undefined for %s!"
,
ncvars
[
ncvarid
].
name
);
}
else
{
...
...
Write
Preview
Supports
Markdown
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