You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
map((x, y) -> x *y, dsfinal[Variables="Var1"], dsfinal[Variables="Var2"])
90
90
91
+
# To add some complexity, we will multiply each value for π and then divided for the sum of each time step. We will use the `ds1` cube for this purpose.
92
+
mapslices(ds1, dims=("Lon", "Lat")) do xin
93
+
(xin * π) ./maximum(skipmissing(xin))
94
+
end
95
+
96
+
# ## How do I use the CubeTable function?
97
+
# The function "CubeTable" creates an iterable table and the result is a DataCube. It is therefore very handy for grouping data and computing statistics by class. It uses `OnlineStats.jl` to calculate statistics, and weighted statistics can be calculated as well.
98
+
99
+
# Here we will use the `ds1` Cube defined previously and we create a mask for data classification.
0 commit comments