Hello, fellow geospatial enthusiast!
Script: https://code.earthengine.google.com/c...
In this video, I will show you how to extract values from rasters or image in Earth Engine and download it as CSV. I use stratified sampling to distribute how many pixels I remove from the image. The image I use is the Sentinel-2 surface reflectance medium composite in 2022, also adding spectral indices: NDVI, NDBI, and NDWI. For stratified sampling, as a band to distribute the sample, I use WorldCover land cover data. The output is a link on which you can download the CSV containing the values.
I hope that my video can help you with your research and analysis!
Good luck!