-
Notifications
You must be signed in to change notification settings - Fork 74
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
Add more comprehensive tests to consolidate.add_latlon
#769
Comments
This will ensure #730 runs through without problem. |
@leewujung in echopype/echopype/consolidate/api.py Line 188 in f8082ca
I've looked closely at a couple of sample datasets. For two EK60 datasets, after I also investigated the result of interpolation. For some reason that I haven't investigated, the first interpolated value appears to always be nan (in two EK60 example files). For now, I'm going to modify |
For I looked at the docs and couldn't completely remember what's up with our various I found this issue #656 that documents what those You can see that AZFP should not have a echopype/echopype/convert/set_groups_azfp.py Lines 145 to 168 in f8082ca
|
I looked at the AZFP file that I've used in |
This is outside the scope of this issue, but how about we add an option to I can open a new issue if this idea has legs. I don't know if it's something we'd have the bandwidth to fit into 0.7.0. |
Hmm.. I think that may be meddling too much with the workflow side of things -- but, interestingly, I was pondering about the scenario for adding split-beam angle for broadband data. There, one of the computing step (and in fact an expensive one to do pulse compression) is the same, so to calibrate first and then to compute the split-beam angle later is doing the works twice. There I could see adding an option flag to do both together. In the case of |
Sounds good, at least at this stage. I'll close this issue now, since its goals were met in PR #1000 |
I've created a new issue (#1003) to follow up on the issue of the |
I'm reopening this issue, temporarily ... In PR #1000 I added several new
The two files are
The error is actually emitted by Pandas. In searching for this error message, I see some references to problems with datetimes. I wasted a lot of time thinking the problem might be with the interpolation of near-constant values, but I now think it's somehow related to the tiny datetime range. I'm going to set this aside as an edge case that'll take too much more effort to track down for 0.7.0. I'll open a new issue later. |
I'll close this again, now that I've opened #1009 |
This is a leftover to #749 , in which we added a new function to interpolate lat-lon locations from the
EchoData["Platform"]
group to calibrated Sv data. That PR includes a basic test to runadd_latlon
for an EK60 file and check for existence of the latitude and longitude variables.We still need tests to cover the following cases:
add_latlon
function and directly computed fromscipy.interpolate
The text was updated successfully, but these errors were encountered: