Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion act/io/arm.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
def read_arm_netcdf(
filenames,
concat_dim=None,
data_vars='all',
return_None=False,
combine='by_coords',
decode_times=True,
Expand All @@ -52,6 +53,9 @@ def read_arm_netcdf(
Name of file(s) to read.
concat_dim : str
Dimension to concatenate files along.
data_vars : str
Whether to attempt to concatenate all variables or only variables
that meet the concatenate dimension. Default is 'all'.
return_None : boolean
Catch IOError exception when file not found and return None.
Default is False.
Expand Down Expand Up @@ -150,7 +154,7 @@ def read_arm_netcdf(
if return_None:
except_tuple = except_tuple + (FileNotFoundError, OSError)

kwargs['data_vars'] = 'all'
kwargs['data_vars'] = data_vars

try:
# Read data file with Xarray function
Expand Down
Loading