gee-community / geetools

A collection of tools to work with Google Earth Engine Python API
https://geetools.readthedocs.io/en/stable/
MIT License
530 stars 122 forks source link

Update to QA pixel for Landsat collection 2 #149

Open andrewcharles opened 11 months ago

andrewcharles commented 11 months ago

Hi, just letting you know that I updated the QA bitmask for Landsat collection 2 on GEE. It's in a fork of the repo at: https://github.com/andrewcharles/gee_tools/commit/cb4b7763d504c4dd561107983520e9bc8fde72d5

Given you're refactoring I figured you might already be onto these sort of changes but I'm happy to make a pull request if the team think this is a useful change.

12rambau commented 11 months ago

Hi @andrewcharles, if you look at the current state of v1 (I need to make a pre-release but didn't find the time yet) you will see that I decided to rely on ee_extra for all the pre-processing steps of the Image/ImageCollection. Specifically cloud mask is performed here:

https://github.com/gee-community/gee_tools/blob/6337ae98dfa77a743508513b88b20244c3a3bca2/geetools/Image/__init__.py#L1135

If what you're adding is already supported in ee_extra then we are good to go, if not I think you should go directly to their repository and discuss with them:

https://github.com/r-earthengine/ee_extra

andrewcharles commented 11 months ago

I might have time to take a look the week after next. The pull request is sitting there, if it turns out it replicates what's already supported by ee_extra I'll withdraw it. Cheers.