A = [0.123 0.234 0.562 0.665 ]
B = [0.125 0.225 0.575 0.675]
C = [-43.975 -43.925 -43.875 -43.825 -43.775 -43.725 -43.675]
I would like make array A look like array B. The satellite data I am working with has a 0.05 degree resolution so it's latitude and longitude values are numbered like in array C. So the numbers go up in increments of 0.05 but end in either 25 or 75 as in array C. I have numbers like in array A which I need to match with the grid of the satellite data. I need to round or transform my numbers as in array A to look like those in array B.
I've tried using round
and using math.ceil
but neither worked fully.