For a specific size of area (e.g. 1km squared), I want to apply formulas to a feature collection.
These formulas aren't included in the reducers available. For example, I want to get the circular mean and circular variance of the angles of the edges of polygons in each 1km squared, while reducers just include regular mean and variance.
Is there any way for me to make my own reducer? Or to achieve this some other way?
For context: Here is the code I use to apply the formulas to a specific area https://code.earthengine.google.com/6600a883f18100443ca33635f4c3e71d, now I want to generalize that area to each 1km squared in a region.