FunctionsΒΆ

SDCat.CoveragePlot.display()

Populates and displays the plot. In most cases, this is the only function you will ever need to run.

SDCat.CoveragePlot.convertToCataloguePlotData(temporal)

Converts the coverage objects returned from the SDCat API into the format required by the CataloguePlot.

temporal

(Array) - Array of coverage objects to convert to CataloguePlot format.

SDCat.CoveragePlot.createLegend(plot)

Returns the HTML code to display the legend that will appear above the plot. This is used as the contentFunction for the CoveragePlot object’s legend.

plot

(CoveragePlot) - The underlying CoveragePlot object.

SDCat.CoveragePlot.jsTimestampTo2HourBlock(timestamp)

Converts a Javascript timestamp to the nearest SuperDARN 2-hour block.

timestamp

(Number) - Number of milliseconds since the UNIX epoch.

Previous topic

Attributes

This Page