Closed oftfrfbf closed 4 years ago
@oftfrfbf : at some point I was gonna swap out the current hard-coded filename parsing to using regular expression.
The pattern below works with the standard SURVEYNAME-DXXXXXX-TXXXXXX.raw filename
FILENAME_MATCHER = re.compile('(?P<survey>\w+)?-?D(?P<date>\w+)-T(?P<time>\w+).raw')
Could you take this a bit further to include the possible postfix beyond the time, as we see in the Saildrone data? Thanks!
Additional note: in the top-level group in the netCDF/zarr file, there's a data variable date_created
(basically where you see this errored out). Another possibility is to simply take the ping time from the first ping to write this field. Let me know what you think.
@Chuck-A and I took care of this. See PR #187 and #188 .
Hello, I am having trouble converting an EK80 file to a netcdf. The code used is below using a clone of the latest version of echopype.
It looks like the appended "T033505-0" needs to match a proper time formatting convention.