wiki:IPSLCM6/Coupling/BugBilinear

Version 1 (modified by omamce, 7 years ago) (diff)

--

Bug on linear interpolation

Normally, the wind stress is interpolated with the bilinear interpolation scheme of the Script library included in OASIS-MCT.

In IPSLCM6 at resolution ORCA1 x LMD 144x144, the bilinear interpolation of the wind stress is bugged. A solution has been developed.

# This program overcomes an interpolation bug in Scrip, uses by OASIS-MCT # # In IPSLCM6 at resolution ORCA1 x LMD 144x144, the bilinear interpolation of the wind stress is bugged. # Two NEMO points around 0°N/180°W takes there wind stress values from points at 0°N/0°E. # # The bilinear interpolation compute weights and adresses that are written in a file : # rmp_tlmd_to_torc_BILINEAR_ComputedByOasis.nc. # The program copies the file to rmp_tlmd_to_torc_BILINEAR_Corrected.nc and makes a # few corrections of adresses and weigths.

Attachments (1)

Download all attachments as: .zip