Skip to content

Processing raw data from a Teledyne RDI Workhorse Sentinel 600 kHz #77

@SMTETH005

Description

@SMTETH005

I am working with archival data from a Teledyne RDI Workhorse Sentinel 600 kHz. I think the raw .000 files are in some non-standard format. When I try to process using the create_nc.py template I get this error:

Traceback (most recent call last):
  File "pycurrents_ADCP_processing/create_nc_GB1.py", line 24, in <module>
    ncnames_L0 = ADCP_processing_L0_L1.nc_create_L0_L1(in_file=f, file_meta=meta, dest_dir=dest_dir, level=0)
  File "/home/ethan/adcp/pycurrents_ADCP_processing/pycurrents_ADCP_processing/ADCP_processing_L0_L1.py", line 1031, in nc_create_L0_L1
    data = rdiraw.rawfile(in_file, meta_dict['model'], trim=True)
  File "/home/ethan/adcp/pycurrents/pycurrents/adcp/raw_multi.py", line 47, in rawfile
    return FileBBWHOS(fname, sonar, trim, yearbase)
  File "/home/ethan/adcp/pycurrents/pycurrents/adcp/raw_rdi.py", line 555, in __init__
    trim=trim, yearbase=yearbase)
  File "/home/ethan/adcp/pycurrents/pycurrents/adcp/raw_base.py", line 154, in __init__
    self.open()
  File "/home/ethan/adcp/pycurrents/pycurrents/adcp/raw_rdi.py", line 582, in open
    FileBase.open(self)
  File "/home/ethan/adcp/pycurrents/pycurrents/adcp/raw_base.py", line 196, in open
    self.header.read(self.fobj)
  File "/home/ethan/adcp/pycurrents/pycurrents/adcp/raw_rdi.py", line 514, in read
    raise RuntimeError('first 6 bytes of header parse as %s'%str(tup))
RuntimeError: first 6 bytes of header parse as (127, 121, 86, 1)

I was wondering if anyone could give me a hand in figuring this out? I have attached some metadata below and added a link to the raw data itself. Any help would be very much appreciated. Thanks!

CSIR_RDI_Sentinel_FB_20150520_V3000_metadata.zip
FBRD2.zip
GB_ADCP_setup_information.zip

Here is the link to the actual raw data file:

https://github.com/SMTETH005/honours_project/releases/download/data/CSIR_RDI_Sentinel_FB_20150520_V3000.000

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions