I removed trend of each point in grid and for each day of year for example 1-June of 10 years and my code is
for i in ds.longitude.values: for j in ds.lat