Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files
Default values for filename_pattern in split file loader
  • Loading branch information
agoodm committed Sep 26, 2017
1 parent eacee1f commit 8168d2042390712f9d58051633d93c267a002756
Showing 1 changed file with 1 addition and 0 deletions.
@@ -508,6 +508,7 @@ def load_dataset_from_multiple_netcdf_files(variable_name, variable_unit=None,
nc_files = []
if not file_list:
filename_pattern = [''] if not filename_pattern else filename_pattern
for pattern in filename_pattern:
nc_files.extend(glob(file_path + pattern))

0 comments on commit 8168d20

Please sign in to comment.