Skip to content
Snippets Groups Projects
Commit de191bed authored by leufen1's avatar leufen1
Browse files

new req bottleneck improves speed for kzf

parent 2ba4fe1a
Branches
Tags
7 merge requests!319add all changes of dev into release v1.4.0 branch,!318Resolve "release v1.4.0",!283Merge latest develop into falcos issue,!279include Develop,!278Felix issue295 transformation parameters in data handler,!274Resolve "implement lazy data preprocessing",!259Draft: Resolve "WRF-Datahandler should inherit from SingleStationDatahandler"
Pipeline #62715 passed
...@@ -2,6 +2,7 @@ absl-py==0.11.0 ...@@ -2,6 +2,7 @@ absl-py==0.11.0
appdirs==1.4.4 appdirs==1.4.4
astor==0.8.1 astor==0.8.1
attrs==20.3.0 attrs==20.3.0
bottleneck==1.3.2
cached-property==1.5.2 cached-property==1.5.2
certifi==2020.12.5 certifi==2020.12.5
cftime==1.4.1 cftime==1.4.1
......
...@@ -2,6 +2,7 @@ absl-py==0.11.0 ...@@ -2,6 +2,7 @@ absl-py==0.11.0
appdirs==1.4.4 appdirs==1.4.4
astor==0.8.1 astor==0.8.1
attrs==20.3.0 attrs==20.3.0
bottleneck==1.3.2
cached-property==1.5.2 cached-property==1.5.2
certifi==2020.12.5 certifi==2020.12.5
cftime==1.4.1 cftime==1.4.1
......
...@@ -616,9 +616,11 @@ class KolmogorovZurbenkoFilterMovingWindow(KolmogorovZurbenkoBaseClass): ...@@ -616,9 +616,11 @@ class KolmogorovZurbenkoFilterMovingWindow(KolmogorovZurbenkoBaseClass):
wl(int): a window length wl(int): a window length
itr(int): a number of iteration itr(int): a number of iteration
""" """
import warnings
warnings.filterwarnings("ignore")
df_itr = df.__deepcopy__() df_itr = df.__deepcopy__()
try: try:
kwargs = {"min_periods": 1, kwargs = {"min_periods": int(0.7 * wl),
"center": True, "center": True,
self.filter_dim: wl} self.filter_dim: wl}
iter_vars = df_itr.coords["variables"].values iter_vars = df_itr.coords["variables"].values
......
...@@ -2,6 +2,7 @@ absl-py==0.11.0 ...@@ -2,6 +2,7 @@ absl-py==0.11.0
appdirs==1.4.4 appdirs==1.4.4
astor==0.8.1 astor==0.8.1
attrs==20.3.0 attrs==20.3.0
bottleneck==1.3.2
cached-property==1.5.2 cached-property==1.5.2
certifi==2020.12.5 certifi==2020.12.5
cftime==1.4.1 cftime==1.4.1
......
...@@ -2,6 +2,7 @@ absl-py==0.11.0 ...@@ -2,6 +2,7 @@ absl-py==0.11.0
appdirs==1.4.4 appdirs==1.4.4
astor==0.8.1 astor==0.8.1
attrs==20.3.0 attrs==20.3.0
bottleneck==1.3.2
cached-property==1.5.2 cached-property==1.5.2
certifi==2020.12.5 certifi==2020.12.5
cftime==1.4.1 cftime==1.4.1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment