Constructor.
the API helper to use
the filter(s) to find the ranges for; each filter must provide at least one node ID
OptionalauthBuilder: 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 ReadonlyapiThe URL helper instance to use.
Protected Optional ReadonlyauthAn 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
ProtectedrequestorCreate a URL fetch requestor.
The returned function can be passed to d3.queue or invoked directly.
the URL to request.
OptionalsignUrl: stringthe URL to sign (might be different to url if a proxy is used)
Optionaldelay: 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
rangesproperty 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