We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6682334 commit 128bb9eCopy full SHA for 128bb9e
satpy/readers/netcdf_utils.py
@@ -211,8 +211,8 @@ def _collect_global_attrs(self, obj):
211
self.file_content[fc_key] = global_attrs[key] = value
212
self.file_content["/attrs"] = global_attrs
213
214
- @classmethod
215
- def _get_object_attrs(cls, obj):
+ @staticmethod
+ def _get_object_attrs(obj):
216
"""Get object attributes using __dict__ but retrieve recoverable attributes on failure."""
217
try:
218
return obj.__dict__
0 commit comments