radtran_solar_zenith: Calculate solar zenith angle

View source: R/radtran_solar_zenith.R

radtran_solar_zenithR Documentation

Calculate solar zenith angle

Description

Calculate solar zenith angle for a latitude and longitude based on position, date, time, and timezone. From the function fishmethods::astrocalc4r.

Usage

radtran_solar_zenith(lat, lon, day, month, year, hour, timezone)

Arguments

lat

Latitude in decimal degrees.

lon

Longitude in decimal degrees.

day

Day of month. Integer.

month

Month. Integer.

year

Year. Numeric.

hour

Hour (decimal hour). Numeric.

timezone

Local time relative to GMT (Alaska Daylight Time is -8, i.e., GMT-8)

Value

Returns a numeric vector of solar zenith angle (degrees).


sean-rohan/trawllight documentation built on Jan. 13, 2023, 10:43 p.m.