Skip to content

[Feature]: CDAT Migration: Add support for opening multiple time series datasets #861

@tomvothecoder

Description

@tomvothecoder

Is your feature request related to a problem?

The CDAT codebase supports XML files to open up multiple time series datasets. The cdat-migration-fy24 branch uses xc.open_dataset() for single variables that don't need to be derived.

  • Zppy specifies input paths as directories of .nc files (related comment)
  • There might be some cases where variables are split up across multiple files and need to be concatenated as a single dataset object.

Describe the solution you'd like

Update _get_time_series_dataset_obj() to use xc.open_mfdataset()

ds = xc.open_dataset(
filepath, add_bounds=["X", "Y", "T"], decode_times=True, use_cftime=True
)

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions