Loads all CSV Files
(String)
contains the address of the csvFile
Array<Object>
:
The object fields are based on the
headings in the csv file.
Loads weather stations CSV Data Array into Array of Weather Stations
(DataArray)
contains the weather station location and
details.
Array<GlobalDataPoint>
:
A datastructure that maps a value
to a location.
Loads the weather station layer
(WorldWindow)
is the world window of the globe
(Array<DataLayer>)
is
an array containing the WMS Layers that needs to be loaded
Loads country CSV Data Array into Array of Countries
(DataArray)
DataArray that contains data of
where the countries are located (centre-based).
Array
:
temp is an array containing all
countries
Loads the country layer
(WorldWindow)
is the window to draw the things on.
(DataArray)
is
the data array containing where the flags need to be placed
DataLayer
:
an object containing the layer and other details
such as configuration of the layer
hardcoded link: loads appropriate geoJSON data
(string)
address where the geoJSON file is at.
Object
:
contains details of the country borders in object
format.
Generates the html for the weather search
(DataArray)
of data containing the country
codes to be loaded onto the HTML
Provides functionality to the weather button. (Hardcoded API Key)
Checks if the tab should be displayed. Also adds sensors to create readjusting graphs.
Lets the resizable tab to resizable
Gives functionality to the WMST buttons associated with the layers the part which lets the controls to be visible and turning on the the layer on and off
(number)
shows which layer is associated
(Layer)
The layer that will be toggled on and off
preloads WMST layers
(WorldWind)
worldwindow
(LayerManager)
layerManager from layerManager.js
(LayerPoint)
The layer itself with other details to display
(number)
the number of the layer
inserted for control purposes
WmtsLayer
:
The WMST Layer that has just been loaded
This function generates the HTML first then supplies functionality Given a layerName and its layernumber, generate a layer control block
Creates a legend for a layer given its name and number
(Object)
object representing what the wms layer
can do
String
:
contains the HTML to generate
Generates opacity control for a layer in HTML
(Number)
identifier to place layer
String
:
contains the HTML for opacity control
Gives layer opacity control given its name
Generates remove button for graphs
Generates time HTML control for specified layer
(String)
name of layer to give time control
(Number)
number id for layer
(Object)
WMS configuration for layer control
String
:
contains the HTML of the time control
Simply provides functionality to the time control button.
Searches for a layer given name and returns the layer object
(WorldWindow)
world window of the globe
(String)
name of layer to search for
Layer
:
the correct layer object, 0 otherwise
Refreshes the control or the functionality of the layerManager buttons every time it is called for wmts layers
(any)
String
:
Returns the HTML to be displayed
(any)
(any)
(any)
(DataArray)
the data to provide the HTML for
(string)
the code of the country for data search
(mode)
mode to determine what to display
(any)
(any)
(any)
(any)
(any)
(any)
(any)
(DataArray)
country location to determine what has been clicked
(Integer)
latitude of the click
(Integer)
longitide of the click
Gives funcitonality to the geoComparison tab
(any)
(any)
(any)
(any)
(DataArray)
data to be placed on the geo comparison
(Array)
array containing the geoJSONData of borderStyle
(WorldWindow)
WorldWind interface
(LayerManager)
layer manager to modify after creating borders
(any)
(any)
(DataArray)
array which acts a subgraph for the current
plot.
(String)
string containing the ID of the graph placement
The stack is the top X produced.
(any)
(any)
(any)
(DataArray)
data to be used
(String)
ID of the graph to be placed
(Integer)
amount of the top that is being looked at
Generates the html for geo location comparison
(any)
(DataArray)
titles to show what data can be displayed
Converts unixt time into a date
(any)
Loads CSV file in a different format (for FAO data)
Given a csv data array, convert the segment into objects
(any)
in the format of id, paramatertype, year1 value,
year2 value...
Creates columns for a geoJSON load
(any)
Displays the desired tab and hides the rest
(string)
, the name of the tab to show
Based on z-score get a colour Green means above mean, red means below, alpha is 1 by default
(any)
country's z score
(any)
{}
:
Given a set of gradients and country pairs, colorize the countries
(any)
country and value together
(any)
country borders
(any)
name of data type