Data flow for software suite
- A list of potential
.Pfiles that exist in the p_file_root directory is created. - The original
.Pfile is checked to see if the final buffer is corrupted. If so, the original.Pfile is trimmed and written to atrimed_p_filesdirectory. - All the
.Pfile headers are examined to see if they were created by the previous file "sizing" out. If so, then the previous and this file are appended to create a single.Pfile and written to themerged_p_filesdirectory. p_file_merger.m - For each good
.Pfile:- Using
odas_p2matconvert the good.Pfile to an odas_p2mat.matfile in a directory likeMatfiles_0000. See convert2mat.m - Create the profiles
.matfile:- Split the odas_p2mat
.matfile into profiles. - Assign a GPS fix to for each profile. See GPS details for how this is done.
- Adjust FP07 sensors in time to match shear sensors using cross correlation.
- If a temperature reference exists, using all the profiles in this file:
- Adjust temperature reference in time to match the adjusted FP07 sensors using cross correlation.
- Do an in-situ calibration of the FP07 sensors agains the temperature reference.
- If a conductivity value exists, adjust it in time to match thea adjusted temperature reference using cross correlation.
- If CT information is available, calculate seawater properties, like salinity, density, ...
- The profiles
.matfile is saved in a directory likeprofiles_0000.
- Split the odas_p2mat
- Create a binned profiles
.matfile:- Bin the profiles by depth or time and merge into a single table.
- Save the binned profiles to a directory like
profiles_binned_0000.
- Create a dissipation
.matfile:- Calculate dissipations for each of the profiles.
- Calculate the expected dissipation variance, and merge multiple dissipation estimates together appropriately.
- Save the dissipation estimates in a directory like
diss_0000.
- Create a binned dissipation
.matfile:- Bin the disspation estimates by depth or time and merge into a single table.
- Save the binned dissipations to a directory like
diss_binned_0000.
- Create a time binned scalar
.matfile:- Time bin the scalar data for the whole odas_p2mat
.matfile. - Assign a GPS fix to for each profile. See GPS details for how this is done.
- Save the binned scalar data to a directory like
CTD_0000.
- Time bin the scalar data for the whole odas_p2mat
- Using
- For all the
.Pfiles:- Create a profiles combo
.matfile by merging together all the binned profiles to directory likeprofiles_combo_0000. - Create a dissipation combo
.matfile by merging together all the binned dissipation estimates to a directory likediss_combo_0000. - Create a binned scalar combo
.matfile by merging together all the time binned scalar estimates to a directory likeCTD_combo_0000.
- Create a profiles combo