ICES Oceanographic Web Service
Click here for a complete list of operations.
GetICEDataAverage
Get Bottle and low resolution CTD data average
ParameterCode:
TEMP = Temperature [deg C]
PSAL = Salinity [psu]
DOXY = Oxygen [O2, ml/l]
PHOS = Phosphate Phosphorus [PO4-P, umol/l]
TPHS = Total Phosphorus [P, umol/l]
AMON = Ammonium [NH4-N, umol/l]
NTRI = Nitrite Nitrogen [NO2-N, umol/l]
NTRA = Nitrate Nitrogen [NO3-N, umol/l]
NTOT = Total Nitrogen [N, umol/l]
SLCA = Silicate Silicon [SiO4-Si, umol/l]
H2SX = Hydrogen Sulphide Sulphur [H2S-S, umol/l]
PHPH = Hydrogen Ion Concentration [H]
ALKY = Alkalinity [meq/l]
CPHL = Chlorophyll a [ug/l]
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /webservices/hydchem.asmx HTTP/1.1
Host: ocean.ices.dk
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://ocean.ices.dk/webservices/GetICEDataAverage"
<?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>
<GetICEDataAverage xmlns="http://ocean.ices.dk/webservices/">
<ParameterCode>TEMP or PSAL or DOXY or PHOS or TPHS or AMON or NTRI or NTRA or NTOT or SLCA or H2SX or PHPH or ALKY or CPHL</ParameterCode>
<FromYear>int</FromYear>
<ToYear>int</ToYear>
<FromMonth>int</FromMonth>
<ToMonth>int</ToMonth>
<FromLongitude>double</FromLongitude>
<ToLongitude>double</ToLongitude>
<FromLatitude>double</FromLatitude>
<ToLatitude>double</ToLatitude>
<FromPressure>double</FromPressure>
<ToPressure>double</ToPressure>
</GetICEDataAverage>
</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>
<GetICEDataAverageResponse xmlns="http://ocean.ices.dk/webservices/">
<GetICEDataAverageResult>
<ICEDataAverage>
<Longitude>double</Longitude>
<Latitude>double</Latitude>
<Number>int</Number>
<Minimum>double</Minimum>
<Maximum>double</Maximum>
<Average>double</Average>
</ICEDataAverage>
<ICEDataAverage>
<Longitude>double</Longitude>
<Latitude>double</Latitude>
<Number>int</Number>
<Minimum>double</Minimum>
<Maximum>double</Maximum>
<Average>double</Average>
</ICEDataAverage>
</GetICEDataAverageResult>
</GetICEDataAverageResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /webservices/hydchem.asmx HTTP/1.1
Host: ocean.ices.dk
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<GetICEDataAverage xmlns="http://ocean.ices.dk/webservices/">
<ParameterCode>TEMP or PSAL or DOXY or PHOS or TPHS or AMON or NTRI or NTRA or NTOT or SLCA or H2SX or PHPH or ALKY or CPHL</ParameterCode>
<FromYear>int</FromYear>
<ToYear>int</ToYear>
<FromMonth>int</FromMonth>
<ToMonth>int</ToMonth>
<FromLongitude>double</FromLongitude>
<ToLongitude>double</ToLongitude>
<FromLatitude>double</FromLatitude>
<ToLatitude>double</ToLatitude>
<FromPressure>double</FromPressure>
<ToPressure>double</ToPressure>
</GetICEDataAverage>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<GetICEDataAverageResponse xmlns="http://ocean.ices.dk/webservices/">
<GetICEDataAverageResult>
<ICEDataAverage>
<Longitude>double</Longitude>
<Latitude>double</Latitude>
<Number>int</Number>
<Minimum>double</Minimum>
<Maximum>double</Maximum>
<Average>double</Average>
</ICEDataAverage>
<ICEDataAverage>
<Longitude>double</Longitude>
<Latitude>double</Latitude>
<Number>int</Number>
<Minimum>double</Minimum>
<Maximum>double</Maximum>
<Average>double</Average>
</ICEDataAverage>
</GetICEDataAverageResult>
</GetICEDataAverageResponse>
</soap12:Body>
</soap12:Envelope>