msoechting / lexcube

Lexcube: 3D Data Cube Visualization in Jupyter Notebooks
https://www.lexcube.org
GNU General Public License v3.0
105 stars 6 forks source link

Addition of geographic information #2

Open jmb64 opened 4 months ago

jmb64 commented 4 months ago

Feature request Hi Maximilian,

Lexcube is very interesting. I played with the web interface a little bit (https://www.lexcube.org/?!esdc-3.0.2/air_temperature_2m/0-1976/0-718/596-1312) and also with a sample ocean model output of temperature (a 4D dataset) in a jupyter lab framework. Working with geophysical fields mostly (coupled atmosphere and ocean model) it would be useful to be able to add coastlines and coordinates gridlines.

Solution Something similar to cartopy coastlines feature and gridlines. (ex. latitude and latitude gridlines at specific intervals, i.e like regular 10 degrees. Same thing for vertical z coordinates, ex depth at 10m intervals, ...)

Just an example ... Snapshot_windspeed_matplotlib_with_coastlines_and_grid

https://scitools.org.uk/cartopy/docs/v0.13/index.html

Jean-Marc

msoechting commented 3 months ago

Hi jmb64, thanks for your report! I am working on a feature that allows to overlay OSM data over the 3D cube. I will consider gridlines and coast lines as additional options, now that you brought this to my attention 😄

jmb64 commented 3 months ago

Great! I look forward to the new developments discussed at the end of the paper (Lexcube: Interactive Visualization of Large Earth System Data Cubes), i.e. scientific analysis features (fig5-6) , integration with python libraries, 3D rendering ... Neat stuff. JM