Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

  1. Create a corrected SIT file that has the same name as the input file plus the extension *.CORR. For each INPUT line, an OUTPUT line with corrected section-offset and CSF-A depths is computed and printed to the output CSV file. This output splice file will be suitable for upload to the LIMS. The following is the approximate sequence of tests and computations performed.






Wiki Markup
Create a copy of the input file where floating point values for offset and depth values are rounded to 1 mm precision fixed values. This should avoid issues with very small floating-point number differences in depth comparison tests. \[ONLY IF TRULY NEEDED\].
For each splice interval (INPUT line) in the input file:
Get all the sections for the given core. Each section record in LIMS has a stored CSF-A as well as CCSF depth (based on loaded affine table) for both top and bottom of section and the array of these four values per section will be used here.
Proceed with the following steps separately for top and bottom of the splice interval, respectively. 
Find the section that contains the given CCSF depth.
If the CCSF for the given core is smaller than the smallest section top depth, return message "ABOVECORE" in the output file. This will fail splice file upload and user needs to address the issue somehow.
If the CCSF for the given core is greater than the largest section bottom depth, return message "BELOWCORE" in the output file. This will fail splice file upload and user needs to address the issue somehow.
If two section IDs are returned because the CCSF corresponds exactly to the bottom of a section and the top of the subsequent section, select the section with the smaller section number.
For the section determined to be the correct one, compute
offset = CCSF(given) - CCSF(section_top).
Then compute CSF-A = CSF-A(section_top) + offset
Print the half-line to the output file. Repeat with the bottom of interval if this was the top.
Proceed with the next splice interval.
End.






  1. Create a difference report file that has the same name as the input SIT file plus the extension *.DIFF. This will allow the user to review potential issues quickly and take action if needed. A corresponding screen view is also created.

...