Constructor.
the API helper to use
the filter(s) to find the ranges for; each filter must provide at least one node ID
Optional
authBuilder: AuthorizationV2Builderthe auth builder to authenticate requests with; if not provided then only public data can be queried; when provided a pre-signed key must be available
Protected
Readonly
apiThe URL helper instance to use.
Protected
Optional
Readonly
authAn authorization builder to use to make authenticated HTTP requests.
Asynchronously find the available datum range using a callback.
the callback function to invoke with the results
this object
Protected
requestorCreate a URL fetch requestor.
The returned function can be passed to d3.queue
or invoked directly.
the URL to request.
Optional
signUrl: stringthe URL to sign (might be different to url
if a proxy is used)
Optional
delay: numberan optional number of milliseconds to sleep before initiating the request
a function that accepts a callback argument
Class to find the available datum date range for a set of datum filters.
This is useful when generating reports or charts for a set of SolarNode datum streams, so the overall start/end dates can be determined before requesting the actual data. It returns an object starting and ending date related properties, for example:
Additionally a
ranges
property is provided with an array of each filter's raw range result, so you can see each result individually if you need that.Example
Example
Example