calc_overlapping_time: Routine to calculate overlapping time periods in two files.

View source: R/calc_overlapping_time.R

calc_overlapping_timeR Documentation

Routine to calculate overlapping time periods in two files.

Description

Designed for CMSAF Toolbox.

Usage

calc_overlapping_time(
  var1,
  infile1,
  var2 = NULL,
  infile2,
  nc1 = NULL,
  nc2 = NULL
)

Arguments

var1

Name of NetCDF variable of the first data set (character).

infile1

Filename of first input NetCDF file. This may include the directory (character).

var2

Name of NetCDF variable of the second data set (character).

infile2

Filename of second input NetCDF file. This may include the directory (character). Also supported formats for station data are .csv and .RData files.

nc1

Alternatively to infile1 you can specify the input as an object of class ncdf4 (as returned from ncdf4::nc_open).

nc2

Alternatively to infile2 you can specify the input as an object of class ncdf4 (as returned from ncdf4::nc_open).

Value

Start date and end date are the result (list).


cmsafops documentation built on Sept. 18, 2023, 5:16 p.m.