diff --git a/tests/test_gridding.py b/tests/test_gridding.py index 53b92d3..6d0998f 100755 --- a/tests/test_gridding.py +++ b/tests/test_gridding.py @@ -298,7 +298,7 @@ def test_generate_netcdf_hourly(self): reference = Dataset(reference_output) out = Dataset(output_netcdf) - self.compare_netcdfs(out, reference, variable_name='pr1') + self.compare_netcdfs(out, reference, variable_name=variable_code) out = None reference = None