extract_one_file: extract_one_file

Description Usage Arguments Details Value

View source: R/copernicus.R

Description

extract_one_file

Usage

1
extract_one_file(file_in, delete_source = TRUE)

Arguments

file_in

The name of an NC file from which to extract

delete_source

Boolean indicating whether to delete the file once the extract has completed

Details

This does little apart from converting the contents of an NC file into a data frame. Note that this object will likely be very large, on the order of more than one million rows.

If a column called 'time' exists in the data frame, it will be renamed 'cds_time'. This column name is expected in the function add_date_time().

Value

A tibble (data frame) of the contents


ResearchActuary/climatter documentation built on Aug. 9, 2020, 2:33 p.m.