We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aeedb43 commit 5e4d59fCopy full SHA for 5e4d59f
1 file changed
cdflib/xarray/cdf_to_xarray.py
@@ -307,10 +307,10 @@ def _determine_record_dimensions(
307
created_unlimited_dims: Dict[str, int],
308
) -> Tuple[str, bool, bool]:
309
"""
310
- Determines the name of the
+ Determines the name of the dimensions that the variables span
311
312
313
- if var_props.Rec_Vary and var_props.Last_Rec > 0:
+ if var_props.Rec_Vary and var_props.Last_Rec >= 0:
314
# Check if this variable is itself the dimension
315
if var_name in depend_variables and (len(var_props.Dim_Sizes) == 0 or var_props.Last_Rec >= 0):
316
if not (len(var_props.Dim_Sizes) > 0 and var_props.Last_Rec > 0):
0 commit comments