Description Usage Arguments Output Files Beware
Concatenate the individual projection files calculated through separate calls
to build.projections
into a single file, removing duplicates along the
way.
1 2 | combine.locs(defaults, comments = character(), output.type = "linear",
lat_vec = numeric(), lon_vec = numeric())
|
defaults |
the output from |
comments |
if desired, a 'comments' global attribute will be added to the NetCDF file, with the string input to this option as the body |
output.type |
how the time series is exported into the netcdf file; either "linear" (default), as an [idx x time] array, or "grid," as a [lon x lat x time] array |
lat_vec, lon_vec |
if |
The file is saved as both an .RData file and a NetCDF file. The final output
in the NetCDF file is a [loc x time]
array (variable name
[defaults$filevar]
), with variables lat
and lon
being
[loc x 1]
vectors giving the location. The file also includes a variable
base_idx
giving, for each projected day, the linear index in the
original base data that was used as the base day for the projection.
Files are searched for in the directory code[base.data.dir]/output, with
[base.data.dir]
set by defaults
. As a result, this code depends
on the desired temporary files being the only files in that directory with
the filename pattern searched for (from the file.list
variable in the
code).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.