From d529fe7ae0748c94dc3b17277689a27300d6f9dc Mon Sep 17 00:00:00 2001 From: gong1 <b.gong@fz-juelich.de> Date: Mon, 12 Jul 2021 15:10:09 +0200 Subject: [PATCH] Bug fix in using provide_default in netcdf_datahandling.py --- video_prediction_tools/utils/general_utils.py | 1 - video_prediction_tools/utils/netcdf_datahandling.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/video_prediction_tools/utils/general_utils.py b/video_prediction_tools/utils/general_utils.py index 73d0366e..65a25c43 100644 --- a/video_prediction_tools/utils/general_utils.py +++ b/video_prediction_tools/utils/general_utils.py @@ -8,7 +8,6 @@ Provides: * get_unique_vars * check_dir * reduce_dict * provide_default - * get_era5_atts """ # import modules diff --git a/video_prediction_tools/utils/netcdf_datahandling.py b/video_prediction_tools/utils/netcdf_datahandling.py index 210b3e2e..a54ce027 100644 --- a/video_prediction_tools/utils/netcdf_datahandling.py +++ b/video_prediction_tools/utils/netcdf_datahandling.py @@ -15,7 +15,7 @@ __date__ = "2021-03-26" import os import numpy as np import xarray as xr -from general_utils import is_integer, add_str_to_path, check_str_in_list, isw +from general_utils import is_integer, add_str_to_path, check_str_in_list, isw, provide_default # auxiliary function that is not generic enough to be placed in NetcdfUtils -- GitLab