Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The documentation for the BWQ webservice web service API is provided here: https://environment.data.gov.uk/bwq/doc/api-reference-v0.6.html

...

The page size property controls how many incidents to retrieve at once, the parser will loop over the pages until all records within the specified viewperiod have been retrieved, a larger pagesize page size means a lower number of http requests but may retrieve more data than required, so if the parser is scheduled to be run on a daily schedule a page size as small as "1" may be more practical.

For each incident, at the start date/time a parameter value is recorded that reflects the incident type (see table "Pollution Incident Types" in the API document) and at the end of the incident a zero value is recroded t recorded to indicate the end of the pollution incident.

...

The most important differences with the configuration for pollution incidents are the url and field names, additionally the option "importHistory" is not available for suspension of monitoring data, als also there is no incident type or similar field to record as timeseries time series value in the FEWS database so in this case the "valueProperty" definition is not included, as timeseries time series value, "1" is recorded at the start of a suspension of monitoring event and "0" is recorded when the suspension of monitoring event ends.

...