Skip to content

cftime and open_mfdataset conflict #1018

Description

@jrobrien91

Describe the bug
During the 2026 ARM Summer School, when attempting to open MFRSRAOD data via open_mfdataset, users received errors associated with the additional coordinate fields denoting the calibration times, particularly non-monotonic global indexes along these additional dimensions.

From the user:

The mfrsr7nchaod1michM1.c1 datastream contains the normal ARM usage of base_time, time_offset, and time, each with units specified as “second since …”.  But in addition, it also contains two extra fixed-length coordinates fields “Io_interquartile_time” and “Io_gauss_time” that specify the times of calibration values.  Here is how they are defined:
 
float Io_interquartile_time(Io_interquartile_time=72);
  :long_name = "Time for interquartile Io sample times";
  :units = "seconds since 1970-01-01 00:00:00";
 
float Io_gauss_time(Io_gauss_time=61);
  :long_name = "Time for Ios after gaussian filter";
  :units = "seconds since 1970-01-01 00:00:00";

Issue appears to be within 200+ ARM datastreams that follow this cftime convention

To Reproduce
ds = xr.open_mfdataset(mfrsr7nchaod1michM1.c1_files[-3:])

Expected behavior
ds = xr.open_mfdataset(files[-3:])
ValueError: Resulting object does not have monotonic global indexes along dimension Io_gauss_time

Screenshots

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context
Will forward the email chain to maintainers

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions