API Docs for: 0.0.1
Show:

Position Class

Defined in: lib/position.js:29
Module: niviz

Comprises the geo-coordinates of a station.

Constructor

Position

()

Defined in lib/position.js:29

Item Index

Methods

Methods

angle_to_dir

(
  • angle
)
String static

Defined in lib/position.js:243

Convert angle to direction

Parameters:

Returns:

String:

intercardinal or cardinal direction

clone

() Position

Defined in lib/position.js:537

Clone current object

Returns:

dir_to_angle

(
  • intercardinal
)
Number static

Defined in lib/position.js:220

Convert direction to angle

Parameters:

  • intercardinal String

    or cardinal direction

Returns:

Number:

Angle [0; 360]

getUTMZone

(
  • i_latitude
  • i_longitude
)
String static

Defined in lib/position.js:329

This routine determines the correct UTM letter designator for the given latitudeāŠ UTM limits its coverage to [80S , 84N], outside of this, returns Y/Z/A/B for the zone Copied from MeteoIO: dataClasses/CoordsAlgorithms.cc

Parameters:

Returns:

String:

concat zone number + zone letter

Properties

altitude

Number

Defined in lib/position.js:52

angle

Number

Defined in lib/position.js:67

Slope angle.

azimuth

Number

Defined in lib/position.js:74

Slope azimuth.

direction

String

Defined in lib/position.js:154

Get the exposition of a location.

directions

Array static

Defined in lib/position.js:82

imagesrc

String

Defined in lib/position.js:143

Get imagesrc url for the current location.

latitude

Number

Defined in lib/position.js:42

longitude

Number

Defined in lib/position.js:47

uom

String

Defined in lib/position.js:36

x

Number

Defined in lib/position.js:57

y

Number

Defined in lib/position.js:62