Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Dictionaries for mapping MKIV data based on data from libdatawell manual
# Dictionary mapping file name to data contents
datawell_mappings = {'20':'heave_spectrum',
'21':'directional_spectrum',
'23':'spectrum_sync',
'25':'directional_spectral_parameters',
'26':'upcross_wave_statistics',
'28':'secondary_directional_spectrum',
'81':'sea_surface_temperature',
'82':'acoustic_current_meter',
'C1':'system_message',
'C3':'battery',
'displacement':'displacement'}
column_name_dict = {'directional_spectral_parameters':['Timestamp', 'MsgId', 'SegmentsUsed', 'H_s',
'T_I', 'T_E', 'T_1', 'T_z', 'T_3', 'T_c', 'R_p',
'T_p','S_max','theta_p','sigma_p'],
'sea_surface_temperature': ['Timestamp', 'MsgId', 'TemperatureKelvin']}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment