File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed
Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change 1- import os
2- from glob import glob
3-
41import numpy as np
52import uxarray as ux
63import xarray as xr
@@ -222,18 +219,6 @@ def _check_complete(self):
222219
223220 self ._completed = True
224221
225- @classmethod
226- def _parse_wildcards (cls , paths , filenames , var ):
227- if not isinstance (paths , list ):
228- paths = sorted (glob (str (paths )))
229- if len (paths ) == 0 :
230- notfound_paths = filenames [var ] if isinstance (filenames , dict ) and var in filenames else filenames
231- raise OSError (f"FieldSet files not found for variable { var } : { notfound_paths } " )
232- for fp in paths :
233- if not os .path .exists (fp ):
234- raise OSError (f"FieldSet file not found: { fp } " )
235- return paths
236-
237222 @classmethod
238223 def from_data (
239224 cls ,
You can’t perform that action at this time.
0 commit comments