exportHor: Exports a _skyscapeR.horizon_ object into _Stellarium_ format

Description Usage Arguments References See Also Examples

View source: R/horizon.R

Description

This function exports any skyscapeR.horizon object into the landscape format of Stellarium, ready to be imported.

Usage

1
exportHor(hor, name, author = "skyscapeR", description, ground_col, hor_col)

Arguments

hor

Horizon data in skyscapeR.horizon format.

name

Horizon name to be displayed in Stellarium, if different from one in skyscapeR.horizon object.

author

(Optional) Author, to be included in landscape.ini file.

description

(Optional) Description, to be included in landscape.ini file.

ground_col

Color of ground. Defaults to Stellarium's default.

hor_col

Color of horizon line. Defaults to Stellarium's default.

References

Stellarium: a free open source planetarium

See Also

createHor, downloadHWT, plot.skyscapeR.horizon

Examples

1
2
3
4
5
6
# Downloads horizon data from HeyWhatsThat and exports it into Stellarium:
## Not run: 
hor <- downloadHWT('HIFVTBGK')
exportHor(hor, name='Test', description='Test horizon export to Stellarium')

## End(Not run)

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