Hi, I have data on the cluster locations. with lat & log information and data on the fire location with lat & log information.
Part of each data is shown below.
I have to figure out the prevailing wind direction at the cluster location each day, and then count the number of fire events that happen on that day in the prevailing wind sector (defined as a 30 degrees circle around the prevailing wind direction).
Fires occurring in the prevailing wind sector, are called upwind fires, they have pollutants blowing from the fire location towards the residential location (cluster location). Non-upwind fires are those that occur in all other sectors.
This identification strategy is shown in the Figure attached.

How I can count the upwind and non-upwind fire locations Please


Array