New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Users/SetupNewConfiguration/cdo-interpolation (diff) – NEMO

Changes between Version 7 and Version 8 of Users/SetupNewConfiguration/cdo-interpolation


Ignore:
Timestamp:
2017-04-12T23:07:16+02:00 (7 years ago)
Author:
nicolasmartin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Users/SetupNewConfiguration/cdo-interpolation

    v7 v8  
    11= Interpolation with CDO 
    22 
    3 [[PageOutline(2)]] 
    4  
    53Last edition: '''[[Wikinfo(changed_ts)]]''' by '''[[Wikinfo(changed_by)]]''' 
    64 
     
    86 
    97To interpolate files you need to do 3 steps: 
    10 1. have good grid description file (if not you can create it, see instructions 1.) 
    11 2. prepare files to be interpolated 
    12 3. remapping on ORCA2 grid 
     8[[PageOutline(2,,inline)]] 
    139 
    1410NOTE: This script works with cdo version 1.4.0.1 
    1511 
    16 == 1) Prepare grid description file for the ORCA curvilinear grid 
     12== Prepare grid description file for the ORCA curvilinear grid 
    1713 
    1814You need to prepare a netCDF grid description file for the ORCA curvilinear grid.[[BR]] 
     
    6056}}} 
    6157 
    62 == 2) Prepare file to be interpolated 
     58== Prepare file to be interpolated 
    6359 
    6460For a curvilinear grid: 
     
    8076}}} 
    8177 
    82 == 3) Remapping on ORCA2 
     78== Remapping on ORCA2 
    8379 
    8480'''Generate weights with bilinear interpolation, and then remapping for a scalar field:'''   
     
    104100- and `bic_orca2_weights.nc` is a weight file generated (see below) 
    105101 
    106 == Example of `interpolation_loop.sh` script 
     102=== Example of `interpolation_loop.sh` script 
    107103 
    108104This script needs to have input directory in your execution's directory to copy *.nc files and it calls 4 others sub-scripts: `create_orca2.sh`, `prepare_mask.sh`, `bilweights.sh` and `bicweights.sh`