File Naming Conventions
This page covers two sets of naming conventions:
Raw instrument files — files downloaded from the instruments at sea, whose names are fixed (or conventionally chosen) at the time of download.
Processed output files — NetCDF, log, and report files written by
oceanarray.
Raw instrument files
Instruments are downloaded twice per deployment cycle: once during a calibration-dip (caldip) cast and once at mooring recovery. UHH uses the following filename conventions for the downloaded data files.
Context |
Filename pattern |
|---|---|
Mooring recovery download |
|
Caldip cast download |
|
where {serial} is the instrument serial number and <ext> depends on
the instrument type and firmware:
Instrument |
Extension(s) |
Notes |
|---|---|---|
SBE MicroCAT (old Seaterm) |
|
firmware below the |
SBE MicroCAT (SeatermV2) |
|
firmware at or above the sentinel, or any MicroCAT with dissolved oxygen |
Nortek Aquadopp |
|
all four files are downloaded together; |
RBR soloT / RBRduet |
|
RSK SQLite database downloaded via Ruskin |
RBR TR-1050 |
|
hex format |
RDI WorkHorse ADCP |
|
binary raw files; |
These conventions are recorded in the filename_conventions: section of
logsheet_config.yaml and are used by the standalone
logsheet package to pre-fill
expected filenames on the download logsheets.
Processed output files
All output files use the mooring name and, where applicable, the instrument serial number from the YAML.
File |
Description |
|---|---|
|
Raw-faithful CF-NetCDF; no QC applied |
|
Trimmed to deployment window; clock correction applied |
|
QC flags added; derived variables (e.g. salinity); Aquadopp velocity in earth coordinates; magnetic declination correction applied |
|
All instruments resampled onto a common time grid and stacked into a single file ordered by depth |
|
Stack file interpolated onto a regular pressure grid |
|
Processing log for one run of one stage; timestamp format is
|
|
HTML summary report for the whole mooring |
|
HTML report for the stacked dataset |
|
HTML report for the gridded dataset |
|
Per-instrument HTML report |
The {serial} component uses the value of the serial field in the
YAML instrument entry. If the serial contains a trailing * (used in
some instrument identifiers), the * is stripped from the filename.
The {mooring} component is the value of the name field at the top
of the mooring YAML, which must also match the directory name under
{proc_dir} and the YAML filename itself:
{proc_dir}/{mooring}/{mooring}.mooring.yaml
See also
Directory Structure and File Layout — where these files live on disk
YAML Configuration Reference — YAML fields that control filenames (
name:,serial:,filename:)logsheet package — how
logsheet_config.yamlfilename conventions connect raw-file naming to the logsheet workflow