template | R Documentation |
Create templates of code (r-scripts and bash job-submission script) to read, post-process and evaluate model results.
template(
root,
template = "WRF",
case = "case",
env = "rspatial",
scheduler = "SBATCH",
partition = "main",
project = "PROJECT",
verbose = TRUE
)
root |
directory to create the template |
template |
template type (see notes) |
case |
case to be evaluated |
env |
name of the conda environment |
scheduler |
job scheduler used (SBATCH or PBS) |
partition |
partition name |
project |
project name |
verbose |
display additional information |
no value returned, create folders and other template scripts
Templates types available:
- WRF (model post-process for METAR + INMET)
- WRF-3 (model post-process for METAR + INMET for triple nested domains)
- WRF-Chem (model post-process for METAR, AQS in Brazil and AERONET)
- EXP (model post-process for one experimental site including PBL variables)
- CAMx (post-process for triple tested domains)
- METAR (download METAR observations from ASOS)
- MET (evaluation of meteorology)
- MET-3 (evaluation of meteorology for triple nested domains)
- AQ (evaluation of air quality)
- PSA (model post-processing with CDO for satellite evaluation)
- SAT (evaluation of precipitation using GPCP satellite)
- AQS_BR (download data from air quality stations at Sao Paulo and Rio de Janeiro)
- INMET (pre-processing of automatic and conventional meteorological data from INMET)
- merge (merge INMET data and merge METAR data)
temp <- file.path(tempdir(),"POST")
template(root = temp,template = 'WRF', case = 'WRF-only')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.