Skip to content

Commit

Permalink
Update obs-monitor wcoss2 module. (NOAA-EMC#54)
Browse files Browse the repository at this point in the history
I ran into some problems updating the obs-mon ve on wcoss2 due mostly to
existing issues. These are fixed and I've updated the python version as
well. Small changes were required in the `wcoss2.lua` module to complete
the ve update.

The issue that prompted this fix was that plotting logos still didn't
work on wcoss2 despite the recent update to eva. With this change and
the rebuilt ve logos (and tight layout) now work on wcoss2.

Closes NOAA-EMC#53
  • Loading branch information
EdwardSafford-NOAA authored Nov 21, 2024
1 parent d0f12a0 commit d5f8f14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modulefiles/obs-monitor/wcoss2.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ local pkgNameVer = myModuleFullName()
conflict(pkgName)


load ("python/3.10.4")
load ("python/3.12.0")

local pyenvpath = "/lfs/h2/emc/da/noscrub/edward.safford/python/envs/"
local pyenvname = "obs-mon"
Expand All @@ -20,7 +20,7 @@ if (mode() == "load") then
local activate_cmd = "source "..pyenvactivate
execute{cmd=activate_cmd, modeA={"load"}}
prepend_path("PATH", "/lfs/h2/emc/da/noscrub/edward.safford/python/envs/obs-mon/bin")
prepend_path("PYTHONPATH", "/lfs/h2/emc/da/noscrub/edward.safford/python/envs/obs-mon")
setenv("PYTHONPATH","/lfs/h2/emc/da/noscrub/edward.safford/python/envs/obs-mon/lib/python3.12/site-packages")

else
if (mode() == "unload") then
Expand Down

0 comments on commit d5f8f14

Please sign in to comment.