-
Notifications
You must be signed in to change notification settings - Fork 8
BUG: use of indices in numpy 1.24.1 #47
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
base: develop-3
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -569,7 +569,7 @@ def _process_return_multi_z_attr(self, data, attr_names, var_names, | |
chars.append('*') | ||
self.meta[var_name][attr_name] = ''.join(chars).rstrip() | ||
else: | ||
self.meta[var_name][attr_name] = data[i, 0:num_e] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm happy with this change. But I don't think I understand why this was producing an error. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I also see data access examples like data[I, j] in the documentation. I don't quite understand why this change is needed. |
||
self.meta[var_name][attr_name] = data[i][0:num_e] | ||
|
||
def to_pysat(self, flatten_twod=True, units_label='UNITS', | ||
name_label='LONG_NAME', fill_label='FILLVAL', | ||
|
Uh oh!
There was an error while loading. Please reload this page.