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

Visualize velocity data (e.g. wind) as streamlines and particles #607

Open
wants to merge 11 commits into
base: development
Choose a base branch
from

Conversation

jtroberts
Copy link
Member

Purpose

  • Ability to visualize velocity data (geojson, gribjson, or geotiff) as streamlines or particles.

Proposed Changes

  • Adds support for new "velocity" layer type that may be visualized as streamlines or particles (with placeholders to fully support arrows and wind barbs in the future).
  • Supports reading velocity data as geojson, gribjson (streamlines only), or geotiff (arrows only).
  • Velocity visualizations may be configured as desired in the configure tool. Streamlines use the leaflet-velocity library while particles use leaflet-rain.
  • Incorporates js-colormaps for selecting color ramps for velocity visualizations.

Issues

Testing

  • Configured multiple wind datasets from weather models (ECMWF, GFS, and HRRR) and NASA products (ASCAT and OSCAR ocean currents) and visualized as streamlines and particles.
  • Tested all new configuration options. Arrows and wind barbs are placeholders for now.

@tariqksoliman
Copy link
Member

tariqksoliman commented Jan 6, 2025

@jtroberts Is there any documentation I can follow to set this up and test it locally?

@jtroberts
Copy link
Member Author

@jtroberts Is there any documentation I can follow to set this up and test it locally?

I need to add some documentation. I can also provide some sample data for you to test or point you to the wind server that we have currently under development.

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.

3 participants