Skip to content
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

Spectra WV2 images in RB change abruptly in 2018 #49

Open
7yl4r opened this issue Oct 19, 2023 · 0 comments
Open

Spectra WV2 images in RB change abruptly in 2018 #49

7yl4r opened this issue Oct 19, 2023 · 0 comments

Comments

@7yl4r
Copy link
Member

7yl4r commented Oct 19, 2023

Looking at a time-series extraction of some land-cover points, some temporal features can be easily seen:

image

Looking specifically at the "mud flats" (lower time-series plot), we can inspect the two images nearest to the sudden decrease in multiple bands seen around the 2018 mark:

image

image

In these screenshots:

  • right, top, older (2017-06-25)
  • left, bottom, newer (2018-01-06)

The difference between these true-color views is huge.
The max shown on each histogram x-axis is approximately the same (around .06).
I cannot explain the difference.

Scaling?

Associated with each image is a set of ABSCALFACTOR_BAND_* properties for each band.
These images should have been scaled prior to the upload by processing done on CIRCE, however, we can try applying the scale factor in GEE to check.
The following is a mapping between band layer names in the images and ABSCALFACTOR names:

  var bandNameMap = {
    b1: "ABSCALFACTOR_BAND_C",  // CA
    b2: "ABSCALFACTOR_BAND_B",  // Blue
    b3: "ABSCALFACTOR_BAND_G",  // Green
    b4: "ABSCALFACTOR_BAND_Y",  // Yellow
    b5: "ABSCALFACTOR_BAND_R",  // Red
    b6: "ABSCALFACTOR_BAND_RE", // Red Edge
    b7: "ABSCALFACTOR_BAND_N",  // NIR
    b8: "ABSCALFACTOR_BAND_N2", // NIR2
  };
  var bandNameMap = {
    b8: "ABSCALFACTOR_BAND_C",  // CA
    b7: "ABSCALFACTOR_BAND_B",  // Blue
    b6: "ABSCALFACTOR_BAND_G",  // Green
    b5: "ABSCALFACTOR_BAND_Y",  // Yellow
    b4: "ABSCALFACTOR_BAND_R",  // Red
    b3: "ABSCALFACTOR_BAND_RE", // Red Edge
    b2: "ABSCALFACTOR_BAND_N",  // NIR
    b1: "ABSCALFACTOR_BAND_N2", // NIR2
  };

After trying either scaling map above on the images major differences between the images remain, and the color get all messed up.
This implies that the scaling has already been done as expected.

Code being used to generate these views is here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant