Last modified: Wed, 04/13/2011 - 14:57
instructions on how to use the test utility and some information about its limitations.
lasTest.sh
The latest version of the test can be run from a shell script from $LAS_HOME/bin/lasTest.sh.
You can get information about how to use the utility directly from it by running it without arguments:
[rhs@dunkel ~/baker]$ bin/lasTest.sh
Missing required option: l
usage: lasTest [-a] [-c] [-D] [-d <DATASET STRING>] [-e] [-f] [-h] -l <THE LAS URL> [-r] [-v <VIEW>] [-V]
-a,--all Test all products
-c,--connection Test the data set connections via the file or OPeNDAP URL.
-D,--DDS used with -c to print each DDS.
-d,--dataset <DATASET STRING> Test only data sets that contain this string
-e,--exit Exit on first error.
-f,--ftds Test F-TDS URLs.
-h,--help Print help message.
-l,--LAS <THE LAS URL> The base URL of the LAS to test (http://server.org/las)
-r,--responses Test product responses.
-v,--view <VIEW> Test only the specified view, one of x,y,z,t,xy,xz,xt,yz,yt,zt
-V,--verbose Verbose output.
You must supply the utility the base URL of the LAS that you want to test with the -l option.
For example:
bin/lasTest.sh -l http://myserver.com/las -f - Test all of the F-TDS OPeNDAP connections for this server.
bin/lasTest.sh -l http://myserver.com/las -r -v xy - Make an XY plot of the first variable in each data set.
bin/lasTest.sh -l http://myserver.com/las -c - Test the OPeNDAP or file connection from LAS to each data set in the LAS.
Limitations
1. It only tests 1-D and 2-D plots.
2. It cannot test in-situ datasets.