Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve chdir logic in get_ procedures on local filesystem #14

Open
dcesari opened this issue Aug 25, 2023 · 0 comments
Open

Improve chdir logic in get_ procedures on local filesystem #14

dcesari opened this issue Aug 25, 2023 · 0 comments
Assignees

Comments

@dcesari
Copy link
Member

dcesari commented Aug 25, 2023

Procedure accessing cosmo_5M and similar local data periodically do a fresh cd on the source folder because it can be erased and recreated i ncase the procedure is restarted, to avoid stale handle message, however if the cd is performed when the folder is being recreated the procedure exits with error

/ind2/meteo/a07smr03/lami/nwprun/cron/cineca_get_common.sh: line 50: cd: /ind2/meteo/a07smr01/LM_WorkDir/g100/lm/PROD/work/00/lm5/ope/forecast/dataoutput: No such file or directory

The logic should be made more error-resistant.

@dcesari dcesari self-assigned this Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant