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
-
zppy
is 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,zppy
has some parameters that can help.Task-package alignment
First, which tasks use which packages?
[climo]
[ts]
e3sm_to_cmip
(#467 would givee3sm_to_cmip
its own task)[tc_analysis]
[e3sm_diags]
e3sm_diags
[mpas_analysis]
[global_time_series]
global_time_series
its own package)[ilamb]
Loading newer versions
Now, here are ways to load newer versions of certain packages:
e3sm_diags
package:Then, set
environment_commands="source <conda_path>; conda activate e3sm_diags_<date>"
under the[e3sm_diags]
task in thezppy
cfg. (Example<conda_path>
:/home/ac.forsyth2/miniconda3/etc/profile.d/conda.sh
)e3sm_to_cmip
package:Then, set
e3sm_to_cmip_environment_commands="source <conda_path>; conda activate e3sm_to_cmip_<date>"
under the[ts]
task in thezppy
cfg. (Example<conda_path>
:/home/ac.forsyth2/miniconda3/etc/profile.d/conda.sh
). (The reason this package needs its own specificenvironment_commands
parameter is because most of thets
task 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 thezppy
cfg. (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