ncFilesInfo: Parse the NetCDF files

Description Usage Arguments Value

View source: R/cdtNetCDF_dataSeries.R

Description

Parse all NetCDF data inside a directory according the provided filename format

Usage

1
2
ncFilesInfo(Tstep, start.date, end.date, months, ncDir, ncFileFormat,
  error.msg)

Arguments

Tstep

The time step of the NetCDF files. Valid options: 'daily', 'pentad', 'dekadal', 'monthly'.

start.date

An object of class Date indicating the start date to be parsed.

end.date

An object of class Date indicating the end date to be parsed.

months

An integer vector indicating the months to be parsed.

ncDir

The full path to the directory containing the NetCDF files.

ncFileFormat

Filename format of the NetCDF files.

error.msg

A message to be displayed when no files were found.

Value

A list of a character vector indicating the date, a character vector containing the full path name of the NetCDF files and a logical vector indicating if the file exists.


rijaf-iri/CDTMergingF documentation built on May 4, 2020, 9:05 p.m.