New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix XRSClient time in query results #2364
Conversation
Hello @Cadair! Thanks for updating the PR. Cheers ! There are no PEP8 issues in this Pull Request. 🍻 Comment last updated on December 13, 2017 at 18:05 Hours UTC |
c2613ba
to
c80ebcd
Compare
uripath = urlsplit(uri).path | ||
|
||
# Extract the yymmdd or yyyymmdd timestamp | ||
datestamp = os.path.splitext(os.path.split(uripath)[1])[0][4:] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should always be the case? Remove the first 4?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah the filenames always start with go{satnum:02d}
so always four char
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm sure I was not to blame... 😛
# Extract the yymmdd or yyyymmdd timestamp | ||
datestamp = os.path.splitext(os.path.split(uripath)[1])[0][4:] | ||
|
||
if int(datestamp) < 990115: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is that 1999-01-15? or is the number of seconds since computer existed? a comment would help for people when look that in a confusing way.
58bb396
to
4ca9c4e
Compare
4ca9c4e
to
3fcc201
Compare
Unrelated online test fails. |
fixes #2335