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

Method _get_data_array

xarray/backends/pydap_.py:219–230  ·  view source on GitHub ↗

gets dimension data all at once, storing the numpy arrays within a cached dictionary

(self, var)

Source from the content-addressed store, hash-verified

217 return get_group(self.dataset, self.group)
218
219 def _get_data_array(self, var):
220 """gets dimension data all at once, storing the numpy
221 arrays within a cached dictionary
222 """
223 from pydap.client import get_batch_data
224
225 if not var._is_data_loaded():
226 # data has not been deserialized yet
227 # runs only once per store/hierarchy
228 get_batch_data(var, checksums=self._checksums)
229
230 return self.dataset[var.id].data
231
232
233class PydapBackendEntrypoint(BackendEntrypoint):

Callers 1

open_store_variableMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected