Skip to content

Commit bb8ccb8

Browse files
authored
MNT: Add sorted for nested reading. (#1020)
1 parent ab9558f commit bb8ccb8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

act/io/arm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def read_arm_netcdf(
179179
'to use to order the datasets for concatenation'
180180
):
181181
kwargs['combine'] = 'nested'
182-
ds = xr.open_mfdataset(filenames, **kwargs)
182+
ds = xr.open_mfdataset(sorted(filenames), **kwargs)
183183

184184
else:
185185
# When all else fails raise the orginal exception

0 commit comments

Comments
 (0)