when using biliner interpolation the data along the coast are missing
Added by AKHIL VARGHESE over 1 year ago
Dear Team,
I want to perform bilinear interpolation for ERA5 SWH data with a resolution of 0.5*0.5, by considering the ERA5 atmospheric data (0.25*0.25) as the reference. But when I use the code
cdo -remapbil,2M_temp.txt era5_swh.nc outfile.nc.
I got the output file with interpolation performed only on the open ocean and the coastal ocean data are missing.
Thanks and regards,
Akhil
Era5_SWH.nc (75.3 KB) Era5_SWH.nc | the significant wave height (SWH) data | ||
2m_temp.nc (290 KB) 2m_temp.nc | the atmospheric data of 2m temperature | ||
2M_temp.txt (294 Bytes) 2M_temp.txt | the grid info of the 2m temp file to perform the interpolation |
Replies (1)
RE: when using biliner interpolation the data along the coast are missing - Added by Uwe Schulzweida over 1 year ago
This is exactly how bilinear interpolation works. Only grid points that have a right, left, upper and lower neighbor are considered. Try it with conservative remapping (remapcon), which is perhaps more what you expect.