Error during interpolation in consolidate.add_latlon
with an edge case
#1009
Labels
bug
Something isn't working
consolidate.add_latlon
with an edge case
#1009
(Following up from #769 (comment)) In PR #1000 I added several new
consolidate.add_latlon
tests totest_consolidate_integration.py
, including two new test datasets (including one AZFP). One thing I did not add was an EK80 test file. While runningconsolidate.add_latlon
on two EK80 test files just now, I ran into the same error for both files during the interpolation step (return position_var.interp(time1=ds["ping_time"])
):The two files are
ek80_bb_with_calibration/2018115-D20181213-T094600.raw
andek80/Summer2018--D20180905-T033113.raw
. Examining the data a bit, I found two factors in common among those two files, other than being EK80: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 don't think it has anything to do with the files being from EK80. It'll take more effort to track this down.
The text was updated successfully, but these errors were encountered: