Reads all three daily input variables (sf, tair, and pn) for a single year from a CSV file that includes a header.

read_csv(fname, y = -1)

Arguments

fname

String, file name.

y

Numeric, year.

Value

List with the following properties:

$file_name

File name.

$sf

Sunshine fraction.

$tair

Air temperature.

$pn

Precipitation.

$num_lines

Number of data points.

$year

Year of data.