-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
I've come across an issue with yet again how DFO does things. I'm processing BTL/ROS files from what we call a 'fix station' and the files have next to no metadata. The BTL file processes fine, but when I try to use ctd.read.from_summary() I get an error on line 451 name = _basename(fname)[1]
The files don't have a * FileName = xxxx line so there is no file name.
The ctd.read.from_btl() function solves this on lines 278-280 with:
if "name" not in metadata:
name = _basename(fname)[1]
metadata["name"] = str(name)
I'd like to do the same thing for the ctd.read.from_cnv() function, called by the ctd.read.from_summary() function if it's not an issue.
Metadata
Metadata
Assignees
Labels
No labels