UCVM Basin Query

From SCECpedia
Jump to navigationJump to search

Discussion Topic List

  • Absolute versus relative paths on Linux
  • $PATH environment variable on Linux
  • basin_query query results
  • transfer files to/from discovery
  • running on Discovery compute nodes
  • Generating plots on Discovery

Linux Path Examples

Moving Files between Laptop and Discovery

Description of basin_query return values

basin_query calls,

crossing is defined when Vs crosses the threshold of value given on commane line (e.g. 2500m/s) from low to high

the output format:
 lon lat first-crossing, 
           if none, then return 0
         second-crossing, 
           if none, then return first-crossing, if none, then return 0
         last-crossing,  
           if none, then return scecond-crossing, 
             if none, then return first crossing, if none, then return 0 


basin_query -f $UCVM_INSTALL_PATH/conf/ucvm.conf -m cvmsi -v 2500 < $UCVM_INSTALL_PATH/tests/inputs/test_latlonsonly.txt

This query returns
 -118.0000    34.0000   1940.000   4660.000   4660.000
 -118.5000    34.5000    320.000    320.000    320.000k

%more in.txt
-119.537 35.55
-118.67 34.50

%basin_query -f $UCVM_INSTALL_PATH/conf/ucvm.conf -m cvmsh -v 2500 < in.txt

This query returns
-119.5370    35.5500      0.000      0.000      0.000
-118.6700    34.5000   2300.000   2300.000   2300.000


%basin_query -f $UCVM_INSTALL_PATH/conf/ucvm.conf -m cvmsi -v 2500 < in.txt

This query returns
-119.5370    35.5500   7400.000   7400.000   7400.000
-118.6700    34.5000    320.000   4780.000   4780.000

Examples of vertical profiles

Bq 1.pngBq 2.pngBq 3.pngBq 4.pngM119p5377 35p5540.png [Last Location -119.5377 35.5540]

Exporting Plots from Discovery

Related Entries