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

Add support for displaying spectral signature interactively #12

Merged
merged 10 commits into from
Apr 22, 2024
Merged

Conversation

giswqs
Copy link
Member

@giswqs giswqs commented Apr 21, 2024

Step 1: Getting lat/lon from mouse clicking position.
image

Copy link

github-actions bot commented Apr 21, 2024

@github-actions github-actions bot temporarily deployed to pull request April 21, 2024 03:31 Inactive
@giswqs
Copy link
Member Author

giswqs commented Apr 21, 2024

A working prototype

import hypercoast
m = hypercoast.Map()
m.add_basemap('SATELLITE')
fp = "data/EMIT_L2A_RFL_001_20220903T163129_2224611_012.nc"
m.add_emit(fp, wavelengths=[500, 600, 1000], indexes=[3, 2, 1], layer_name="EMIT")
m.add("spectral")
m
spectral.mp4

@github-actions github-actions bot temporarily deployed to pull request April 21, 2024 04:05 Inactive
@github-actions github-actions bot temporarily deployed to pull request April 21, 2024 04:35 Inactive
@github-actions github-actions bot temporarily deployed to pull request April 21, 2024 05:00 Inactive
@github-actions github-actions bot temporarily deployed to pull request April 21, 2024 05:09 Inactive
@github-actions github-actions bot temporarily deployed to pull request April 21, 2024 20:09 Inactive
@github-actions github-actions bot temporarily deployed to pull request April 21, 2024 20:33 Inactive
@giswqs
Copy link
Member Author

giswqs commented Apr 22, 2024

Creating spectral signatures interactively and save data to a CSV file.

spectral.mp4

@github-actions github-actions bot temporarily deployed to pull request April 22, 2024 02:02 Inactive
@github-actions github-actions bot temporarily deployed to pull request April 22, 2024 02:28 Inactive
@github-actions github-actions bot temporarily deployed to pull request April 22, 2024 02:40 Inactive
@giswqs giswqs merged commit 6195a20 into main Apr 22, 2024
10 checks passed
@giswqs giswqs deleted the spectral branch April 22, 2024 02:45
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

Successfully merging this pull request may close these issues.

1 participant