Description Usage Arguments Details Value Examples
View source: R/makeAccelerationFile.R
Make a depth-dependent tracer acceleration input file for POP2. This file, can then be used as input for the startd CESM tracer acceleration
1 | makeAccelerationFile(supDF=NULL, fname=NULL)
|
supDF |
|
fname |
CHARACTER, variable name |
The function creates a smoothed depth-dependent acceleration
file. Factors further than the depth bounds indicated in supDF
,
take the corresponding bound acceleration factors.
Default values is approaches the profile evaluated in Danabasoglu
(2004). Note that Danabasoglu (2004) indicates that it is better to do
a momentum-based acceleration in CESM than depth-dependent acceleration.
An ASCII file with an acceleration factor for each of the 60 ocean model layers in CESM-POP2.
1 2 3 | supDF <- data.frame(z=c(0,1000,2000,3000,4000,5500),
a=c(1,1, 5, 10, 20 ,20))
acc <- makeAccelerationFile(supDF)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.