Description Usage Arguments Details Value Author(s) Examples

Computes the solar zenith and azimuth for a place on Earth for a given date and time.

1 | ```
solarPosition(jd, lon, lat, delta_t = 32.184, elev = 0, temp = 16, pres = 1013.25)
``` |

`jd` |
Julian day, with decimal fraction. |

`lon` |
Longitude, in decimal degrees. |

`lat` |
Latitude, in decimal degrees. |

`delta_t` |
Difference between the Earth rotation time and the Terestrial Time (TT), in seconds. |

`elev` |
Elevation, in meters. |

`temp` |
Temperature, in degrees Celsius. |

`pres` |
Pressure, in hPa. |

Solar zenith and azimuth angle are give in degrees, azimuth is measured eastward from north.

Matrix of solar zenith and azimuth angles.

Jasper Van doninck

1 2 3 4 5 6 7 8 | ```
##Julian day
jd <- julianDay(2003,10,17,12,30,30,tz=-7)
##Solar angles
solarPosition(jd,-105.1786,39.742476,delta_t=67,elev=1830.14,temp=11,pres=820)
``` |

```
zenith azimuth
[1,] 50.11162 194.3402
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.