Lab Exercise: LSCdataFind
During this lab the user will become familiar with the LSCdataFind tool:
Additional documentation can be found at http://www.lsc-group.phys.uwm.edu/lscdatagrid/doc/quicktools.html#lscdatafind
$ LSCdataFind --server=ldas-gridmon.ligo-la.caltech.edu --ping
LDRdataFindServer at ldas-gridmon.ligo-la.caltech.edu is alive
The --ping command pings the data server that you specify with the --server option.
Finding other sites: http://www.lsc-group.phys.uwm.edu/lscdatagrid/resources/index.html
$ export LSC_DATAFIND_SERVER=ldas-gridmon.ligo-la.caltech.edu $ LSCdataFind --ping
LDRdataFindServer at ldas-gridmon.ligo-la.caltech.edu is alive
Obviously, the export command is a good candidate to consider adding to ~/.bash_profile if you're working with a single LSCdataFind server most of the time.
$ LSCdataFind --server=ldas-gridmon.ligo-la.caltech.edu --show-observatories
H
L
HL
HLT
None
G
GHT
AGHLT
V
$
$ LSCdataFind --server=ldas-gridmon.ligo-la.caltech.edu --show-types
RDS_R_L3
RDS_R_L1
SenseMonitor_H1_M
SenseMonitor_H2_M
SenseMonitor_L1_M
RDS_R_L2
SG5
GA1
BH1
BH2
SG7
BH3
BH4
SG10
BH5
BO1
ZM1
SG12
GA2
R
BH6
BO2
None
SG13
SG1_S3_P
SG2_S3_P
SG3_S3_P
GA1_S3_P
SN1_S3_P
SG4_S3_P
SG5_S3_P
WNB1_S3_P
WNB2_S3_P
WNB3_S3_P
SN2
SN2_S3_P
WNB1A_S3_P
WNB2A_S3_P
WNB3A_S3_P
G1_RDS_C01_LX
WHISTLE_S_S3_P
WHISTLE_L_S3_P
CUSPS_S3_P
INSP_S3_P
LG_SG2
LA_SG1
SIM
SG820Q5
SG820Q15
SG235Q5
SG235Q15
GA1d0
GA4d0
DFMa2b4g1
DFMa1b2g1
LA_DS1
$
Warning: Do not request time intervals greater than 10,000 seconds. Requests for time intervals larger than this will cause the database to crash.
Let's start with the following command:
$ LSCdataFind --server=ldas-gridmon.ligo-la.caltech.edu --observatory H --type RDS_R_L3 --gps-start-time 753759081 --gps-end-time 753759130
gsiftp://dataserver.phys.uwm.edu:15000/data/ gsiftp_root/ cluster_storage/ datc/s109/S3/ RDS_R_L3/H/ 753753600-753773599/H-RDS_R_L3-753759072-16.gwf
file://localhost/netdatc/s109/S3/RDS_R_L3/H/ 753753600-753773599/ H-RDS_R_L3-753759072-16.gwf
file://medusa-slave109.medusa.phys.uwm.edu/ datc/S3/RDS_R_L3/ H/753753600- 753773599/H-RDS_R_L3- 753759072-16.gwf
gsiftp://dataserver.phys.uwm.edu:15000/data/ gsiftp_root/ cluster_storage/ datc/s109/S3/RDS_R_L3/H/ 753753600-753773599/ H-RDS_R_L3-753759088-16.gwf
file://localhost/netdatc/s109/S3/RDS_R_L3/H/ 753753600-753773599/ H-RDS_R_L3- 753759088-16.gwf
file://medusa-slave109.medusa.phys.uwm.edu/ datc/S3/RDS_R_L3/H/ 753753600- 753773599/H-RDS_R_L3- 753759088-16.gwf
gsiftp://dataserver.phys.uwm.edu:15000/data/ gsiftp_root/ cluster_storage/ datc/s109/S3/RDS_R_L3/H/ 753753600-753773599/ H-RDS_R_L3-753759104-16.gwf
file://localhost/netdatc/s109/S3/RDS_R_L3/H/ 753753600-753773599/H-RDS_R_L3- 753759104-16.gwf
file://medusa-slave109.medusa.phys.uwm.edu/ datc/S3/RDS_R_L3/ H/ 753753600- 753773599/H-RDS_R_L3- 753759104-16.gwf
gsiftp://dataserver.phys.uwm.edu:15000/data/ gsiftp_root/ cluster_storage/ datc/s109/S3/ RDS_R_L3/H/ 753753600-753773599/ H-RDS_R_L3-753759120-16.gwf
file://localhost/netdatc/s109/S3/RDS_R_L3/H/ 753753600-753773599/H-RDS_R_L3- 753759120-16.gwf
file://medusa-slave109.medusa.phys.uwm.edu/ datc/S3/RDS_R_L3/ H/753753600- 753773599/H-RDS_R_L3- 753759120-16.gwfIf you look at the values returned you will notice several things. First, they have different URL types:
- gsiftp
- file
$ LSCdataFind --server=ldas-gridmon.ligo-la.caltech.edu --observatory H --type RDS_R_L3 --gps-start-time 753759081 --gps-end-time 753759130 --url-type file
file://localhost/data/node25/ S3/L3/LHO/H-RDS_R_L3-7537/ H-RDS_R_L3-753759072-16.gwf
file://localhost/data/node25/ S3/L3/LHO/H-RDS_R_L3-7537/ H-RDS_R_L3-753759088-16.gwf
file://localhost/data/node25/ S3/L3/LHO/H-RDS_R_L3-7537/ H-RDS_R_L3-753759104-16.gwf
file://localhost/data/node25/ S3/L3/LHO/H-RDS_R_L3-7537/ H-RDS_R_L3-753759120-16.gwf
$ LSCdataFind --server=ldas-gridmon.ligo-la.caltech.edu --observatory H --type RDS_R_L3 --gps-start-time 753759081 --gps-end-time 753759130 --url-type file --match localhost
file://localhost/data/node25/ S3/L3/LHO/H-RDS_R_L3-7537/ H-RDS_R_L3-753759072-16.gwf
file://localhost/data/node25/ S3/L3/LHO/H-RDS_R_L3-7537/ H-RDS_R_L3-753759088-16.gwf
file://localhost/data/node25/ S3/L3/LHO/H-RDS_R_L3-7537/ H-RDS_R_L3-753759104-16.gwf
file://localhost/data/node25/ S3/L3/LHO/H-RDS_R_L3-7537/ H-RDS_R_L3-753759120-16.gwf
$ LSCdataFind --server=ldas-gridmon.ligo-la.caltech.edu --observatory H --type RDS_R_L3 --gps-start-time 753759081 --gps-end-time 753759130 --lal-cache --match localhost
H RDS_R_L3 753759072 16 file://localhost/ data/node25/S3/L3/LHO/ H-RDS_R_L3-7537/ H-RDS_R_L3-753759072-16.gwf
H RDS_R_L3 753759088 16 file://localhost/ data/node25/S3/L3/LHO/ H-RDS_R_L3-7537/ H-RDS_R_L3-753759088-16.gwf
H RDS_R_L3 753759104 16 file://localhost/ data/node25/S3/L3/LHO/ H-RDS_R_L3-7537/ H-RDS_R_L3-753759104-16.gwf
H RDS_R_L3 753759120 16 file://localhost/ data/node25/S3/L3/LHO/ H-RDS_R_L3-7537/ H-RDS_R_L3-753759120-16.gwf
$ LSCdataFind --server=ldas-gridmon.ligo-la.caltech.edu --observatory H --type RDS_R_L3 --gps-start-time 753759081 --gps-end-time 753759130 --names-only
H-RDS_R_L3-753759072-16.gwf
H-RDS_R_L3-753759088-16.gwf
H-RDS_R_L3-753759104-16.gwf
H-RDS_R_L3-753759120-16.gwf