write_sun_coord: Write sun coordinates

View source: R/write_sun_coord.R

write_sun_coordR Documentation

Write sun coordinates

Description

Create a special file to interface with the HSP software.

Usage

write_sun_coord(sun_coord, path_to_HSP_project, img_name)

Arguments

sun_coord

Numeric vector of length two. Raster coordinates of the solar disk that can be obtained by calling to extract_sun_coord(). TIP: if the output of extrac_sun_coord() is sun_coord, then you should provide here this: sun_coord$row_col. See also row_col_from_zenith_azimuth() in case you want to provide values based on date and time of acquisition and the suncalc package.

path_to_HSP_project

Character vector of length one. Path to the HSP project folder. For instance, "C:/Users/johndoe/Documents/HSP/Projects/my_prj/".

img_name

Character vector of length one. For instance, "DSCN6342.pgm" or "DSCN6342". See details.

Details

Refer to the Details section of function write_sky_points().

Value

None. A file will be written in the HSP project folder.

See Also

Other HSP Functions: read_manual_input(), read_opt_sky_coef(), row_col_from_zenith_azimuth(), write_sky_points(), zenith_azimuth_from_row_col()


rcaiman documentation built on Nov. 15, 2023, 1:08 a.m.