clim_stats_ar5.Rd
Compute climate statistics from spatial probability distributions.
clim_stats_ar5(type = "monthly", in_dir, out_dir, region_group, mc.cores = 32)
type | character, |
---|---|
in_dir | input directory, e.g. |
out_dir | output directory, e.g. one of the |
region_group | character, optional, to split into smaller file batches. See details. |
mc.cores | number of CPUs when processing years in parallel. Defaults to 32 assuming Atlas compute node context. |
For efficiency, this function operates on outputs from clim_dist_monthly
and clim_dist_seasonal
.
It does not need to redundantly access source downscaled geotiffs. This function is specific to AR5 outputs in the current implementation.
The example in_dir
and out_dir
shown are assumed if these arguments are missing.
This is for convenience and they will adjust automatically based on type
.
If providing alternate directories, make sure to specify in accordance with your type
.
Use region_group
to optionally specify a region group file identifier.
This will be used for pattern matching when listing files inside in_dir
.
This is helpful when there are many files, such that there could be RAM or time limitations.
# NOT RUN { clim_stats_ar5(type = "monthly") clim_stats_ar5(type = "seasonal") # }