{"action":"created","issue":{"url":"https://api.github.com/repos/dankelley/oce/issues/777","labels_url":"https://api.github.com/repos/dankelley/oce/issues/777/labels{/name}","comments_url":"https://api.github.com/repos/dankelley/oce/issues/777/comments","events_url":"https://api.github.com/repos/dankelley/oce/issues/777/events","html_url":"https://github.com/dankelley/oce/issues/777","id":116960676,"number":777,"title":"problems with read.adp.rdi (bottom track)","user":{"login":"gonzalobravoargentina","id":15851767,"avatar_url":"https://avatars.githubusercontent.com/u/15851767?v=3","gravatar_id":"","url":"https://api.github.com/users/gonzalobravoargentina","html_url":"https://github.com/gonzalobravoargentina","followers_url":"https://api.github.com/users/gonzalobravoargentina/followers","following_url":"https://api.github.com/users/gonzalobravoargentina/following{/other_user}","gists_url":"https://api.github.com/users/gonzalobravoargentina/gists{/gist_id}","starred_url":"https://api.github.com/users/gonzalobravoargentina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gonzalobravoargentina/subscriptions","organizations_url":"https://api.github.com/users/gonzalobravoargentina/orgs","repos_url":"https://api.github.com/users/gonzalobravoargentina/repos","events_url":"https://api.github.com/users/gonzalobravoargentina/events{/privacy}","received_events_url":"https://api.github.com/users/gonzalobravoargentina/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dankelley/oce/labels/adp","name":"adp","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"dankelley","id":99469,"avatar_url":"https://avatars.githubusercontent.com/u/99469?v=3","gravatar_id":"","url":"https://api.github.com/users/dankelley","html_url":"https://github.com/dankelley","followers_url":"https://api.github.com/users/dankelley/followers","following_url":"https://api.github.com/users/dankelley/following{/other_user}","gists_url":"https://api.github.com/users/dankelley/gists{/gist_id}","starred_url":"https://api.github.com/users/dankelley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dankelley/subscriptions","organizations_url":"https://api.github.com/users/dankelley/orgs","repos_url":"https://api.github.com/users/dankelley/repos","events_url":"https://api.github.com/users/dankelley/events{/privacy}","received_events_url":"https://api.github.com/users/dankelley/received_events","type":"User","site_admin":false},"milestone":null,"comments":10,"created_at":"2015-11-14T23:51:49Z","updated_at":"2015-11-16T18:32:40Z","closed_at":null,"body":"Hi, I am learning to use OCE package for my clases in a Master in oceanography were most of people use Matlab. I open my files of ADCP.enx  in R and MATLAB and i found that (read.adp.rdi) is not reading bottom range br and velocity bv . I read that is a problem  has been solve in the develop but i can't  install it from:\r\n```R\r\nlibrary(devtools)\r\ninstall_github('dankelley/oce', ref='develop')\r\ninstall_github('dankelley/ocedata', ref='master')\r\n```\r\nyields\r\n```\r\nmake: gfortran-4.8: No such file or directory (i can't install gfrortran in my MAC)\r\nmake: *** [magdec.o] Error 1\r\nERROR: compilation failed for package ‘one’ \r\n```\r\ncould you give another solution, for reading the bottom track with ``read.adp.rdi()``?\r\nthanks\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/dankelley/oce/issues/comments/157129236","html_url":"https://github.com/dankelley/oce/issues/777#issuecomment-157129236","issue_url":"https://api.github.com/repos/dankelley/oce/issues/777","id":157129236,"user":{"login":"dankelley","id":99469,"avatar_url":"https://avatars.githubusercontent.com/u/99469?v=3","gravatar_id":"","url":"https://api.github.com/users/dankelley","html_url":"https://github.com/dankelley","followers_url":"https://api.github.com/users/dankelley/followers","following_url":"https://api.github.com/users/dankelley/following{/other_user}","gists_url":"https://api.github.com/users/dankelley/gists{/gist_id}","starred_url":"https://api.github.com/users/dankelley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dankelley/subscriptions","organizations_url":"https://api.github.com/users/dankelley/orgs","repos_url":"https://api.github.com/users/dankelley/repos","events_url":"https://api.github.com/users/dankelley/events{/privacy}","received_events_url":"https://api.github.com/users/dankelley/received_events","type":"User","site_admin":false},"created_at":"2015-11-16T18:32:40Z","updated_at":"2015-11-16T18:32:40Z","body":"I agree with @richardsc that there are going to be some good clues in Rich's matlab code. I trace those warning messages to ``rdradcp.m`` line 997 et seq.  Rich's comments are a bit disquieting because it's preferable to follow header instructions to the letter, without getting into conflicts. \r\n\r\nThere are lots of bytes that are left \"free\" or unused in the these headers, and my guess is that a firmware change is now using some bytes that were not previously used, and this leads to a conflict in the inferred location of the pointer within the data buffer.\r\n\r\nWe could -- if forced to -- set up some kind of pointer-shift algorithm (as Rich has done), but it would be much better to get documentation that will tell us which bytes to examine to properly traverse the file. It is possible that this is a flat-out error in the oce code, but I doubt it, since we've been reading bottom-track information for a while now.\r\n\r\nNote: the firmware version of the file in question is 23.19 ... @richardsc can you edit this comment and put in the value for the file that you're able to read? This might help us."}}