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

Read x-axis info from SCP-generated virtual rasters #28

Open
jgrn307 opened this issue Jun 29, 2023 · 1 comment
Open

Read x-axis info from SCP-generated virtual rasters #28

jgrn307 opened this issue Jun 29, 2023 · 1 comment

Comments

@jgrn307
Copy link

jgrn307 commented Jun 29, 2023

Hi there! An important feature using your tool for RS work is proper x-axis settings, particularly wavelength settings. I have two questions/requests:

  1. Is there a way to assign x-axis values to the band numbers in a raster stack "manually" somehow?
  2. Would you consider reading the semi-automated classification plugin's (https://github.com/semiautomaticgit/SemiAutomaticClassificationPlugin) x-axis info that are created when you create a band-set? SCP correctly reads e.g. Landsat/Sentinel/MODIS band info and assigns the layers the correct wavelengths, but your tool doesn't read that info when doing the plot. I'm attaching a screen shot of a Sentinel-2 band set with the wavelength info to this request.

scp_bandsat_with_wavelengths

Ideally, we'd like to be able to create a bandset with SCP, then use your profile tool to click various pixels and see the spectral signatures with the proper x-axis defined from the bandset.

Cheers!

@radosuav
Copy link
Contributor

radosuav commented Jul 3, 2023

Hi,
The solution to your first question should already be there. If you go to the "Settings" tab and under the "X-axis steps" section select "From string" from the drop-down list then you should be able type in a semicolon separated list of band numbers or wavelengths.
image

Regarding the second question, if SCP saves the wavelenghts in a text file with semicolon separated list then you can load it with the "Load from file" button.

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

No branches or pull requests

2 participants