AN67: Editing Sea-Bird .hex Data Files
After acquiring real-time .hex data or uploading .hex data from CTD memory, users sometimes want to edit the header to add or change explanatory notes about the cast. Some text editing programs modify the file in ways that are not visible to the user (such as adding or removing carriage returns and line feeds), but that corrupt the format and prevent further processing by SEASOFT (both DOS and Windows versions). This Application Note provides details on one way to edit a .hex data file with a text editor while retaining the required format. The procedure described below has been found to work correctly on computers running Win 98, Win 2000, and Win NT. If the editing is not performed using this technique, SEASOFT may reject the data file and give you an error message.
- Make a back-up copy of your .hex data file before you begin.
- Run WordPad.
- In the File menu, select Open. The Open dialog box appears. For Files of type, select All Documents (*.*). Browse to the desired .hex data file and click Open.
- Edit the file as desired, inserting any new header lines after the System Upload Time line. Note that all header lines must begin with an asterisk (*), and *END* indicates the end of the header. An example is shown below, with the added lines in bold:
* Sea-Bird SBE 21 Data File:
* FileName = C:\Odis\SAT2-ODIS\oct14-19\oc15_99.hex
* Software Version Seasave Win32 v1.10
* Temperature SN = 2366
* Conductivity SN = 2366
* System UpLoad Time = Oct 15 1999 10:57:19
* Testing adding header lines
* Must start with an asterisk
* Can be placed anywhere between System Upload Time and END of header
* NMEA Latitude = 30 59.70 N
* NMEA Longitude = 081 37.93 W
* NMEA UTC (Time) = Oct 15 1999 10:57:19
* Store Lat/Lon Data = Append to Every Scan and Append to .NAV File When <Ctrl F7> is Pressed
** Ship: Sea-Bird
** Cruise: Sea-Bird Header Test
- In the File menu, select Save (not Save As). If you are running Windows 2000, the following message displays:
You are about to save the document in a Text-Only format, which will remove all formatting. Are you sure you want to do this?
Ignore the message and click Yes.
- In the File menu, select Exit.
Note: This Application Note does not apply to .dat data files. Sea-Bird is not aware of a technique for editing a .dat file that will not corrupt the file.
Application Note Revision History
|October 2001||- Initial release.|
- SBE 16 SeaCAT C-T (P) Recorder - DISCONTINUED
- SBE 16plus SeaCAT C-T (P) Recorder - DISCONTINUED
- SBE 16plus V2 SeaCAT C-T (P) Recorder
- SBE 16plus-IM SeaCAT C-T (P) Recorder - DISCONTINUED
- SBE 16plus-IM V2 SeaCAT C-T (P) Recorder
- SBE 19 SeaCAT Profiler CTD - DISCONTINUED
- SBE 19plus SeaCAT Profiler CTD - DISCONTINUED
- SBE 19plus V2 SeaCAT Profiler CTD
- SBE 21 SeaCAT Thermosalinograph
- SBE 25 Sealogger CTD - DISCONTINUED
- SBE 25plus Sealogger CTD
- SBE 37-IM MicroCAT C-T (P) Recorder
- SBE 37-IMP MicroCAT C-T (P) Recorder
- SBE 37-IMP-IDO MicroCAT C-T-ODO (P) Recorder - DISCONTINUED
- SBE 37-IMP-ODO MicroCAT C-T-ODO (P) Recorder
- SBE 37-SI MicroCAT C-T (P) Recorder
- SBE 37-SIP MicroCAT C-T (P) Recorder
- SBE 37-SIP-IDO MicroCAT C-T-DO (P) Sensor
- SBE 37-SIP-ODO MicroCAT C-T-DO (P) Sensor
- SBE 37-SM MicroCAT C-T (P) Recorder
- SBE 37-SMP MicroCAT C-T (P) Recorder
- SBE 37-SMP-IDO MicroCAT C-T-DO (P) Recorder - DISCONTINUED
- SBE 37-SMP-ODO MicroCAT C-T-ODO (P) Recorder
- SBE 45 MicroTSG Thermosalinograph
- SBE 49 FastCAT CTD Sensor
- SBE 911plus CTD