@@ -268,7 +268,7 @@ def open_dataset(
268268
269269
270270def open_mfdataset (
271- path_glob : Iterable | str | Path | Callable [..., Iterable [Path ]],
271+ paths : Iterable | str | Path | Callable [..., Iterable [Path ]],
272272 * ,
273273 separate_times : bool = False ,
274274 keep_particles : bool = False ,
@@ -301,7 +301,7 @@ def open_mfdataset(
301301
302302 Parameters
303303 ----------
304- path_glob
304+ paths
305305 List of filenames or string glob pattern
306306 separate_times
307307 If ``True``, create separate time dimensions for variables defined at
@@ -326,22 +326,22 @@ def open_mfdataset(
326326 from a relative or absolute file path. See :ref:`loading-input-deck` for details.
327327 """
328328
329- path_glob = _resolve_glob (path_glob )
329+ paths = _resolve_glob (paths )
330330
331331 if not separate_times :
332332 return combine_datasets (
333- path_glob ,
333+ paths ,
334334 data_vars = data_vars ,
335335 keep_particles = keep_particles ,
336336 probe_names = probe_names ,
337337 chunks = chunks ,
338338 deck_path = deck_path ,
339339 )
340340
341- _ , var_times_map = make_time_dims (path_glob )
341+ _ , var_times_map = make_time_dims (paths )
342342
343343 all_dfs = []
344- for f in path_glob :
344+ for f in paths :
345345 ds = xr .open_dataset (
346346 f ,
347347 keep_particles = keep_particles ,
@@ -451,7 +451,7 @@ def open_datatree(
451451
452452
453453def open_mfdatatree (
454- path_glob : Iterable | str | Path | Callable [..., Iterable [Path ]],
454+ paths : Iterable | str | Path | Callable [..., Iterable [Path ]],
455455 * ,
456456 separate_times : bool = False ,
457457 keep_particles : bool = False ,
@@ -512,7 +512,7 @@ def open_mfdatatree(
512512
513513 Parameters
514514 ----------
515- path_glob
515+ paths
516516 List of filenames or string glob pattern
517517 separate_times
518518 If ``True``, create separate time dimensions for variables defined at
@@ -536,7 +536,7 @@ def open_mfdatatree(
536536 """
537537 # First, combine the datasets as usual
538538 combined_ds = open_mfdataset (
539- path_glob ,
539+ paths ,
540540 separate_times = separate_times ,
541541 keep_particles = keep_particles ,
542542 probe_names = probe_names ,
0 commit comments