8. Tapupload with STILTS

	
 STILTS tapquery \
	 tapurl='http://dc.zah.uni-heidelberg.de/tap' \
	 omode=out nupload=1 \
	 upload1=t1.vot upname1=tab \
	 out=t2.vot ofmt=vot \
	 adql="SELECT \
	 mine.*,\
	 tm.raj2000, tm.dej2000, tm.jmag, tm.hmag, tm.e_jmag, tm.e_hmag\
	 FROM tap_upload.tab AS mine\
	 JOIN twomass.data AS tm\
	 ON 1=CONTAINS(\
	 POINT('ICRS', tm.raj2000, tm.dej2000),\
	 CIRCLE('ICRS', mine.ra, mine.dec, 3/3600.))"

The STILTS tapupload arguments:

  • nupload sets number of uploads
  • upload1 sets the name of the file for the upload
  • upname1 sets the alias of the uploaded file that can be used to refer to it in the ADQL query.


Hendrik Heinl

Copyright Notice