MCPcopy Index your code
hub / github.com/pydata/xarray / has_data

Method has_data

xarray/core/datatree.py:736–738  ·  view source on GitHub ↗

Whether or not there are any variables in this node.

(self)

Source from the content-addressed store, hash-verified

734
735 @property
736 def has_data(self) -> bool:
737 """Whether or not there are any variables in this node."""
738 return bool(self._data_variables or self._node_coord_variables)
739
740 @property
741 def has_attrs(self) -> bool:

Callers 14

pass_in_axisMethod · 0.80
test_geo_dataMethod · 0.80
test_date_dimensionMethod · 0.80
test_colorbar_kwargsMethod · 0.80
test_no_argsMethod · 0.80

Calls

no outgoing calls

Tested by 14

pass_in_axisMethod · 0.64
test_geo_dataMethod · 0.64
test_date_dimensionMethod · 0.64
test_colorbar_kwargsMethod · 0.64
test_no_argsMethod · 0.64