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

Historical replace_landsurface.py python interpreter #57

Open
jo-basevi opened this issue Aug 22, 2024 · 1 comment
Open

Historical replace_landsurface.py python interpreter #57

jo-basevi opened this issue Aug 22, 2024 · 1 comment

Comments

@jo-basevi
Copy link
Contributor

The replace_landsurface.py scripts currently uses a python interpreter in hh5

#!/g/data/hh5/public/apps/nci_scripts/python-analysis3

If changed to #!/usr/bin/env python3, it currently runs into errors when run as a user-script on payu as it defaults to /bin/python3 - payu-org/payu#490

A temporary workaround until the above in fixed in payu, could be to use payu/1.1.4's python interpreter which has access to mule and xarray, so it'll be #!/g/data/vk83/apps/payu/1.1.4/bin/python3

@jo-basevi
Copy link
Contributor Author

Another workaround is to use the existing environment variable $PAYU_PATH which is the directory that contains the payu install. So call $PAYU_PATH/python3 scripts/update_landuse.py in scripts/update_landuse_driver.sh

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