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

Check if the HOMEDIR, STMP, and PTMP are writable at setup time #3318

Open
3 tasks
DavidHuber-NOAA opened this issue Feb 12, 2025 · 1 comment
Open
3 tasks
Labels
feature New feature or request triage Issues that are triage

Comments

@DavidHuber-NOAA
Copy link
Contributor

What new functionality do you need?

When setting up an experiment, in particular at setup_xml.py time, a check should be added to verify that the user running the experiment is able to write to those directories. This will save debugging time if a user forgets/doesn't know to change these directories.

What are the requirements for the new functionality?

setup_xml.py will fail if it is not possible to create/write to HOMEDIR, STMP, or PTMP. Bonus points if other read directories are also checked (such as rstprod directories).

Acceptance Criteria

  • setup_xml.py runs without error when HOMEDIR, STMP, and PTMP are writable
  • setup_xml.py raises an error if these directories are not writeable
  • A test is written and incorporated into CI testing to verify this feature works

Suggest a solution (optional)

No response

@DavidHuber-NOAA DavidHuber-NOAA added feature New feature or request triage Issues that are triage labels Feb 12, 2025
@DavidHuber-NOAA
Copy link
Contributor Author

FYI @wx20jjung

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request triage Issues that are triage
Projects
None yet
Development

No branches or pull requests

1 participant