This command line interface is for the old astro server (pre-8/13/09) and is no longer ingesting new data and will be removed at some time in the future. |
The commands were mainly designed to be used by programs rather than end users, so at the moment they are not very user friendly
~glast/astro/prod/astro --refFile <refFile> --outFile <outputFile> --database <dbSpec> [ft1Selection] store |
~glast/astro/prod/astro --refFile <refFile> --outFile <outputFile> --database <dbSpec> [ft2Selection] storeft2 |
The refFile is required and is used as a template for generating the FITS headers. The database is required, and is currently bizarrely defined as
DBNAME |
dbSpec |
---|---|
Level1 |
jdbc:mysql://glastlnx09.slac.stanford.edu:8001/Richard |
LEOScience |
jdbc:mysql://glastlnx09.slac.stanford.edu:8001/Level1 |
(See glastgen.dp_astro_db table in oracle for current values).
ft1Selection can contain (all optional):
--minTimestamp <value MET> --maxTimestamp <value MET> --minEnergy <value MeV> --maxEnergy <value MeV> --ra <value degrees> --dec <value degrees> --radius <value degrees> --class1 Include class1 events (transient) --class2 Include class2 events (source) --class3 Include class3 events (diffuse) |
and ft2Selection can contain (all optional):
--minTimestamp <value MET> --maxTimestamp <value MET> |
~glast/astro/prod/astro \ --outFile /tmp/out.fits \ --refFile root://glast-rdr.slac.stanford.edu//glast/Data/Flight/Level1/LPA/prod/1.62/ft2/gll_pt_r0240053751_v001.fit \ --database jdbc:mysql://glastlnx09.slac.stanford.edu:8001/Richard \ --minEnergy 100.0 --maxEnergy 200000.0 \ --minTimestamp 2.39557414E8 --ra 128.83607 --dec -45.17644 --radius 10.0 --class3 store |