This shows you the differences between two versions of the page.
tools:smoothing [2015/05/26 10:07] |
tools:smoothing [2015/05/26 10:07] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | |||
+ | |||
+ | |||
+ | ==== 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' | ||
+ | |||
+ | * [[http:// | ||
+ | |||
+ | |||
+ | ==== Description ==== | ||
+ | |||
+ | |||
+ | |||
+ | === List of functions === | ||
+ | |||
+ | |||
+ | * run_smoothing.bash | ||
+ | * smooth_fields.R | ||
+ | * replace_variables.bash | ||
+ | |||
+ | |||
+ | ==== Requirements ==== | ||
+ | |||
+ | |||
+ | |||
+ | ==== Use ==== | ||
+ | |||
+ | |||
+ | The smoothing package consists of bash and R code that runs in the following order: | ||
+ | |||
+ | 1) run_smoothing.bash | ||
+ | |||
+ | ---> 2) smooth_fields.R | ||
+ | |||
+ | ---> 3) replace_variables.bash | ||
+ | |||
+ | 1) The running parameters are set in the bash-script // | ||
+ | |||
+ | 2) // | ||
+ | |||
+ | [[important_note: | ||
+ | At this moment, the smoothing is implemented in **Loop A**, which corresponds to a coastal region with the continent on the west. | ||
+ | The smoothing is performed from the open ocean towards the coast, to bring smoother information into the smaller scales. | ||
+ | If smoothing needs to be applied in a coastal region with a different orientation, | ||
+ | (contact isabel.andreu-burillo (at) ic3.cat) | ||
+ | |||
+ | 3) // | ||
+ | |||
+ | [[instructions_for_running: | ||
+ | For an ORCA1L46 setup, and two start-dates, | ||
+ | |||
+ | |||
+ | ==== Repository ==== | ||
+ | |||
+ | |||
+ | The link to the GIT repository is https:// | ||
+ | |||
+ | |||
+ | ==== Contact ==== | ||
+ | |||
+ | |||
+ | The coordinator of this project is Domingo Manubens Gil < | ||
+ | |||
+ | Any issues, please contact the developer: | ||
+ | |||
+ | As a new user, please register to this mailing list: http:// | ||
+ | You'll then have access to the history of all the emails sent to the users and presenting the | ||
+ | functions and their available options. | ||
+ | |||
+ | |||
+ | ==== Development ==== | ||
+ | |||
+ | |||
+ | |||
+ | === Package structure === | ||
+ | |||
+ | |||
+ | |||
+ | === How to develop === | ||
+ | |||
+ | |||
+ | Download the repository folder to your computer ( git clone https:// | ||
+ | |||
+ | |||
+ | === Steps to add a new function to a package === | ||
+ | |||
+ | |||
+ | * Put the code of the function in a file. | ||
+ | * Make sure the code of the function follows the style rules (information below header, history, ...). | ||
+ | * Fill in the file with the function documentation. | ||
+ | |||
+ | |||
+ | ==== Style Guide ==== | ||
+ | |||
+ | You can check the style guide for the Smoothing package [[tools: | ||