-
Notifications
You must be signed in to change notification settings - Fork 7
Ensure GeoMAD band names match the band name of C3 Landsat data. #51
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
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #51 +/- ##
========================================
Coverage 62.41% 62.41%
========================================
Files 21 21
Lines 1998 1998
========================================
Hits 1247 1247
Misses 751 751
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thanks @tebadi! I imagine the band aliases themselves can be updated somewhere downstream/not in stats?
(in case we wanted to add the old names as aliases to match C3 Landsat)
|
Yes, that will be changed in the product definitions Robbi. |
|
I don't think we need do this? We can just add aliases in the product definition as ARD products have been doing. |
This is fixing it at the source instead of fixing it downstream. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If that’s the argument, then the input bands name should be fixed rather than hard mapping here. It was to take input band name as the output band name. The reason that we have seemingly different band names than what you preferred is because it loaded the bands by one of many aliases provided by ard. If it only loads the other aliases you like, it’ll give you the preferred band names.
Besides, this hard mapping is so fragile, slightly change on inputs bands name will render the whole thing broken, the same example that the input bands aliases change.
I'd like fixing the band names to the preferred/output band names as opposed to adding alias here. It's more readable and achieves what we need for consistency between ARD and GeoMAD spectral bands. Done. |
Add missing libxslt.so.1 to OS
Currently the GeoMAD SR band names differ from Collection 3 NBART product. The issue was reported by Robbie :
where left is C3 Landsat band names and right is the current GeoMAD.
This fix is addressing the inconsistency issue.