Hello,
I tried running the code for current plotting but with different but similar data (a 4d data of time, lat, lon, and depth). Whenever I run the squeeze function on depth, its telling me the function cannot be performed on a dimension not equal to one. I tried selecting for a single depth level but then I lose the dimension totally. I'm familiar with the data you used that it has depth levels, I don't really get the selection you used or in any way what I'm really getting wrong.
Thank you.
Hello,
I tried running the code for current plotting but with different but similar data (a 4d data of time, lat, lon, and depth). Whenever I run the squeeze function on depth, its telling me the function cannot be performed on a dimension not equal to one. I tried selecting for a single depth level but then I lose the dimension totally. I'm familiar with the data you used that it has depth levels, I don't really get the selection you used or in any way what I'm really getting wrong.
Thank you.