I have xarray variables as follow:
df.tmp (time, lat, lon): [[[0.4,0.3...]]]
Now for one particular time I want to split them into 3 classes(-1, 0