how can I adjust the tolerance or script to account for the hard turns with the wind radii and wind forecast graphic? I want it to get rid of the extra space when there is a turn see below picture:

how can I adjust the tolerance or script to account for the hard turns with the wind radii and wind forecast graphic? I want it to get rid of the extra space when there is a turn see below picture:
