read.hs6.shade: Read Heat Source 6 effective shade outputs.

View source: R/read.hs6.shade.R

read.hs6.shadeR Documentation

Read Heat Source 6 effective shade outputs.

Description

Read xlsm effective shade output from Heat Source version 6. Heat Source excel workbook needs to be saved as .xlsm. Workbooks in .xls do not seem to work.

Usage

read.hs6.shade(output_dir, file_name, sheet_name = "Effective Shade Data")

Arguments

output_dir

The path to the directory where the Heat Source 6 .xlsm model is located.

file_name

The file name of the .xlsm Heat Source 6 model. The ".xlsm" extension should be included in the file name.

sheet_name

The name of the output worksheet to read.

Details

Data is returned in wide format with the long distance used as the column name for all values. An "X" is added as a prefix to every long distance value to have syntactically valid column names. The datetime is the first column and is formatted in excel numeric date format.

This function is setup to read the "Effective Shade Data" worksheet.

Value

data frame


DEQrmichie/heatsourcetools documentation built on Jan. 25, 2025, 2:31 p.m.