Ocean-Data-Map-Project icon indicating copy to clipboard operation
Ocean-Data-Map-Project copied to clipboard

Water Velocity is not available in profile plots

Open nsoontie opened this issue 7 years ago • 6 comments
trafficstars

In most cases, Water Velocity is a 3D field and so should be available in profile plots but it isn't.

nsoontie avatar Apr 04 '18 18:04 nsoontie

The problem is in the value assignment in vars_query()... thinking of a fix image

NoahGallant-MUN avatar May 30 '18 15:05 NoahGallant-MUN

Which module is this? views.py?

Can we allow vectors for profile plots and then in profile.py check if the request is a vector. If so, calculate magnitude and plot...

nsoontie avatar May 30 '18 20:05 nsoontie

Me and Nabil think the issue is that the name is outputting as Water X Velocity, instead of Velocity, so it appears the problem is in the naming and not with the actual value... In this case value variable is the name

NoahGallant-MUN avatar May 30 '18 21:05 NoahGallant-MUN

Ok, I don't know if this helps, but here is a screen shot of an error related to this issue. I plotted GIOPS Daily Water Velocity on the main page and selected the point tool. Temperature anomaly and salinity anomaly give a similar error.

image

nsoontie avatar May 31 '18 00:05 nsoontie

Derived products are not yet supported for profile plots due to the internal representation of the datasets. Will revisit after python3 (not an easy fix)

NoahGallant-MUN avatar May 31 '18 14:05 NoahGallant-MUN

With the new calculation layer, it should be fairly straight forward to make the magnitude visible once #231 is addressed.

htmlboss avatar Jun 18 '19 13:06 htmlboss