FMI_GUMICS.php
1.16 KB
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
<?php
/**
* @class FMI_GUMICS
* @brief
* @details
*/
class FMI_GUMICS extends SimulationDataCenterClass
{
protected $url = "http://impex-fp7.fmi.fi/ws";
protected $treeXML = "Tree_FMI_GUMICS.xml";
protected $WSDL = "Methods_FMI.wsdl";
protected $templateFile = "FMI_GUMICS_Templates.xml";
protected $needsArgs = true;
public $soapMethod = "getDataPointValue";
// OutputFormat netCDF, VOTable, ASCII
public $outputFormat = "VOTable";
protected function createSimulationRegionNodes($id)
{
$simulationRegionNodes = array();
$simReg = "Earth.Magnetosphere";
$simuRegion = $this->domAmda->createElement('simulationRegion');
$simuRegion->setAttribute('xml:id', $this->param2dd("FMI_GUMICS_$simReg"));
$simuRegion->setAttribute('name', $simReg);
$simuRegion->setAttribute('isAddable', true);
$simuRegion->setAttribute('rank', "5");
$simuRegion->setAttribute('att', "simu/simu$simReg");
$this->addSimulatedRegionToTargetsFile($simReg, "GSE");
$simulationRegionNodes[] = $simuRegion;
return $simulationRegionNodes;
}
protected function setModelHelp($node, $helpFile)
{
$node->setAttribute('att', 'simu/Gumics');
}
}
?>