Closed cjpratt94 closed 5 years ago
FYI (to other developers): I have a private data file to test this.
I think this is working now, in the version I describe in a comment at #1579 (please also see that comment, on how to test). When I do
d<-read.oce("/Volumes/GLIDER_DATA/PER2018043_Sentinel-V_132_54_Ship-Harbour-Deep_M2067_May18-Nov18.pd0")
denu <- toEnu(d)
plot(denu,which="progressiveVector")
I get a plot like below. As I mentioned when we spoke in person, this graph starts at x=y=0. Thus, the indication is of a current that goes roughly westward. That may be the wrong direction, since I don't know about whether the declination was set up right, and so forth ... basically I don't know anything about the data file. Still, I feel that the reading went OK since at least we see here a background current with some wiggles (maybe tides) and perturbations (maybe wind events) so this doesn't look like the kind of random noise you can get if you read a dataset incorrectly (mixing up bytes, etc).
In case you want to explore further, the following snippet shows what you might start with:
> U<-d[["v"]][,1,1]
> sd(U)
[1] 0.08942394
> mean(U)
[1] -0.01020983
> V<-d[["v"]][,1,2]
> sd(V)
[1] 0.08266551
> mean(V)
[1] 0.01048767
which suggests mean currents in bin 1 (nearest the device, I think) are only about 1cm/s whereas the std-dev is more like 8cm/s. By contrast, things are faster further away
> V<-d[["v"]][,55,2]
> sd(V,na.rm=TRUE)
[1] 0.4002131
> mean(V,na.rm=TRUE)
[1] -0.03583006
but you'd want to examine the image plots to decide how much to believe the far-away data (there can be problems of surface reflection).
This issue has been automatically marked as stale because 8 weeks have passed with no activity. (Adding the 'pinned' label will prevent this issue from ever going stale.)
This issue has been closed, since it seems to have been addressed, and since discussion has stalled. The original reporter should feel free to reopen it, though, or to open new issues that might be related. Thanks.
PS. This is a standardized reply.
For example