Open tomvothecoder opened 2 weeks ago
Zppy specifies input paths as directories of
.nc
files
Just to elaborate a bit:
bash
file changezppy
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".main
) currently functions, which is why https://github.com/E3SM-Project/zppy/pull/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()
https://github.com/E3SM-Project/e3sm_diags/blob/22cd0f569e7df4be147a8fe6fae3e00d5aeb9d8c/e3sm_diags/driver/utils/dataset_xr.py#L1035-L1037
Describe alternatives you've considered
No response
Additional context
No response