|
47 | 47 | import typing
|
48 | 48 | import io
|
49 | 49 |
|
| 50 | +import sys |
| 51 | +import gcsfs |
| 52 | +import cfgrib |
| 53 | +import eccodes |
| 54 | + |
50 | 55 | logger = logging.getLogger(__name__)
|
51 | 56 |
|
52 | 57 | THIS_DIR = os.path.dirname(os.path.abspath(__file__))
|
@@ -401,11 +406,6 @@ def test_kerchunk_indexing(self):
|
401 | 406 | ),
|
402 | 407 | )
|
403 | 408 |
|
404 |
| - @unittest.skip("TODO") |
405 |
| - def test_extract_dataset_chunk_index(self): |
406 |
| - # TODO add test for chunk indexing a single dataset not from a grib file or tree |
407 |
| - pass |
408 |
| - |
409 | 409 | def test_index_extraction(self):
|
410 | 410 | for sample_prefix in ["hrrr.wrfsubhf", "hrrr.wrfsfcf", "gfs.pgrb2.0p25"]:
|
411 | 411 | with self.subTest(sample_prefix):
|
@@ -672,6 +672,14 @@ def _reinflate_grib_store(
|
672 | 672 | self.assertListEqual(key_set, expected_keys)
|
673 | 673 |
|
674 | 674 | def test_reinflate_grib_store(self):
|
| 675 | + logger.warning(f"python: {sys.version}") |
| 676 | + logger.warning(f"numpy: {np.__version__}") |
| 677 | + logger.warning(f"pandas: {pd.__version__}") |
| 678 | + logger.warning(f"xarray: {xr.__version__}") |
| 679 | + logger.warning(f"eccodes: {eccodes.__version__}") |
| 680 | + logger.warning(f"cfgrib: {cfgrib.__version__}") |
| 681 | + logger.warning(f"Sys Path: {sys.path}") |
| 682 | + |
675 | 683 | for dataset in self._reinflate_grib_store_dataset():
|
676 | 684 | for aggregation, axes in self._reinflate_grib_store_aggregation():
|
677 | 685 | with self.subTest(dataset=dataset, aggregation=aggregation):
|
|
0 commit comments