-
Notifications
You must be signed in to change notification settings - Fork 302
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
A small change in start_time, end_time reading through datatime. #1184
base: main
Are you sure you want to change the base?
Conversation
start_time, end_time issues
Update scatsat1_l2b.py
Codecov Report
@@ Coverage Diff @@
## master #1184 +/- ##
==========================================
+ Coverage 89.61% 90.30% +0.68%
==========================================
Files 200 239 +39
Lines 29522 34236 +4714
==========================================
+ Hits 26457 30916 +4459
- Misses 3065 3320 +255
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
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.
Thanks for solving this bug ! Could you fix the long lines ?
lma flash extend 2d
@@ -31,8 +31,8 @@ def __init__(self, filename, filename_info, filetype_info): | |||
self.h5f = h5py.File(self.filename, "r") | |||
h5data = self.h5f['science_data'] | |||
|
|||
self.filename_info['start_time'] = datetime.strptime(h5data.attrs['Range Beginning Date'], '%Y-%jT%H:%M:%S.%f') | |||
self.filename_info['end_time'] = datetime.strptime(h5data.attrs['Range Ending Date'], '%Y-%jT%H:%M:%S.%f') | |||
self.filename_info['start_time'] = datetime.strptime(h5data.attrs['Range Beginning Date'].decode('ascii'), '%Y-%jT%H:%M:%S.%f') |
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.
E501 line too long (135 > 120 characters)
self.filename_info['start_time'] = datetime.strptime(h5data.attrs['Range Beginning Date'], '%Y-%jT%H:%M:%S.%f') | ||
self.filename_info['end_time'] = datetime.strptime(h5data.attrs['Range Ending Date'], '%Y-%jT%H:%M:%S.%f') | ||
self.filename_info['start_time'] = datetime.strptime(h5data.attrs['Range Beginning Date'].decode('ascii'), '%Y-%jT%H:%M:%S.%f') | ||
self.filename_info['end_time'] = datetime.strptime(h5data.attrs['Range Ending Date'].decode('ascii'), '%Y-%jT%H:%M:%S.%f') |
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.
E501 line too long (130 > 120 characters)
DeepCode's analysis on #6c0d8a found:
Top issues
👉 View analysis in DeepCode’s Dashboard | Configure the bot |
check for lma |
Any progress on this? |
flake8 satpy
AUTHORS.md
if not there already