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
Putting the repos in /g/data/ik11/inputs/JRA-55/RYF/v1-4 is not a great way to document the origins of the files, because there's no saying which commit is relevant. It would be better to include the URL to the exact commit in github as an attribute in each .nc file, so they carry their provenance with them. I've been doing that with other inputs using scripts such as this: https://github.com/COSIMA/initial_conditions_access-om2/blob/master/finalise.sh. If we did that we would no longer need to have the repos there (if we trust that github will last forever).
Perhaps payu could also ignore .git directories in case this happens again (belt-and-braces)?
Agreed that adding information to the files themselves is a better solution.
Ignoring .git repos would end up including the code in the input manifest, which is arguably undesirable. It is possible to do. Chuck an issue on https://github.com/payu-org/payu if you think it is worthwhile.
There was always a problem with the approach of just linking everything in the input dirs and implicitly assuming it is used as an actual input to the model. Absent of a better approach this was the best that could be done. As a result it is the responsibility of whoever is setting up the config to make that as clean as possible, assuming this is a shared (or even known) goal.
This input line https://github.com/COSIMA/1deg_jra55_ryf/blob/master/config.yaml#L26 leads to lots of spurious files being linked into the the
work
directory, e.g.See https://github.com/COSIMA/1deg_jra55_ryf/blob/master/manifests/input.yaml#L84-L343
Because there are two code repository directories under
/g/data/ik11/inputs/JRA-55/RYF/v1-4
.Possible solutions:
input
location, e.g./g/data/ik11/inputs/JRA-55/RYF/v1-4/data
The also affects the other RYF configs.
The text was updated successfully, but these errors were encountered: