Difference between revisions of "UCVM Basin Query"
From SCECpedia
Jump to navigationJump to searchLine 3: | Line 3: | ||
*[https://www.howtogeek.com/658904/how-to-add-a-directory-to-your-path-in-linux/ Linux PATH] | *[https://www.howtogeek.com/658904/how-to-add-a-directory-to-your-path-in-linux/ Linux PATH] | ||
*[http://www.linux-migration.org/ch02s06.html Setting Search Path] | *[http://www.linux-migration.org/ch02s06.html Setting Search Path] | ||
+ | |||
+ | == Description of basin_query return values == | ||
+ | <pre> | ||
+ | |||
+ | |||
+ | basin_query calls, | ||
+ | |||
+ | crossing is defined when Vs crosses the threshold of 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 | ||
+ | |||
+ | </pre> | ||
+ | |||
+ | == Examples of vertical profiles == | ||
+ | |||
== Related Entries == | == Related Entries == | ||
+ | *[[Export_XWindows_to_Client]] | ||
+ | *[[Running_UCVM_on_Discovery]] | ||
+ | *[[UCVM_Install]] | ||
*[[UCVM]] | *[[UCVM]] | ||
− |
Revision as of 15:36, 8 April 2021
Contents
Linux Path Examples
Description of basin_query return values
basin_query calls, crossing is defined when Vs crosses the threshold of 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