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
2
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

Colour of ground. Defaults to Stellarium's default.

hor_col

Colour 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
# Downloads horizon data from HeyWhatsThat and exports it into Stellarium:
hor <- downloadHWT('HIFVTBGK')
exportHor(hor, name='Test', description='Test horizon export to Stellarium')

f-silva-archaeo/skyscapeR documentation built on Jan. 15, 2019, 3:22 a.m.