diff options
Diffstat (limited to 'vendor/voclient/voapps/test')
-rw-r--r-- | vendor/voclient/voapps/test/_tasks | 17 | ||||
-rw-r--r-- | vendor/voclient/voapps/test/_tests | 167 | ||||
-rw-r--r-- | vendor/voclient/voapps/test/gal.jpg | bin | 0 -> 7300 bytes | |||
-rwxr-xr-x | vendor/voclient/voapps/test/test.voatlas | 10 |
4 files changed, 194 insertions, 0 deletions
diff --git a/vendor/voclient/voapps/test/_tasks b/vendor/voclient/voapps/test/_tasks new file mode 100644 index 00000000..0e779b26 --- /dev/null +++ b/vendor/voclient/voapps/test/_tasks @@ -0,0 +1,17 @@ +voatlas +vocatalog +vodata +voimage +voiminfo +voregistry +vosamp +vosesame +vosloanspec +vospectra +votcnv +votget +votinfo +votopic +votpos +votsort +votstat diff --git a/vendor/voclient/voapps/test/_tests b/vendor/voclient/voapps/test/_tests new file mode 100644 index 00000000..9f169eb6 --- /dev/null +++ b/vendor/voclient/voapps/test/_tests @@ -0,0 +1,167 @@ +# voatlas -- done + voatlas -S m83 or + voatlas --samp m83 + + voatlas -o gal.jpg -n 256 --graphic sombrero + voatlas -s 20m --survey=wise22 m101 + voatlas --band=radio 3c273 + voatlas --survey=list -v ngc1234 + +# vocatalog -- done + vocatalog gsc2.3 ngc1234 (a) + vocatalog gsc2.3 pos.txt (b) + vocatalog gsc2.3 m31,m51,m93 (c) + vocatalog svcs.txt pos.txt (d) + vocatalog hst,chandra,gsc2.3 pos.txt (e) + vocatalog -count -b x-ray any abell2712\n\ + +# vodata -- done, need to verify results + vodata gsc2.3 ngc1234 (a) + vodata gsc2.3 pos.txt (b) + vodata gsc2.3 m31,m51,m93 (c) + vodata svcs.txt pos.txt (d) + vodata hst,chandra,gsc2.3 pos.txt (e) + + vodata -c -t image any IC10 + vodata --count --type=image any IC10 + vodata -c -t catalog -b x-ray any abell2712 + vodata --count --type=catalog --bandpass=x-ray any abell2712 + + vodata --meta rc3 or vodata -m rc3 + + voregistry cooling flow + vodata -O white97 -all J/MNRAS/292/419 + vodata --output=white97 --all J/MNRAS/292/419 + + voregistry -rv -t image xmm + vodata -cq xmm-newton 3c273 + vodata --count --quiet xmm-newton 3c273 + vodata --get xmm-newton 3c273 + + vodata -e -O 2mass -t image 2mass 12:34:56.7 -23:12:45.2 + vodata -e --output=2mass --type=image 2mass 12:34:56.7 -23:12:45.2 + grep fits 2mass_I_001_15998.urls > images.txt + vodata images.txt + grep fits 2mass_I_001_15998.urls | vodata -i - + + vodata -t image -s http://localhost/siap.pl 180.0 0.0 + vodata --type=image --svc=http://localhost/siap.pl 180.0 0.0 + + voregistry -v -v --type=catalog abell | less + vodata -e ivo://nasa.heasarc/abell 0.0 0.0 180.0 + vodata --extract ivo://nasa.heasarc/abell 0.0 0.0 180.0 + + cut -c6- *.pos | vodata ivo://nasa.heasarc/chanmaster -p - + cut -c6- *.pos | vodata ivo://nasa.heasarc/chanmaster --pos=- + vodata -cq chandra -i - + stilts tpipe ifmt=votable qso_survey.vot \ + + wcsinfo *.fits | vodata 2mass-psc -i - + wcsinfo -pos_only *.fits > centers.txt + vodata --sr=25m 2mass-psc centers.txt + + cat cmds.txt + vodata -i cmds.txt + + vodata -a galex M51 + vodata --all galex M51 + + vodata gsc2.3 positions.txt + vodata --cols=2,3,1 --hskip=5 gsc2.3 positions.txt + +# voimage -- done + voimage -b x-ray any m51 + voimage -c HSTAEC IC10 + +# voiminfo -- done + votiminfo -n mef.fits + voiminfo -b -s image.fits + voiminfo -c image.fits\n" + voiminfo -b -f pos.txt mef.fits\n" + +# voregistry -- done, need to verify results + voregistry -count -t image + voregistry -rv -t image + voregistry -t catalog radio galaxies + voregistry -list GSC2.2 + voregistry -b radio abell + voregistry -rvv -n 1 J/A+A/446/97/tab + voregistry -v -t image wfpc + voregistry -cv keck + voregistry -c chandra hst spitzer + voregistry -co chandra hst spitzer + voregistry -meta gsc2.2 + voregistry "Facility like 'HST'" + voregistry "Title like '%Keck%'" + cat query.txt + cat query.txt | voregistry + voregistry --new 3m + voregistry --new 3m cool stars + voregistry --updated 12m --count + +# vosamp -- done + vosamp load /path/example.xml + vosamp load http://foo.edu/example.xml + vosamp load http://foo.edu/query?RA=0.0&DEC=0.0&SR=0.1 + vosamp -t iraf exec "display dev$pix 1" + vosamp list + +# vosesame -- done + vosesame ngc4456 + vosesame -s ngc4456 + vosesame -st m31 m51 m99 + vosesame -CHndt myobjs.txt + cut -c17-25 data.txt | vosesame -ns + vosesame -a + vosesame -sd -c 12:30:0.0 -45:00:0.0 -c 187.5 2.05 + +# vosloanspec -- done, service is unreliable though + vosloanspec -s 0.1 -t galaxy 'Hubble Deep Field' + vosloanspec --size=0.1 --type=galaxy 'Hubble Deep Field' + vosloanspec -m -d m51 + vosloanspec --meta --delete m51 + vosloanspec -l 5 --samp 3c273 # as a spectrum msg + vosloanspec -l 5 --samp --table 3c273 # as a table msg + vosloanspec --redshift=0.3-1.0 + +# vospectra -- done, need more examples + vospectra any 3c273 + +# votcnv -- done + votcnv --fmt=csv test.xml + votcnv -f vot -i 2 test.xml + votcnv -f vot -i 0 test.xml + +# votget -- done + votget -N 3 results.xml + votget -b foo -e fits -S + votget -b foo urls.txt + votget -x results.xml + +# votinfo -- done + votinfo -v test.xml + votinfo -p test.xml + votinfo --numberOf=param test.xml + votinfo -q test.xml + +# votopic -- done, needs more examples + votopic -t catalog lens A2712 + voregistry -t catalog -d -o lens.xml lens + vodata lens.xml A2712 + +# votpos -- done + votpos test.xml + votpos -n test.xml + cat test.xml | votpos + votpos -o pos.txt test.xml + +# votsort -- done + votsort test.xml + votsort http://generic.edu/test.xml + cat test.xml | votsort -o sort_test.xml + votsort --name=V test.xml + votsort --name=V --desc --top=10 test.xml + votsort -s -f csv test.xml + votsort --string --fmt=csv test.xml + votstat test.xml + votsort -a -o stats test.xml diff --git a/vendor/voclient/voapps/test/gal.jpg b/vendor/voclient/voapps/test/gal.jpg Binary files differnew file mode 100644 index 00000000..1e769c79 --- /dev/null +++ b/vendor/voclient/voapps/test/gal.jpg diff --git a/vendor/voclient/voapps/test/test.voatlas b/vendor/voclient/voapps/test/test.voatlas new file mode 100755 index 00000000..16601464 --- /dev/null +++ b/vendor/voclient/voapps/test/test.voatlas @@ -0,0 +1,10 @@ +#!/bin/csh -fx + + voatlas -S m83 + voatlas --samp m83 + + voatlas -o gal.jpg -n 256 --graphic sombrero + voatlas -s 20m --survey=wise22 m101 + voatlas --band=radio 3c273 + voatlas --survey=list -v ngc1234 + |