-
Notifications
You must be signed in to change notification settings - Fork 0
Description
In order to incorporate the use of ancil_contrib Python modules within the lib/python file structure of the u-dq819 CMIP7 ancillary suite for ACCESS-ESM1.6, the Python scripts at [CMIP7/esm1p6/atmosphere] (CMIP7/esm1p6/atmosphere) should be deployed to a separate package within lib/python. If we call this module esm1p6_ancil then the resulting u-dq819 app/install_scripts/rose-app.conf will contain (e.g.):
[command]
default=true
[env]
OZONE_CONTRIB_URL=fcm:ancil_contrib.xm-br/dev/...
OZONE_CONTRIB_REVISION=@...
[file:${CYLC_WORKFLOW_RUN_DIR}/lib/python/ozone_ancil]
source=${OZONE_CONTRIB_URL}/Projects/CMIP/CMIP7/ozone_ancil${OZONE_CONTRIB_REVISION}
[file:${CYLC_WORKFLOW_RUN_DIR}/lib/python/esm1p6_ancil]
source=${GIT_SCRIPTS_CLONE_DIR}/CMIP7/esm1p6/atmosphere
For this to work correctly, all import statements that use CMIP7/esm1p6/atmosphere Python modules must refer to the esm1p6_ancil package.
To make this restructuring even clearer, the [CMIP7/esm1p6/atmosphere] (CMIP7/esm1p6/atmosphere) directory structure should be moved to CMIP7/esm1p6_ancil, resulting in the following in u-dq819 app/install_scripts/rose-app.conf:
[file:${CYLC_WORKFLOW_RUN_DIR}/lib/python/esm1p6_ancil]
source=${GIT_SCRIPTS_CLONE_DIR}/CMIP7/esm1p6_ancil