I have a feature collection (grids) and an image. Any ideas on how to filter only features that cover the image (only the unmasked part of the image which appears in the map layer)?
Here's the code: https://code.earthengine.google.com/16bfa4e762138a463bfe7bc3e2c738bd
var biome = ee.Image("OpenLandMap/PNV/PNV_BIOME-TYPE_BIOME00K_C/v01");
var tropical = biome.updateMask(biome.gte(1).and(biome.lte(3)));
var grid = american.coveringGrid('EPSG:4326', 500000);
Map.addLayer(grid);
Map.addLayer(tropical);
For example, I want to select features only in the red part.