createHWT: Create and download horizon data from _HeyWhatsThat_

Description Usage Arguments References See Also Examples

View source: R/horizon.R

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

1
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

HeyWhatsThat.com

See Also

downloadHWT

Examples

1
2
3
4
5
## 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)

skyscapeR documentation built on Oct. 30, 2021, 1:06 a.m.