blob: bcbb0b402c44ca02e0da99005a59ff05aac5ca95 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
#
# Demonstrate selection of column for tasks expecting a list.
# Set the test description string.
votest.descr = "Demonstrate selection of column for tasks expecting a list"
# Convert the data$logical to a local path.
s1 = data_url // "/sia.xml"
s2 = "file://" // data_path // "/sia.xml"
s3 = "file:///localhost" // data_path // "/sia.xml"
print ("------------------------------------------------------------------")
print ("Req 1.3: Users shall be able to select a column in a VOTable")
print (" for use in tasks that expect a list of values.")
print ("------------------------------------------------------------------")
fcache init
flpr 0
print (" ")
print (" This test is demonstrated by using the @-file syntax to auto-")
print ("matically extract the image access reference column from an SIA")
print ("result table.")
print (" ")
# Suppress the image name to avoid a false failure because of checksum
# algorithm differences between platforms.
imstat.fields = "npix,mean,stddev,min,max"
# Execute the test commands.
print ("\nLogical Path: data$sia.xml") # logical path
imstat ("@data$sia.xml")
print ("\nHTTP URI: " // s1) # remote http URI
imstat ("@" // s1)
print ("\nFile URI: " // s2) # file URI
imstat ("@" // s2)
print ("\nFile URI: " // s3) # file URI
imstat ("@" // s3)
|