How can I run zppy with more recent versions of the packages I'm using?
#570
forsyth2
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
zppyis most often used within the latest E3SM Unified environment. However, you may find yourself needing a version of a tool that hasn't been released via E3SM Unified yet. In these cases,zppyhas some parameters that can help.Task-package alignment
First, which tasks use which packages?
[climo][ts]e3sm_to_cmip(#467 would givee3sm_to_cmipits own task)[tc_analysis][e3sm_diags]e3sm_diags[mpas_analysis][global_time_series]global_time_seriesits own package)[ilamb]Loading newer versions
Now, here are ways to load newer versions of certain packages:
e3sm_diagspackage:Then, set
environment_commands="source <conda_path>; conda activate e3sm_diags_<date>"under the[e3sm_diags]task in thezppycfg. (Example<conda_path>:/home/ac.forsyth2/miniconda3/etc/profile.d/conda.sh)e3sm_to_cmippackage:Then, set
e3sm_to_cmip_environment_commands="source <conda_path>; conda activate e3sm_to_cmip_<date>"under the[ts]task in thezppycfg. (Example<conda_path>:/home/ac.forsyth2/miniconda3/etc/profile.d/conda.sh). (The reason this package needs its own specificenvironment_commandsparameter is because most of thetstask doesn't need it -- and instead needs a different package, NCO).NCO package:
Then, set
environment_commands="source <conda_path>; conda activate zppy_dev_with_nco"under the[climo]and/or[ts]task in thezppycfg. (Example<conda_path>:/home/ac.forsyth2/miniconda3/etc/profile.d/conda.sh).Further reading
See #400 (comment) and #400 (comment) for more on this topic.
Beta Was this translation helpful? Give feedback.
All reactions