Skip to contents

Take an Ameriflux NetCDF file Fill missing met values using MDS approach using MPI-BGC REddyProc library Currently Future version: Choose which variables to gap fill Future version will first downscale and fill with NARR, then REddyProc

Usage

metgapfill(
  in.path,
  in.prefix,
  outfolder,
  start_date,
  end_date,
  lst = 0,
  overwrite = FALSE,
  verbose = FALSE,
  ...
)

Arguments

in.path

location on disk where inputs are stored

in.prefix

prefix of input and output files

outfolder

location on disk where outputs will be stored

start_date

the start date of the data to be downloaded (will only use the year part of the date)

end_date

the end date of the data to be downloaded (will only use the year part of the date)

lst

is timezone offset from UTC, if timezone is available in time:units attribute in file, it will use that, default is to assume UTC

overwrite

should existing files be overwritten

verbose

should the function be very verbose

...

further arguments, currently ignored

Author

Ankur Desai