Currents
Global currents data for the next 10 days, including currents speed and direction.
Interface code | Interface | Class |
---|---|---|
oceanCurrents | Currents data | OceanCurrentsResponse |
Parameters
OceanParameter
-
location
(required)The currents station to be queried, need LocationID and LocationID can be obtained by POI Lookup. For example:location=P66981
-
date
(required)Set the date, up to 10 days in the future (including today). The date format is yyyyMMdd. Eexample:date=20200531
Sample code
public void oceanCurrents(OceanParameter parameter, Callback<OceanCurrentsResponse> callback)
Response
OceanCurrentsResponse
-
code
See Status Code -
updateTime
API last update time -
fxLink
Responsive web page of this data, for embedded in website or APP -
currentsTable.fxTime
Maximum speed time -
currentsTable.speedMax
Maximum speed, cm/sec -
currentsTable.dir360
Currents direction in azimuth degree -
currentsHourly.fxTime
Hourly forecast time -
currentsHourly.speed
Currents speed, cm/sec -
currentsHourly.dir360
Currents direction in azimuth degree -
refer.sources
Data source and other statements, may be null -
refer.license
Data license, may be null