File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626import numpy as np
2727import pandas as pd
2828import xarray as xr
29+ import yaml
30+
2931from kerchunk .grib2 import (
3032 scan_grib ,
3133 grib_tree ,
@@ -666,19 +668,20 @@ def _reinflate_grib_store(
666668 with fsspec .open (test_path , "r" ) as f :
667669 expected_keys = ujson .loads (f .read ())
668670
669- if key_set != expected_keys :
670- print ("hello" )
671-
672671 self .assertListEqual (key_set , expected_keys )
673672
674673 def test_reinflate_grib_store (self ):
675674 logger .warning (f"python: { sys .version } " )
676675 logger .warning (f"numpy: { np .__version__ } " )
677676 logger .warning (f"pandas: { pd .__version__ } " )
678677 logger .warning (f"xarray: { xr .__version__ } " )
678+ logger .warning (f"fsspec: { fsspec .__version__ } " )
679+ logger .warning (f"gcsfs: { gcsfs .__version__ } " )
679680 logger .warning (f"eccodes: { eccodes .__version__ } " )
680681 logger .warning (f"cfgrib: { cfgrib .__version__ } " )
681682 logger .warning (f"Sys Path: { sys .path } " )
683+ np_config = np .show_config (mode = "dicts" )
684+ logger .warning (f"np config: { yaml .dump (np_config )} " )
682685
683686 for dataset in self ._reinflate_grib_store_dataset ():
684687 for aggregation , axes in self ._reinflate_grib_store_aggregation ():
You can’t perform that action at this time.
0 commit comments