We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a5c88b commit 26f2308Copy full SHA for 26f2308
act/io/arm.py
@@ -118,11 +118,13 @@ def read_arm_netcdf(
118
decode_times = False
119
use_cftime = False
120
121
- # Add funciton keywords to kwargs dictionary for passing into open_mfdataset.
+ if decode_times and use_cftime:
122
+ decode_times = xr.coders.CFDatetimeCoder(use_cftime=True)
123
+
124
+ # Add function keywords to kwargs dictionary for passing into open_mfdataset.
125
kwargs['combine'] = combine
126
kwargs['concat_dim'] = concat_dim
127
kwargs['decode_times'] = decode_times
- kwargs['use_cftime'] = use_cftime
128
if len(filenames) > 1 and not isinstance(filenames, str):
129
kwargs['combine_attrs'] = combine_attrs
130
0 commit comments