Signature

Data will generally be processed using a series of run scripts that use command line arguments.

NOTE: this code works with up- or down-looking Signature data collected in ‘beam’, ‘XYZ’ or ‘earth’. It supports data types Burst, IBurst, Echo1, BurstHR, and IBurstHR. It also supports Altimeter and AHRS (Advanced Heading Reference System) data that are included when present with supported data types. Presently it does not yet support data types Average and BottomTrack, but they will be added in the future as needed.

Instrument data to raw .cdf

First, export data from the Signature Deployment software to Matlab format with coordinate transformations.

Convert from mat files to a raw netCDF file (for each data type) with .cdf extension using runsigmat2cdf.py. This script depends on two arguments, the global attribute file and extra configuration information configuration files.

runsigmat2cdf.py

Convert Signature files exported in Matlab format to raw .cdf format. Run this script from the directory containing Signature files.

usage: runsigmat2cdf.py [-h] gatts config

Positional Arguments

gatts

path to global attributes file (gatts formatted)

config

path to instrument configuration file (YAML formatted)

Raw .cdf to CF-compliant .nc

Convert the raw .cdf data (for each data type) into an CF-compliant netCDF file with .nc extension, optionally including atmospheric correction of the pressure data.

runsigcdf2nc.py

Convert raw Signature .cdf format to processed .nc files, optionally compensating for atmospheric pressure

usage: runsigcdf2nc.py [-h] [--atmpres ATMPRES] cdfname [cdfname ...]

Positional Arguments

cdfname

raw .CDF filename(s)

Named Arguments

--atmpres

path to cdf file containing atmopsheric pressure data