Blame view

php/WebServices/Client/WSClientInterface.php 4.15 KB
1ec5d7bd   Benjamin Renard   WS getParameter, ...
1
2
3
4
5
6
<?php 
abstract class WSOutputFileFormat
{
	const NETCDF  = "netCDF";
	const VOTABLE = "VOTable";
	const ASCII   = "ASCII";
01502c7f   Elena.Budnik   CDF outputformat
7
	const CDF   = "CDF";
1ec5d7bd   Benjamin Renard   WS getParameter, ...
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
}

abstract class WSOutputTimeFormat
{
	const ISO  = "ISO8601";
	const TIMESTAMP = "unixtime";
}

abstract class WSOrbitUnit
{
	const KM  = "km";
	const RS  = "Rs";
	const RJ  = "Rj";
	const RCA = "Rca";
	const RGA = "Rga";
	const RIO = "Rio";
	const REU = "Reu";
	const RV  = "Rv";
	const RM  = "Rm";
	const RE  = "Re";
	const AU  = "AU";
}

abstract class WSSpacecraft
{
d9c16908   Elena.Budnik   getStatus SOAP
33
	const CASSINI       = "Cassini";
1ec5d7bd   Benjamin Renard   WS getParameter, ...
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
	const GALILEO       = "Galileo";
	const VOYAGER1      = "Voyager_1";
	const VOYAGER2      = "Voyager_2";
	const PIONEER10     = "Pioneer_10";
	const PIONEER11     = "Pioneer_11";
	const PVO           = "PVO";
	const ACE           = "ACE";
	const VEX           = "VEX";
	const MEX           = "MEX";
	const MGS           = "MGS";
	const MAVEN         = "MAVEN";
	const MESSENGER     = "MESSENGER";
	const ULYSSES       = "ULYSSES";
	const STEREOA       = "Stereo-A";
	const STEREOB       = "Stereo-B";
	const WIND          = "WIND";
	const THEMISA       = "THEMIS-A";
	const THEMISB       = "THEMIS-B";
	const THEMISC       = "THEMIS-C";
	const THEMISD       = "THEMIS-D";
	const THEMISE       = "THEMIS-E";
	const CLUSTER1      = "CLUSTER1";
	const CLUSTER2      = "CLUSTER2";
	const CLUSTER3      = "CLUSTER3";
	const CLUSTER4      = "CLUSTER4";
	const DOUBLESTAR1   = "DoubleStar1";
	const IMP8          = "IMP-8";
	const GEOTAIL       = "GEOTAIL";
	const POLAR         = "POLAR";
	const INTERBALLTAIL = "INTERBALL-Tail";
	const ISEE1         = "ISEE-1";
	const ISEE2         = "ISEE-2";
}

abstract class WSCoordinatesSytem
{
	const CPHIO              = "CPHIO";
	const GPHIO              = "GPHIO";
	const IPHIO              = "IPHIO";
	const EPHIO              = "EPHIO";
	const EQUATORIAL         = "Equatorial";
	const CGM                = "CGM";
	const CARRINGTON         = "Carrington";
	const DM                 = "DM";
	const GEI                = "GEI";
	const GEO                = "GEO";
	const GSE                = "GSE";
	const GSEQ               = "GSEQ";
	const GSM                = "GSM";
	const HAE                = "HAE";
	const HCC                = "HCC";
	const HCI                = "HCI";
	const HCR                = "HCR";
	const HEE                = "HEE";
	const HEEQ               = "HEEQ";
	const HG                 = "HG";
	const HGI                = "HGI";
	const HPC                = "HPC";
	const HPR                = "HPR";
	const J2000              = "J2000";
	const LGM                = "LGM";
	const MAG                = "MAG";
	const MFA                = "MFA";
	const RTN                = "RTN";
	const SC                 = "SC";
	const SE                 = "SE";
	const SM                 = "SM";
	const SR                 = "SR";
	const SR2                = "SR2";
	const SSE                = "SSE";
	const SSE_L              = "SSE_L";
	const SPACECRAFTORBPLANE = "SpacecraftOrbitPlane";
	const WGS84              = "WGS84";
	const MSO                = "MSO";
	const VSO                = "VSO";
}

Interface WSClientInterface
{
	public function getTimeTablesList($userID = "", $password = "");

	public function getTimeTable($ttID, $userID = "", $password = "");

	public function getParameterList($userID, $password = "");

	public function getParameter($startTime, $stopTime, $parameterID, $sampling = 0, $userID = "", $password = "",
			$outputFormat = WSOutputFileFormat::NETCDF, $timeFormat = WSOutputTimeFormat::ISO, $gzip = 0);
d9c16908   Elena.Budnik   getStatus SOAP
121
122
123
			
	public function getStatus($processID);
	
1ec5d7bd   Benjamin Renard   WS getParameter, ...
124
125
126
	public function getDataset($startTime, $stopTime, $datasetID, $sampling = 0, $userID = "", $password = "",
			$outputFormat = WSOutputFileFormat::NETCDF, $timeFormat = WSOutputTimeFormat::ISO, $gzip = 0);

363cacdd   Benjamin Renard   use new Kernel fo...
127
	public function getPlot($startTime, $stopTime, $missionID, $userID = "", $password = "");
1ec5d7bd   Benjamin Renard   WS getParameter, ...
128

363cacdd   Benjamin Renard   use new Kernel fo...
129
	public function getResultPlot($plotDirectoryURL);
1ec5d7bd   Benjamin Renard   WS getParameter, ...
130
131
132
133
134
135
136
137
138
139

	public function getOrbites($startTime, $stopTime, $spacecraft, $coordinateSystem, $units = WSOrbitUnit::KM,
			$sampling = 0, $userID = "", $password = "", $outputFormat = WSOutputFileFormat::NETCDF,
			$timeFormat = WSOutputTimeFormat::ISO, $gzip = 0);

	public function isAlive();

	public function getObsDataTree();
}
?>