Skip to contents

Note: `in.path` and `in.prefix` together must identify exactly one file, or this function returns NULL. Further note that despite its name, `in.prefix` will match anywhere in the filename: met2CF.FACE("dir", "a", ...)` will find both `dir/a_b.nc` and `dir/b_a.nc`!

Usage

met2CF.FACE(
  in.path,
  in.prefix,
  outfolder,
  start_date,
  end_date,
  input.id,
  site,
  format,
  ...
)

Arguments

in.path

directory in which to find inputs (as `*.nc`)

in.prefix

pattern to match to select a file within `in.path`

outfolder

path to write output. Should contain the substring "FACE", which will be rewritten to "FACE_a" and "FACE_e" for the corresponding treatments.

start_date, end_date

ignored. Time is taken from the input files.

input.id

ignored

site

list[like]. Only components `lat` and `lon` (both in decimal degrees) are currently used

format

specification of variable names and units in the format returned by `PEcAn.DB::query.format.vars`

...

other arguments, currently ignored

Author

Elizabeth Cowdery