-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(Dolfyn) Non-identical beam error on multiple Nortek Signature 500 .ad2cp files? #287
Comments
Hey @willcoxe thanks for your interest in MHKiT and letting us know about this issue you are having. Looking through your errors I don't see anything obvious to try to me. I need @jmcvey3 to take a look at this, however he is doing field work this week so his availability is limited. It may or may not need it but if you could create a small example subset of your data that recreates the error that you could share that could be helpful. |
Thanks for the quick response! I appreciate it. |
Hi @willcoxe, Do you have the configuration file for these and can you give some background? ID 31 is listed as "avg altimeter raw record" in the Nortek documentation; this isn't an ID we've seen before, so therefore dolfyn doesn't know how to read it. It shouldn't cause dolfyn to error out. The "beams_cy" error literally means that dolfyn isn't seeing consistent entries for ID 0x17 = 23, which is bottom track. The fact this runs through 64,257 ensembles makes me think that the instrument was cut prematurely while taking a bottom track measurement. |
Ah, perhaps it's because it's not bottom track but ice track towards the surface (afaik)? Sadly I get the exact same error when running I pasted the config file (w. changed filename) here EDIT: Regarding background I am not sure what to say. The data is for ~ 1 year relatively near-surface mooring deployed in a seasonally ice covered region. I think the bottom track is used to determine ice cover/thickness, but I am new to these data so am still reading up on the details. |
Gotcha, yes, Nortek discovered that if they orient bottom track towards the surface, they could track the movement of ice above. It's effectively the same thing to the instrument. Hmm, I'm not sure about this one. Can you share a smaller datafile or a clip of one? (the linux "truncate" command works well for that. 1 Mb is all that's necessary) |
I have uploaded the 1 Mb truncated file (truncate -s 1M) file here I have set it to be removed after download since the data is not supposed to be publicly available yet. (Please let me know if it doesn't work, not used Lufi before for temp file uploads) |
@willcoxe That worked, thank you. Will post updates as I make progress. |
Hi @willcoxe, see if you can load PR #289 and run your data on it using Because this is a dual profile setup, I ended up separating the two profiling configurations into their own datasets for multiple reasons. One of which is that you'll at least be able to use dolfyn's rotate tools (setting magnetic declination, rotating between coordinate frames) on both datasets. I also had to bypass the logic that detects skipped pings (these ADCPs sometimes skip a ping or two over a long deployment period), but will see if I can update that for dual profiling. |
Also be able to read ID 31 now, which looks like is the raw altimeter burst for the averaging profile. |
Hi! Thanks for all the work you are putting into this, I appreciate it. It does indeed work for the 1 M file. It works precisely up to the file size truncated to 2989 K (with or without the final line), so something must change at that part of the file (same error except for '.format(id)'). If I truncate the file to 1K smaller (2988 K) it works perfectly. I am not familiar enough with how to set up the structs in python to provide more detail of any change in the file. I added the failing file here.
(original file seizes I received for the mooring(s) vary between 276 M & 1.1 G) |
Got it, try the newest commit I just pushed. |
This is absolutely fantastic. It reads even the 1.1 G files without a problem now. This is great. Thanks so much! |
Happy to help, glad it works! |
Small note, not necessarily super important, so not big enough to open entirely new issue (imo) The current code creates the fields 'vel' for the first (in my case burst) of the dual profiles and 'vel_avg' for the second (in my case averaged) profile. This means that for the averaged=second profile the fields u, v, w, U, ..., etc are currently left undefined. It's an easy enough thing, I'll prob just (re-)use your code & just modify the field name to field_avg e.g. in velocity.py
Like I said, this is not an 'issue' or 'bug' per se, just an FYI. (not 100% on the github-etiquette for putting a small note on a closed comment thread, I won't re-open the issue) |
Hello, Thanks for creating the package!
I just received several Nortek Signature 500 ADCP files to process and each of them gives the same error (details below). I have updated to the most recent version and tried to call the command in several ways. I have tested the example signature files in the examples directory and they can be read without error. I am hoping you might have some advice on troubleshooting this issue.
Commands I have tried (I have replaced file and directory names):
While running it skips a lot of pings e.g.
The message it errors out with is always the same:
The text was updated successfully, but these errors were encountered: