'Avoid interpolating over constraints

Hi I am in the process of interpolating data, but the data from N. America, for example, affect the data from Europe (see figure). I have found out that I must add constraints to the data so that the individual regions, e.g. Europe or N. America, do not interact with each other. I wanted to ask how to get to these constraints of the individual regions worldwide.

The data I use are stored in a CSV file.

Result:enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source