createHWT {skyscapeR} | R Documentation |
Create and download horizon data from HeyWhatsThat
Description
This function send a data request to HeyWhatsThat, for the creation of a horizon profile for a give Lat/Lon and elevation. It then downloads the data and saves it as a skyscapeR.horizon object.
Usage
createHWT(lat, lon, elevation = 1.6, name, src = "skyscapeR", verbose = T)
Arguments
lat |
The latitude of the location. |
lon |
The longitude of the location. |
elevation |
(Optional) The elevation of the observer above ground level in meters. Default is 1.6 meters (eye level). |
name |
(Optional) Name for horizon. |
src |
(Optional) Request source ID for HeyWhatsThat. Default is 'skyscapeR'. Only change this if you have been given a source ID by the creator of HeyWhatsThat. |
verbose |
(Optional) Boolean switch to control output. Default is TRUE. |
References
See Also
Examples
## Not run:
# Create and retrieve horizon data for the London Mithraeum:
hor <- createHWT(lat=ten(51,30,45), lon=ten(0,5,26.1), name='London Mithraeum')
## End(Not run)
[Package skyscapeR version 1.0.0 Index]