Open m-burgoyne opened 2 years ago
EDR API SWG 75 clarified that this aggregation
is not 'regridding', which could be another enhancement, but a summary aggregation
.
Discussion at EDR API SWG76 clarified that the summary is for the full domain, and should specifically exclude sub-selection in the domain. Name of issue needs improving.
@dblodgett-usgs @chris-little @m-burgoyne -- Probably need to define the boundary when a process service would come into play versus extending EDR capabilities.
@solson-nws Requiring data from more than one collection is definitely out of scope for summary aggregation, and in scope for API-Processes. E.g. picking out a max value versus combining wind components (u,v) to get speed and direction (ff,ddd).
n
has to be supplied. Of course, the service could pre-calculate and provide the 95th percentile
without defining the other 98.EDR API SWG 81 encourages implementaters to develop a proof-of-concept to explore the feasibility of the proposal.
the API-Coverages are interested in summary stats
A common use case for the data returned by EDR query will be to generate a summary value from the data for the area and time of interest, adding optional support for basic data aggregation methods could improve performance for services by reducing the volume of data that is returned by queries.
The could be achieved by adding optional support for new query parameters to describe the methods and the axes to calculate across.
The proposal is to add functionlity to allow an EDR service advertise aggregation functionality (if it supports it), and for any support to be defined at an individual query type level.
This information could be added at the DataQuery metadata for collections in a service that supports data aggregation, by adding a new property that listed the available methods and valid axis combintions
An example of the suggested metadata description can be seen below:
The
agg_method
property contains a list of the supported aggregation methods with descriptions and theagg_axis
property contains a list of the valid axis combinations for the query with descriptions.A client application could then specify the required aggregation in the query by adding
agg_method
andagg_axis
query parameters.for example: