You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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()
That takes zppy from A) concatenating variables into a txt file and then using cdscan to create an xml file to B) taking an entire directory of nc files. I.e., "process all the variables in this directory" rather than "process all the variables I listed in this file".
This is incompatible with how Diags (on main) currently functions, which is why Remove cdscan for e3sm_diags zppy#598 can't be merged into zppy's main until Diags has completed its CDAT migration.
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 usesxc.open_dataset()
for single variables that don't need to be derived..nc
files (related comment)Describe the solution you'd like
Update
_get_time_series_dataset_obj()
to usexc.open_mfdataset()
e3sm_diags/e3sm_diags/driver/utils/dataset_xr.py
Lines 1035 to 1037 in 22cd0f5
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: