Calculates relative optical air mass. Returns NA for negative values.

trans_air_mass_rel(...)

# S3 method for numeric
trans_air_mass_rel(sol_elevation, ...)

# S3 method for weather_station
trans_air_mass_rel(weather_station, ...)

Arguments

...

Additional parameters passed to later functions.

sol_elevation

Solar elevation in degrees.

weather_station

Object of class weather_station

Value

Relative optical air mass.