|
# Objective
|
|
# Smoothing
|
|
|
|
|
|
|
|
## Objective
|
|
|
|
|
|
This is a package containing bash and R code that produces smoother fields from original ones. This has been needed in the past to produce smoother restart fields when the ocean model couldn't cope with too strong gradients.
|
|
This is a package containing bash and R code that produces smoother fields from original ones. This has been needed in the past to produce smoother restart fields when the ocean model couldn't cope with too strong gradients.
|
|
|
|
|
|
* [[http://ic3.cat/wikicfu/index.php/Tools/Smoothing#Applying_smoothing_to_GLORYS_ocean_restart_files|Applying smoothing to GLORYS ocean restart files]]
|
|
* [[http://ic3.cat/wikicfu/index.php/Tools/Smoothing#Applying_smoothing_to_GLORYS_ocean_restart_files|Applying smoothing to GLORYS ocean restart files]]
|
|
|
|
|
|
|
|
|
|
# Description
|
|
## Description
|
|
|
|
|
|
## List of functions
|
|
### List of functions
|
|
|
|
|
|
* run_smoothing.bash
|
|
* run_smoothing.bash
|
|
* smooth_fields.R
|
|
* smooth_fields.R
|
|
* replace_variables.bash
|
|
* replace_variables.bash
|
|
|
|
|
|
|
|
|
|
## Requirements
|
|
### Requirements
|
|
|
|
|
|
# Use
|
|
## Use
|
|
|
|
|
|
The smoothing package consists of bash and R code that runs in the following order:
|
|
The smoothing package consists of bash and R code that runs in the following order:
|
|
|
|
|
... | @@ -34,7 +35,7 @@ If smoothing needs to be applied in a coastal region with a different orientatio |
... | @@ -34,7 +35,7 @@ If smoothing needs to be applied in a coastal region with a different orientatio |
|
|
|
|
|
3) *replace_variables.bash* replaces the fields in a file by the corresponding smoothed fields, obtained in step 2).
|
|
3) *replace_variables.bash* replaces the fields in a file by the corresponding smoothed fields, obtained in step 2).
|
|
|
|
|
|
## Instructions for running:
|
|
### Instructions for running:
|
|
|
|
|
|
For an ORCA1L46 setup, and two start-dates, the script has run on moore in an interactive queue specifying:
|
|
For an ORCA1L46 setup, and two start-dates, the script has run on moore in an interactive queue specifying:
|
|
``` bash
|
|
``` bash
|
... | | ... | |