-
Notifications
You must be signed in to change notification settings - Fork 32
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
GeoMakie extension and interactive 3D grid visualisation on the sphere #600
Conversation
@asinghvi17 this is so cool julia> using SpeedyWeather
julia> using GLMakie, GeoMakie
julia> globe(OctahedralGaussianGrid, 24) |
That's slick! I'm kind of inspired to try to write a |
@navidcy I feel like you'd love that! Where is the interactive 3D plotting on the cubed sphere 😝 |
So I’m thinking about a function that just return for every grid cell index the n corners/vertices (it’s mostly 4 though) then we can either use them to define a vector of polygons or Iwecan concatenate them with a NaN point in between to plot the grid lines with a single lines! call. However, then we would essentially plot every line twice, but that sounds like much less work as we can reuse a lot of functionality between plotting the grid lines and plotting data on that grid in the form of polygons. |
Not merging because of MakieOrg/GeoMakie.jl#282 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Once JuliaRegistries/General#119185 is merged you should be able to rely on GeoMakie for this until we get the Makie PRs in.
Co-authored-by: Anshul Singhvi <[email protected]>
Co-authored-by: Anshul Singhvi <[email protected]>
@asinghvi17 created a little video from some random data on the Screen.Recording.2024-11-11.at.11.56.46.AM.mov |
SpeedyWeather#600) * make Geometry parametric with Grid * GeoMakie extension, globe for interactive 3D visualisation * add Geodesy as weak dependency too * ext deps as markdown list * function args typo * export globe * changelog updated * update docs toml * remove Geodesy dependency * move ext into folder * _faces typo * add OctahedralGaussian method for _faces * remove equator for even rings * include octahedral clenshaw grids * faces, facesr not returned * get_vertices for RingGrids * globe options * vertices for full grids just rectangles, not diamonds * globe for data * extend not overwrite globe * import Polygon and docstrings * import Polygon through GeoMakie * interactive bool * title corrected * change vertices definiton to ESWN * use globe function in docs * Update Project.toml Co-authored-by: Anshul Singhvi <[email protected]> * more globe calls in docs * docs typo * Update ext/SpeedyWeatherGeoMakieExt/faces.jl Co-authored-by: Anshul Singhvi <[email protected]> --------- Co-authored-by: Anshul Singhvi <[email protected]>
* adds height to Rossby-Haurwitz initial condition * GeoMakie extension and interactive 3D grid visualisation on the sphere (#600) * make Geometry parametric with Grid * GeoMakie extension, globe for interactive 3D visualisation * add Geodesy as weak dependency too * ext deps as markdown list * function args typo * export globe * changelog updated * update docs toml * remove Geodesy dependency * move ext into folder * _faces typo * add OctahedralGaussian method for _faces * remove equator for even rings * include octahedral clenshaw grids * faces, facesr not returned * get_vertices for RingGrids * globe options * vertices for full grids just rectangles, not diamonds * globe for data * extend not overwrite globe * import Polygon and docstrings * import Polygon through GeoMakie * interactive bool * title corrected * change vertices definiton to ESWN * use globe function in docs * Update Project.toml Co-authored-by: Anshul Singhvi <[email protected]> * more globe calls in docs * docs typo * Update ext/SpeedyWeatherGeoMakieExt/faces.jl Co-authored-by: Anshul Singhvi <[email protected]> --------- Co-authored-by: Anshul Singhvi <[email protected]> * uses proper model variables for planet independent Rossby-Haurwitz waves * makes filtering the height anomaly shallow water exclusive * adds documentation draft for Rossby-Haurwitz wave * slight changes to the docs * renames variable for consistency --------- Co-authored-by: Milan Klöwer <[email protected]> Co-authored-by: Anshul Singhvi <[email protected]>
fixes #599