I have a variable that is a function that returns an image collection of the monthly mode from google's dynamic world. This works great.
I'm attempting to use this while mapping over a feature collection. It works but the image collections returned appears to be empty. Image collection of unknown elements.
In the above code I'm printing out the initial variable then my attempt at mapping over the feature collection. I want to get the initial output for each feature in the feature collection.
Where am I going wrong?
In the example I have 3 features. Each feature should have 12 images (1 for each month). I can flatten the output and I do correctly get 36 images that appear as they should. I can add a property that associates each image with the feature using the feature id then later filter by that property. This works https://code.earthengine.google.com/a28fe8fb412d738605c4d4d13208bcee