You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PR #265 added an ncfiles attribute to the DataArray returned by getvar. This attribtue is a list of all the netcdf files that are queried to create the DataArray, and from which data could be extracted when the data is accessed.
This is useful information to the user, but by default it makes for very verbose output in jupyter notebooks when a the DataArray is "printed" in the code block.
In retrospect it was a mistake to return ncfiles as an attribute by default. I think this should be wound back, and the functionality retained, but requiring an option to getvar, e.g. ncfilesattr = True or similar.
The text was updated successfully, but these errors were encountered:
PR #265 added an
ncfiles
attribute to theDataArray
returned bygetvar
. This attribtue is a list of all the netcdf files that are queried to create theDataArray
, and from which data could be extracted when the data is accessed.This is useful information to the user, but by default it makes for very verbose output in jupyter notebooks when a the
DataArray
is "printed" in the code block.In retrospect it was a mistake to return
ncfiles
as an attribute by default. I think this should be wound back, and the functionality retained, but requiring an option togetvar
, e.g.ncfilesattr = True
or similar.The text was updated successfully, but these errors were encountered: