Improve performance of converting xtgeo.RegularSurface
(→ np.array
?) → RGBA image
#575
Labels
xtgeo.RegularSurface
(→ np.array
?) → RGBA image
#575
Description
In webviz we use the
DeckGLMap
component to render surface grids as images.This component is a wrapper on deck.gl including e.g. additional layers targeting subsurface data, such as surface grids and well data.
To render surface grids we use a
hillshading
layer that is based on the DeckGL bitmap layer.We send the surface grid to the hillshading layer as a bitmap image which is generated on-the-fly in the python backend.
Our current workflow for converting surface grids to images are:
RMS Binary format
using Xtgeo.Challenge
The execution time of converting a surface grid to base64 image is currently too slow.
We should investigate how to improve the workflow by refactoring the code or looking at other options of generating these images from surface grids.
Example
Below is a working example that will start a
Dash
app with a map visualization using the workflow above.The text was updated successfully, but these errors were encountered: