I have a 4-D dataset (as xr.DataArray
) with dimensions temperature
, datasource
, time
, and altitude
.
How can I create a scatter plot with of temperature(src0, z)
vs. temperature(src1, z)
, so that I can select the altitude via a slider?
I'm currently having the problem that when I convert the data to a hv.Table
, I have among others one column datasource
and one column temperature
, and I cannot figure out how to plot temperature(datasource=='src0')
vs. temperature(datasource=='src1')
EDIT:
I try to clarify: I have a 4-D dataset DATA
(which is a xr.DataArray
) with dimensions data_variable
, datasource
, time
, and altitude
.
data_variable
has 2 entries, temperature
and humidity
.
datasource
has 2 entries, model
and measurement
There are 6 altitudes and ~2000 times.
How can I create a scatter plot which has
- on the x-axis the data for the
datasource
model
- on the y-axis the data for the
datasource
measurement
such that altitude
and data_variable
can be selected with a slider?