Open jo-basevi opened 3 weeks ago
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
The
replace_landsurface.py
scripts currently uses a python interpreter inhh5
https://github.com/ACCESS-NRI/access-esm1.5-configs/blob/def5a8a19787cbd5bed9802b3aa8d33f30013551/scripts/update_landuse.py#L1If changed to
#!/usr/bin/env python3
, it currently runs into errors when run as a user-script onpayu
as it defaults to/bin/python3
- https://github.com/payu-org/payu/issues/490A temporary workaround until the above in fixed in payu, could be to use
payu/1.1.4
's python interpreter which has access tomule
andxarray
, so it'll be#!/g/data/vk83/apps/payu/1.1.4/bin/python3