-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Want to participate in subsequent development #7
Comments
Hi @dorbodwolf, |
|
Hello, |
Hi @samsammurphy and @dorbodwolf, Firstly I grouped the parts of the code Maybe this could inspire us or maybe not. PD: I checked over your repo |
Hi @CristianICS Congratulations on adapting the code for your use case. It sounds like you calculated all of the relevant atmospheric parameters in advanced then sent them over to GEE. Cool idea! A concern is that it will start to take a long time if there are a lot of images (as you mentioned). However maybe someone processing 100 images doesn't mind waiting 200 seconds*. if it is a one off project (e.g. a scientific study)? * It took me around 2 seconds to execute a single run of 6S (the radiative transfer code used in this solution. |
That's right. First I defined the functions that allows the surface correction (
At the end, I filtered the Sentinel-2 collection and applied the function As the VIS-NIR image's bands was corrected separately, it took me around 5-7 seconds per image* (plus a high time lapse between the correction of the image and his addition to the asset). In discussions with teachers and students, I have realized that this code is a good choice for studies/applications that must have done quickly atmospheric corrections of GEE Sentinel-2 images prior to 28th March (only in TOA reflectance) in small/medium areas. In my thesis I figured out that differences between original BOA VIS-NIR bands in GEE (corrected with ESA tools) and 6S corrected bands was only 0.02 per one reflectance. In addition, some teachers showed interest in applied this code and 6S transformations in GIS lessons. I attach a copy of the code (switch the extension by .py). As I mentioned, my code skills are low and maybe there are some errors. * The images were clipped by 100.000 ha area. |
Hi @samsammurphy, I have rewritting the last attach process with @diegoalarc and we have integrated the proccess in the Here is the new atmospheric.py (again, switch the extension by .py) and we hope you can use this to embedded in yours |
Want to participate in subsequent development, anyone want to be together?
The text was updated successfully, but these errors were encountered: