public class DigitizedSkySurvey extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DigitizedSkySurvey.Test
Test class, retrieve a fits.
|
| Modifier and Type | Field and Description |
|---|---|
private static String |
CADCPATH
The cgi-path for the default server.
|
private static String |
CADCPROTOCOL
The protocol of the default server.
|
private static String |
CADCSERVER
The server for the default retrieval method.
|
private static String |
DEFMETHOD
The default method name from which to retrieve a DSS fits.
|
private static String |
ESOPATH
The cgi-path for the default server.
|
private static String |
ESOPROTOCOL
The protocol of the default server.
|
private static String |
ESOSERVER
The server for the default retrieval method.
|
private static String |
STSCICGIPATH
The cgi-path for the default server.
|
private static String |
STSCIPROTOCOL
The protocol of the default server.
|
private static String |
STSCISERVER
The server for the default retrieval method.
|
private static String |
STSISOURCE
The default source for the Stsci.
|
private static Method[] |
www
All defined methods that allow FITS retrieval.
|
| Constructor and Description |
|---|
DigitizedSkySurvey() |
| Modifier and Type | Method and Description |
|---|---|
static MFits |
getDigitizedSkySurvey(double ra,
double de,
double w,
double h)
Retrieves a DSS fits image from the standard server.
|
static MFits |
getDigitizedSkySurvey(String method,
double ra,
double de,
double w,
double h)
Retrieves a DSS fits image using the name of the method used to retrieve
the FITS is stated.
|
(package private) static MFits |
getFromCadc(Double ra,
Double dec,
Double width,
Double height)
This method connects to the CADC-server in Canada.
|
(package private) static MFits |
getFromEso(Double ra,
Double dec,
Double width,
Double height)
This method connects to the ESO-archive.
|
(package private) static MFits |
getFromStsci(Double ra,
Double dec,
Double width,
Double height)
This method connects to the DSS archive on
STSCISERVER. |
private static String |
getMinSec(double deg)
Converts degress in deg min sec string.
|
private static String |
getMinSec(double deg,
boolean plus)
Converts degress in deg min sec string.
|
static String[] |
getRetrievalMethods()
Returns the names of all methods that allow FITS retrieval.
|
private static Method[] |
scanForMethods()
Scan this class for all methods that return a fits and take four
doubles as arguments.
|
private static final String DEFMETHOD
private static final String STSCIPROTOCOL
private static final String STSCISERVER
private static final String STSCICGIPATH
private static final String STSISOURCE
private static final String ESOPROTOCOL
private static final String ESOSERVER
private static final String ESOPATH
private static final String CADCPROTOCOL
private static final String CADCSERVER
private static final String CADCPATH
private static Method[] www
public static MFits getDigitizedSkySurvey(double ra, double de, double w, double h)
ra - Right ascension of center of field in degreesde - Declination of center of field in degrees.w - Width of field in degrees.h - Height of field in degrees.public static MFits getDigitizedSkySurvey(String method, double ra, double de, double w, double h)
ra - Right ascension of center of field in degreesde - Declination of center of field in degrees.w - Width of field in degrees.h - Height of field in degrees.public static String[] getRetrievalMethods()
private static final Method[] scanForMethods()
static MFits getFromStsci(Double ra, Double dec, Double width, Double height)
STSCISERVER. If the
format changes, this class must be re-compiled.
The server expects a form in a GET field.static MFits getFromEso(Double ra, Double dec, Double width, Double height)
static MFits getFromCadc(Double ra, Double dec, Double width, Double height)
private static String getMinSec(double deg)
private static String getMinSec(double deg, boolean plus)