wiki:IPSLCM6/Coupling/BugBilinear

Version 3 (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. Two NEMO points around 0°N/180°W takes there wind stress values from LMDZ points around 0°N/0°E, and the weights, base on the distance between the source and destination points, are totally wrong..

The bilinear interpolation of OASIS-MCT compute weights and adresses that are written in a file : rmp_tlmd_to_uorc_BILINEAR.nc, rmp_tlmd_to_torc_BILINEAR.nc or rmp_tlmd_to_torc_BILINEAR.nc.

A python program has been developed. It makes a few corrections of adresses and weights in a comy of the file.

The program will be available soon.

Attachments (1)

Download all attachments as: .zip