Skip to content

Failure due to the timestamp in the intermeidate results of the PMP annual cycle diagnostic #461

@minxu74

Description

@minxu74

The problem

Found that there was a timestamp attached to the intermediate results of the annual cycle diagnostic. For example:

/pscratch/sd/m/minxu/mytest_ref_2025-09-25/config/software/conda/micromamba run --prefix /pscratch/sd/m/minxu/mytest_ref_2025-09-25/config/software/conda/pmp-a0cd98ec96f7c858f788439a4f0b4951fe2d7a55 mean_climate_driver.py -p /pscratch/sd/m/minxu/mytest_ref_2025-09-25/climate-ref/packages/climate-ref-pmp/src/climate_ref_pmp/params/pmp_param_annualcycle_2-metrics.py --vars ts --custom_observations /pscratch/sd/m/minxu/mytest_ref_2025-09-25/config/scratch/pmp/annual-cycle/29d06681d9b0fe74e07ed58444b9fe23a1b20775/obs_dict.json --test_data_path /pscratch/sd/m/minxu/mytest_ref_2025-09-25/config/scratch/pmp/annual-cycle/29d06681d9b0fe74e07ed58444b9fe23a1b20775 --test_data_set GISS-E2-1-G --realization r4i1p1f1 --filename_template "%(variable)_GISS-E2-1-G_hist-GHG_r4i1p1f1_clims.198101-200512.AC.v20251011.nc" --metrics_output_path /pscratch/sd/m/minxu/mytest_ref_2025-09-25/config/scratch/pmp/annual-cycle/29d06681d9b0fe74e07ed58444b9fe23a1b20775

The intermediate file %(variable)_GISS-E2-1-G_hist-GHG_r4i1p1f1_clims.198101-200512.AC.v20251011.nc had the timestamp v20251011. So the above command was generated on Oct. 11, but the intermediate file maybe was generated on Oct. 12 with the timestamp v20251012.

It will cause the execution failure and maybe the IndexError.

Definition of "done"

Additional context

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions