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
Ray Garcia
himawari
Commits
3219b4b9
Commit
3219b4b9
authored
Sep 08, 2017
by
R.K.Garcia
Browse files
fix for "Version 1.0" HSD version tag
this is at least present in the test data
parent
daf4c746
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/HimawariHSDFile.cxx
View file @
3219b4b9
...
...
@@ -1116,6 +1116,8 @@ public:
int
major
=
0
,
minor
=
0
;
if
(
2
==
sscanf
(
fv
.
c_str
(),
"%d.%d"
,
&
major
,
&
minor
))
{
return
((
major
>
1
)
||
(
major
==
1
&&
minor
>=
3
));
}
else
if
(
2
==
sscanf
(
fv
.
c_str
(),
"Version %d.%d"
,
&
major
,
&
minor
))
{
return
((
major
>
1
)
||
(
major
==
1
&&
minor
>=
3
));
}
LOG
<<
"WARNING: Unable to parse format version '"
<<
fv
<<
"'
\n
"
;
return
false
;
...
...
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