-
Notifications
You must be signed in to change notification settings - Fork 41
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
What is the recommended approach for storing and plotting complicated layers and stacks of data? #826
Comments
I don't quite get the storing part in 2... Plotting DimStack with Makie just isn't implemented. Partly because multi axis plots are not easy in Makie recipes, and often multi axis is what you would expect to get. And again I don't know AlgebraOfGraphics at all! For 1 yes nested DimArray We could do that more generically here, contributions appreciated. |
I figured that was the case, and just thought I'd ask anyway. I'm not asking for DimensionalData to accommodate for mixed dimensions for each layer, I'm just checking on if there've been any features I've missed or misunderstood that would help my case.
So from a single lat-lon, my data's first layer is of bearings [
(; θ = 0) => [
(; r = 0) => (; z = [0, 50, 200], c = [1500, 1480, 1520])
(; r = 100) => (; z = [0, 100, 150, 210], c = [1510, 1490, 1515, 1520])
(; r = 300) => (; z = [0, 120], c = [1510, 1495])
],
(; θ = 45) => [
(; r = 0) => (; z = [0, 205], c = [1505, 1525])
(; r = 50) => (; z = [0, 100, 190], c = [1510, 1490, 1515])
(; r = 200) => (; z = [0, 90, 173, 225], c = [1515, 1486, 1505, 1515])
]
(; θ = 90) => [
(; r = 0) => (; z = [0, 50, 200, 210], c = [1499, 1490, 1505, 1506])
(; r = 90) => (; z = [0, 265], c = [1510, 1490])
(; r = 250) => (; z = [0, 110, 300], c = [1525, 1495, 1500])
],
] I hope I've explained it clearly.
I'll see what I can do while keeping the spirit of the existing |
Sorry to tag you again @jkrumbiegel but we may need your insights on this as well, particularly question 3.
I have datasets that are structured over varied dimension values in a layered nature.
Here's some code that demonstrates the structure.
Basically each bearing
θ
is for a different set of ranger
values,and each range
r
has a different set of depthz
values.I'm opening this issue to ask the following questions:
Inspection: Running
prof3D
in the REPL to take a look at its structure prints out a lot of information, is there a better way to view a nice summary of its structure? Eventypeof(prof3D)
still prints a lot. I currently dokeys(prof3D)
. Maybe anAbstractTrees.jl
interface?Structure: Some of my data (not demonstrated above) would be like
DimStack
but not share the same values over the same dimensions, e.g. sound speed could be for depths0 : 100 : 200
, but density could be for depths0 : 50 : 200
. What's the best way to store such?Visualisation: Do I have to use
AlgebraOfGraphics.pregrouped
for all this data? Or will there be supported syntax conveniences for such layers and stacks of data? I've foundDimArray
s andDimStack
s work nicely withAlgebraOfGraphics.data
so I don't have to usepregrouped
. So it's just the semantics for nestedDimArray
s andDimStack
s that I suppose I'm asking about. Especially for syntax likemapping(layout = :θ, color = :r)
.I'm happy to try and contribute. Primarily asking to know if any thoughts on this already exist, and if so, what direction, and if I can help.
The text was updated successfully, but these errors were encountered: