Description Usage Arguments Details Value Examples
summary_database()
scan the directory specified and returns a
data.table()
containing summary information about all the CMIP6
files available against the output file index loaded using
load_cmip6_index()
.
1 2 3 4 5 6 7 8 9 10 |
dir |
A single string indcating the directory where CMIP6 model output NetCDF files are stored. |
by |
The grouping column to summary the database status. Should be a subeset of:
|
mult |
Actions when multiple files match a same case in the CMIP6
index. If |
append |
If |
recursive |
If |
update |
If |
warning |
If |
summary_database()
uses future.apply
underneath. You can use your preferable future backend to
speed up data extraction in parallel. By default, summary_database()
uses
future::sequential
backend, which runs things in sequential.
A data.table::data.table()
containing corresponding grouping
columns plus:
Column | Type | Description |
datetime_start | POSIXct | Start date and time of simulation |
datetime_end | POSIXct | End date and time of simulation |
file_num | Integer | Total number of file per group |
file_size | Units (Mbytes) | Approximate total size of file |
dl_num | Integer | Total number of file downloaded |
dl_percent | Units (%) | Total percentage of file downloaded |
dl_size | Units (Mbytes) | Total size of file downloaded |
Also an attribute not_matched
is added to the returned
data.table::data.table()
which contains meta data for those CMIP6 output
files that are not covered by current CMIP6 output file index.
For the meaning of grouping columns, see init_cmip6_index()
.
1 2 3 4 5 6 | ## Not run:
summary_database()
summary_database(by = "experiment")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.