@jkrasting @bitterbark I used the MDTF catalog builder to generate a csv file (see attached), and tried following the MDTF.ipynb template to read the data with CaseGroup2 from the runtime_config.yml.
# Provide an MDTF case settings file
groups = [
CaseGroup2(
"/pscratch/sd/w/wmtsai/MDTF_POD_diags/MDTF-diagnostics/templates/runtime_config.mcstest.yml"
#date_range=("2005-01-01", "2005-12-31"),
#mapping=mapping,
)
]
An error message indicated something was wrong with the csv file
"ComputeError: Path "/pscratch/sd/w/wmtsai//MDTF_POD_diags/catalogs/MPI-ESM1-2-HR_historical_r1i1p1f1_full.csv" contained empty path segment
This error occurred with the following context stack:
[1] 'slice'
[2] 'sink'"
After checking the csv file, we found that the init_year column is empty. The path to input data exists and is correct "/pscratch/sd/w/wmtsai/MDTF_POD_diags/inputdata/model/MPI-ESM1-2-HR_historical_r1i1p1f1_gn_200501010130-200912312230/3hr/MPI-ESM1-2-HR_historical_r1i1p1f1_gn_200501010130-200912312230.pr.3hr.nc".
I manually filled it out with the year "2005", but the same error message still appeared. The same, unmodified yml and csv files worked fine under the MDFT framework command-line mode. I've attached the associated files below.
MPI-ESM1-2-HR_historical_r1i1p1f1_full.csv
settings.jsonc
runtime_config.mcstest.yml
@jkrasting @bitterbark I used the MDTF catalog builder to generate a csv file (see attached), and tried following the MDTF.ipynb template to read the data with CaseGroup2 from the runtime_config.yml.
An error message indicated something was wrong with the csv file
After checking the csv file, we found that the
init_yearcolumn is empty. The path to input data exists and is correct "/pscratch/sd/w/wmtsai/MDTF_POD_diags/inputdata/model/MPI-ESM1-2-HR_historical_r1i1p1f1_gn_200501010130-200912312230/3hr/MPI-ESM1-2-HR_historical_r1i1p1f1_gn_200501010130-200912312230.pr.3hr.nc".I manually filled it out with the year "2005", but the same error message still appeared. The same, unmodified yml and csv files worked fine under the MDFT framework command-line mode. I've attached the associated files below.
MPI-ESM1-2-HR_historical_r1i1p1f1_full.csv
settings.jsonc
runtime_config.mcstest.yml