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

Data Library Explorer Jupyter Widget #96

Open
wants to merge 10 commits into
base: models-update
Choose a base branch
from

Conversation

annehaley
Copy link
Collaborator

@annehaley annehaley commented Jan 15, 2025

This PR adds a top-level folder, jupyter, containing the implementation of a basic Jupyter widget and an example notebook demonstrating usage. For authentication, this PR also changes server configuration to allow token authentication via request headers (for basic python requests) and via url parameters (for ipyleaflet layers).

The Jupyter widget allows a user to specify credentials for a UVDAT session, then load a list of available Datasets. Each Dataset item in the list can be expanded to view available Layers for that Dataset. When a Layer item is selected, a map display will appear. If the Layer has multiple frames, a basic frame slider widget will appear as well. The map can display both raster and vector data, but no styling will be applied.

This widget is compatible with the server implementation in #94, allowing us to review data while the web interface is not yet updated. This Jupyter integration may also be useful for users in the future, so we may continue to add features to this widget.

The screenshot below shows the basic usage of the widget, including comments that demonstrate possible arguments to the constructor.
image

The following screenshot shows how the widget appears after the Dataset list has been loaded and a Layer has been selected:
image

@annehaley annehaley changed the base branch from master to models-update January 15, 2025 19:58
@annehaley annehaley requested a review from jjnesbitt January 15, 2025 20:02
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