aekiss / run_summary

Summarise ACCESS-OM2 runs
Apache License 2.0
1 stars 1 forks source link

Difference between "Archive output path" and "Archive path" #33

Closed aidanheerdegen closed 1 year ago

aidanheerdegen commented 1 year ago

@utkarshgupta95 pointed out that 01deg_jra55v13_ryf9091 doesn't have "Archive output path"

paths:
    Archive path: /scratch/v45/amh157/access-om2/archive/01deg_jra55v13_ryf9091
    Control path: /home/157/amh157/payu/01deg_jra55v13_ryf9091
    Output path: /g/data/ik11/outputs/access-om2-01/01deg_jra55v13_ryf9091/output372
    Restart path: null
    Sync output path: /g/data/ik11/outputs/access-om2-01/01deg_jra55v13_ryf9091/output372
    Sync path: /g/data/ik11/outputs/access-om2-01/01deg_jra55v13_ryf9091

but 01deg_jra55v140_iaf_cycle4 does:

  paths:
    Archive output path: /scratch/v45/aek156/access-om2/archive/01deg_jra55v140_iaf_cycle4/output732
    Archive path: /scratch/v45/aek156/access-om2/archive/01deg_jra55v140_iaf_cycle4
    Control path: /home/156/aek156/payu/01deg_jra55v140_iaf_cycle4
    Output path: /g/data/cj50/access-om2/raw-output/access-om2-01/01deg_jra55v140_iaf_cycle4/output732
    Restart path: null
    Sync output path: /g/data/cj50/access-om2/raw-output/access-om2-01/01deg_jra55v140_iaf_cycle4/output732
    Sync path: /g/data/cj50/access-om2/raw-output/access-om2-01/01deg_jra55v140_iaf_cycle4

What is the difference between them, and what circumstances does "Archive output path" not exist?

aidanheerdegen commented 1 year ago

Clearly I need to read a bit more before posting issues, I can see "Archive output path" is "Archive path" with the output dir appended. So I am assuming that "Archive output path" only exists if the data still resides there, and hasn't been removed after syncing to "Sync output path"?

aekiss commented 1 year ago

Yes, "Archive output path" only exists if there is a dir with that path https://github.com/aekiss/run_summary/blob/db8b1961f1500465c522431d84e7bdf5f56c49e6/run_summary.py#L652-L656

aidanheerdegen commented 1 year ago

Thanks