File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 7474${CONDA} activate ${ENV_NAME}
7575
7676CONDA_LOC=${CONDA_PREFIX}
77- DEF_PATH_DEFAULT=${CONDA_LOC} /share/eccodes
78- DEF_PATH_RESOURCES=${CONDA_LOC} /share/eccodes-cosmo-resources
77+ DEFINITION_VERSION=" v2.25.0.3"
78+ DEFINITION_PATH_DEFAULT=${CONDA_LOC} /share/eccodes
79+ DEFINITION_PATH_RESOURCES=${CONDA_LOC} /share/eccodes-cosmo-resources_${DEFINITION_VERSION}
7980
80- git clone https://github.com/COSMO-ORG/eccodes-cosmo-resources.git ${DEF_PATH_RESOURCES } || exit
81+ git clone -b ${DEFINITION_VERSION} https://github.com/COSMO-ORG/eccodes-cosmo-resources.git ${DEFINITION_PATH_RESOURCES } || exit
8182
82- ${CONDA} env config vars set ECCODES_DEFINITION_PATH=${DEF_PATH_DEFAULT } /definitions:${DEF_PATH_RESOURCES } /definitions
83+ ${CONDA} env config vars set ECCODES_DEFINITION_PATH=${DEFINITION_PATH_DEFAULT } /definitions:${DEFINITION_PATH_RESOURCES } /definitions
8384
8485echo " Variables saved to environment: "
8586${CONDA} env config vars list
You can’t perform that action at this time.
0 commit comments