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.
int
float
1 parent eabbecf commit cfd9a56Copy full SHA for cfd9a56
imas/backends/netcdf/nc2ids.py
@@ -206,7 +206,9 @@ def run(self, lazy: bool) -> None:
206
207
elif metadata.path_string not in self.ncmeta.aos:
208
# Shortcut for assigning untensorized data
209
- self.ids[target_metadata.path]._IDSPrimitive__value = data
+ # Note: var[()] can return 0D numpy arrays. Instead of handling this
210
+ # here, we'll let IDSPrimitive.value.setter take care of it:
211
+ self.ids[target_metadata.path].value = data
212
213
else:
214
for index, node in tree_iter(self.ids, target_metadata):
0 commit comments