You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Loading the DY16902 mission, DY169a174.BTL has a bottle fired out of sequence, it has a bottle position of 24, but then no sample ID (because it wasn't sampled).
This causes a ValueError in the ctd parser, but also the error isn't reported to the user and Dart doesn't load the other samples from the file:
ERROR 2024-07-10 07:29:06,554 form_btl_load form_btl_load.py 271 load_ctd_file cannot convert float NaN to integer
Traceback (most recent call last):
File "D:\Gov\projects\python\dart\core\form_btl_load.py", line 269, in load_ctd_file
ctd.read_btl(ctd_mission, ctd_file_path)
File "D:\Gov\projects\python\dart\core\parsers\ctd.py", line 494, in read_btl
process_data(event=event, data_frame=data_frame, column_headers=col_headers)
File "D:\Gov\projects\python\dart\core\parsers\ctd.py", line 376, in process_data
bottle_id = int(row[1]['bottle_'])
^^^^^^^^^^^^^^^^^^^^^^
ValueError: cannot convert float NaN to integer
The text was updated successfully, but these errors were encountered:
Loading the DY16902 mission, DY169a174.BTL has a bottle fired out of sequence, it has a bottle position of 24, but then no sample ID (because it wasn't sampled).
This causes a ValueError in the ctd parser, but also the error isn't reported to the user and Dart doesn't load the other samples from the file:
The text was updated successfully, but these errors were encountered: