Running UCVM on Discovery

From SCECpedia
Revision as of 06:56, 31 March 2021 by Maechlin (talk | contribs)
Jump to navigationJump to search

CARC Getting Started Documentation

1D Vertical Profile

Create 1D vertical profile for:

  • 33.8628
  • -118.2525
  • 0-10k
  • 100m
  • Create Plot using Website
  • Create Plot using Discovery

UCVM Basin Query

Running UCVM Plotting on Discovery

on discovery..

>>env |grep UCVM should see setting of UCVM related environment variable like these..

TEST_UCVM_TARGET=... UCVM_SRC_PATH=... UCVM_INSTALL_PATH=...

>>which ucvm_query >>ucvm_query -H >>conda env list

if you see ucvmPlotting, do this,

  >> conda activate ucvmPlotting
  skip to  NEXT

else,

  >>conda env create -f ucvmPlotting.yml
  this will take a while..
  >>conda env list
  should see ucvmPlotting as one of the environment
  >>conda activate ucvmPlotting

NEXT:

>>cd $TEST_UCVM_TARGET >>git clone https://github.com/SCECcode/ucvm_plotting.git >>cd ucvm_plotting >>./unpack-dist >>cd ucvm_plotting >>./run_depth.sh

to run manually, >>plot_depth_profile.py -s 33.8628,-118.2525 -b 0 -e 10000 -d vs,vp,density -v 100 -c cvmh -o depth.png

you can look at it with, >>view_png.py -f depth.png

Related Entries