Description Usage Arguments Value
(1) crop to year.range (2) purge years with gaps in the data longer than the cutoff length (3) interpolate across gaps <= the cutoff length (4) fill by average those days at the beginning and end of years with missing data (5) remove stations with less than min.years years of complete data
1 | ghcnCleaner(data.list, year.range, na.cutoff, min.years = length(year.range))
|
data.list |
a list of GHCN data sets |
year.range |
the intended years |
na.cutoff |
the maximum length of gaps, above which a dataset is excluded. |
min.years |
the minimum number of years a dataset must include, below which a dataset is excluded. |
a clean set of ghcn data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.