gets dimension data all at once, storing the numpy arrays within a cached dictionary
(self, var)
| 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 | |
| 233 | class PydapBackendEntrypoint(BackendEntrypoint): |