diff --git a/tests/test_gridding.py b/tests/test_gridding.py index ff4592f1aa3ea15187fd7726497a0536f5b1a716..b3ea8a7a31fb563eda87b855232677ac67d53399 100644 --- a/tests/test_gridding.py +++ b/tests/test_gridding.py @@ -17,17 +17,8 @@ def generate_compliance_report(dataset: xr.Dataset): check_suite = CheckSuite() check_suite.load_all_available_checkers() - encoding = { - "time": dataset.time.encoding, - "latitude": dataset.latitude.encoding, - "longitude": dataset.longitude.encoding, - "mean": dataset["mean"].encoding, - "std": dataset["std"].encoding, - "n": dataset["n"].encoding, - } - ds_output_path = Path(__file__).parent / "data_sample.nc" - dataset.to_netcdf(ds_output_path, encoding=encoding) + dataset.to_netcdf(ds_output_path) return_value, errors = ComplianceChecker.run_checker( str(ds_output_path),