Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Julien Michel
sensorsio
Commits
96e1ec73
Commit
96e1ec73
authored
Feb 22, 2022
by
Julien Michel
Browse files
Small error in date parsing
parent
62c9f538
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/sensorsio/ecostress.py
View file @
96e1ec73
...
...
@@ -32,10 +32,10 @@ class Ecostress():
end_date
=
str
(
ds
[
'StandardMetadata/RangeEndingDate'
][()])
end_time
=
str
(
ds
[
'StandardMetadata/RangeEndingTime'
][()])
self
.
start_time
=
dateutil
.
parser
.
parse
(
start_date
[
1
:
-
2
]
+
"T"
+
self
.
start_time
=
dateutil
.
parser
.
parse
(
start_date
[
1
:
-
1
]
+
"T"
+
start_time
[
1
:
-
2
])
self
.
end_time
=
dateutil
.
parser
.
parse
(
end_date
[
1
:
-
2
]
+
"T"
+
self
.
end_time
=
dateutil
.
parser
.
parse
(
end_date
[
1
:
-
1
]
+
"T"
+
end_time
[
1
:
-
2
])
# Parse bounds
...
...
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