Learn R Programming

solaR (version 0.46)

D_getLat-methods: Methods for Function getLat

Description

Latitude angle of solaR objects.

Usage

getLat(object, units='rad')

Arguments

object

A Sol or Meteo object (or extended.)

units

A character, 'rad' or 'deg'.

Methods

This function returns the latitude angle in radians (units='rad', default) or degrees (units='deg').

signature(object = "Meteo")

Value of the latData slot, which is defined by the argument lat of the readG0dm and readBD functions, or by the lat component of the dataRad object passed to calcG0 (or equivalent) . It is the latitude of the meteorological station (or equivalent) which provided the irradiation source data. It may be different from the value used for the calculation procedure.

signature(object = "Sol")

Value of the lat slot, which is defined by the argument lat of the calcSol function. It is the value used through the calculation procedure.

signature(object = "G0")

same as for the Sol class.