Multi-character 'observatory' IDs cannot be queried
The new rates+pop injection dataset (see https://git.ligo.org/computing/helpdesk/-/issues/4344) uses the HL
'observatory' prefix for GWF files, which are now discoverable from datafind.igwn.org:
$ curl -H "Authorization: Bearer $(cat ${BEARER_TOKEN_FILE})" https://datafind.ligo.uwm.edu/LDR/services/data/v1/gwf/HL/rpo4_offline_v1_003/latest/osdf.json
["osdf:///igwn/shared/derived/obs_sci/cbc/rates+pop/o4/offline-injections/frames/v1/HL-rpo4_offline_v1_003-013854/HL-rpo4_offline_v1_003-1385423360-512.gwf"]
However, this client cannot handle the multi-character observatory, and always uses only the first character:
$ python3 -m gwdatafind -r datafind.igwn.org -o "HL" -y
H1_HOFT_CLEAN_SUB60HZ_C01
H1_LDAS_C02_L2
H1_HOFT_C01_4kHz
H1_HOFT_C01
H1_HOFT_C00_AR
H1_HOFT_C00
H1_GWOSC_O2_16KHZ_R1
H1_HOFT_CLEAN_SUB60HZ_C01_T1700406_v4
H1_GWOSC_O3b_4KHZ_R1
H1_GWOSC_O3a_16KHZ_R1
H1_GWOSC_O3b_16KHZ_R1
H1_LOSC_4_V1
H1_AUX_AR1
H2_LOSC_4_V1
H1_GWOSC_O3a_4KHZ_R1
H1_HOFT_C01_CLEAN_AR
H1_HOFT_CLEAN_SUB60HZ_C01_AR
H1_CLEANED_HOFT_C02
H1_GWOSC_O2_4KHZ_R1
H1_HOFT_C02
H1_HOFT_C01_AR
H1_LOSC_16_V1
(i.e. returns the result for the H
observatory)
The result should be:
$ python3 -m gwdatafind -r datafind.igwn.org -o "HL" -y
rpo4_offline_v1_001
rpo4_offline_v1_000
rpo4_offline_v1_003
rpo4_offline_v1_002