SdssFields
Click here for a complete list of operations.
FieldArray
Return all fields around the given pointing within the search radius.
Input 1: ra in degrees (double)
Input 2: dec in degrees (double)
Input 3: radius in arcmins (double)
Output: array of fields (Field[])
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.SOAP
The following is a sample SOAP request and response. The placeholders shown need to be replaced with actual values.
POST /vo/dr2fields/sdssFields.asmx HTTP/1.1
Host: skyserver.sdss.org
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://skyservice.pha.jhu.edu/FieldArray"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<FieldArray xmlns="http://skyservice.pha.jhu.edu/">
<ra>double</ra>
<dec>double</dec>
<radius>double</radius>
</FieldArray>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<FieldArrayResponse xmlns="http://skyservice.pha.jhu.edu/">
<FieldArrayResult>
<Field>
<stripe>int</stripe>
<run>int</run>
<rerun>int</rerun>
<camcol>int</camcol>
<field>int</field>
<fieldId>unsignedLong</fieldId>
<node>double</node>
<incl>double</incl>
<passband>
<Band xsi:nil="true" />
<Band xsi:nil="true" />
</passband>
</Field>
<Field>
<stripe>int</stripe>
<run>int</run>
<rerun>int</rerun>
<camcol>int</camcol>
<field>int</field>
<fieldId>unsignedLong</fieldId>
<node>double</node>
<incl>double</incl>
<passband>
<Band xsi:nil="true" />
<Band xsi:nil="true" />
</passband>
</Field>
</FieldArrayResult>
</FieldArrayResponse>
</soap:Body>
</soap:Envelope>
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /vo/dr2fields/sdssFields.asmx/FieldArray?ra=string&dec=string&radius=string HTTP/1.1 Host: skyserver.sdss.org
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<ArrayOfField xmlns="http://skyservice.pha.jhu.edu/">
<Field>
<stripe>int</stripe>
<run>int</run>
<rerun>int</rerun>
<camcol>int</camcol>
<field>int</field>
<fieldId>unsignedLong</fieldId>
<node>double</node>
<incl>double</incl>
<passband>
<Band filter="string">
<url>string</url>
<pixperdeg>double</pixperdeg>
<center d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<wcs d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</Band>
<Band filter="string">
<url>string</url>
<pixperdeg>double</pixperdeg>
<center d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<wcs d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</Band>
</passband>
</Field>
<Field>
<stripe>int</stripe>
<run>int</run>
<rerun>int</rerun>
<camcol>int</camcol>
<field>int</field>
<fieldId>unsignedLong</fieldId>
<node>double</node>
<incl>double</incl>
<passband>
<Band filter="string">
<url>string</url>
<pixperdeg>double</pixperdeg>
<center d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<wcs d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</Band>
<Band filter="string">
<url>string</url>
<pixperdeg>double</pixperdeg>
<center d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<wcs d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</Band>
</passband>
</Field>
</ArrayOfField>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /vo/dr2fields/sdssFields.asmx/FieldArray HTTP/1.1 Host: skyserver.sdss.org Content-Type: application/x-www-form-urlencoded Content-Length: length ra=string&dec=string&radius=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<ArrayOfField xmlns="http://skyservice.pha.jhu.edu/">
<Field>
<stripe>int</stripe>
<run>int</run>
<rerun>int</rerun>
<camcol>int</camcol>
<field>int</field>
<fieldId>unsignedLong</fieldId>
<node>double</node>
<incl>double</incl>
<passband>
<Band filter="string">
<url>string</url>
<pixperdeg>double</pixperdeg>
<center d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<wcs d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</Band>
<Band filter="string">
<url>string</url>
<pixperdeg>double</pixperdeg>
<center d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<wcs d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</Band>
</passband>
</Field>
<Field>
<stripe>int</stripe>
<run>int</run>
<rerun>int</rerun>
<camcol>int</camcol>
<field>int</field>
<fieldId>unsignedLong</fieldId>
<node>double</node>
<incl>double</incl>
<passband>
<Band filter="string">
<url>string</url>
<pixperdeg>double</pixperdeg>
<center d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<wcs d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</Band>
<Band filter="string">
<url>string</url>
<pixperdeg>double</pixperdeg>
<center d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<wcs d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</Band>
</passband>
</Field>
</ArrayOfField>