Detect timestep of JULES met files

detect.timestep(met.dir, met.regexp, start_date)

Arguments

met.dir

path to directory containing met files

met.regexp

pattern to match to find a met file in met.dir. If more than one file matches, only the first will be used.

start_date

When in file to start checking deltas. Not used if timestep can be detected from the CDF header.

Value

a difftime object