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
2b37b2c4
Commit
2b37b2c4
authored
Aug 06, 2015
by
Uwe Schulzweida
Browse files
cdf_put_att_double(): changed error message
parent
588c6752
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cdf_int.c
View file @
2b37b2c4
...
...
@@ -729,7 +729,7 @@ void cdf_put_att_double(int ncid, int varid, const char *name, nc_type xtype,
status
=
nc_put_att_double
(
ncid
,
varid
,
name
,
xtype
,
len
,
dp
);
if
(
CDF_Debug
||
status
!=
NC_NOERR
)
Message
(
"
%d %d %f
"
,
ncid
,
varid
,
*
dp
);
Message
(
"
ncid = %d varid = %d att = %s val = %g
"
,
ncid
,
varid
,
name
,
*
dp
);
if
(
status
!=
NC_NOERR
)
Error
(
"%s"
,
nc_strerror
(
status
));
}
...
...
@@ -782,8 +782,7 @@ void cdf_get_att_double(int ncid, int varid, const char *name, double *dp)
status
=
nc_get_att_double
(
ncid
,
varid
,
name
,
dp
);
if
(
CDF_Debug
||
status
!=
NC_NOERR
)
Message
(
"ncid = %d varid = %d att = %s val = %.9g"
,
ncid
,
varid
,
name
,
*
dp
);
Message
(
"ncid = %d varid = %d att = %s val = %.9g"
,
ncid
,
varid
,
name
,
*
dp
);
if
(
status
!=
NC_NOERR
)
Error
(
"%s"
,
nc_strerror
(
status
));
}
...
...
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