Importing Data from CSV or Excel into the Stratigraphy Table

RockWorks | Borehole Manager | File | Import | CSV | CSV File -> Stratigraphy
RockWorks | Borehole Manager | File | Import | Excel | Single Table | Excel -> Stratigraphy


These Borehole Manager tools are used to read row and column data from a single worksheet in Excel file or from a single CSV file, and import the rows and columns into the Stratigraphy table for a single borehole or for multiple boreholes. This is primarily designed for users who have elevation or depth measurements for multiple units, which can't be easily brought into the RockWorks database using the main Excel import tool.  The import works with XLSX, XLS, CSV, and TXT files, provided that Microsoft Excel is installed on the user's machine.

Here is an example of the kind of Excel data that can be brought into RockWorks using this tool; this subset lists the borehole ID in the first column, and elevations for all of the stratigraphic units  in the subsequent columns. This example shows formation tops and bases, but you can import tops only.  This example uses elevations; depths are also importable.

! This import tool allows you to import one or many columns from the spreadsheet.

! This tool allows you to either append new data from Excel to existing stratigraphic data in RockWorks, or to replace all existing data.

Menu Options
Step-by-Step Summary


Menu Options

Step-by-Step Summary

  1. Access the RockWorks Borehole Manager program tab. 
     
  2. If necessary, browse to the project folder in which you want to work. 
  3. Select the File | Import | CSV | CSV File -> Stratigraphy menu option to import from CSV.
    Select the File | Import | Excel | Single Table | Excel -> Stratigraphy menu option to import from XLS or XLSX.
     
  4. Select the name of the XLS or CSV file to be imported.  The program will scan the file and load the names of the columns in the Input Column Name listing.
  5. Next, specify whether you are importing for a single borehole or for multiple holes using the Import for One Borehole checkbox (as described above).
     
  6. Next, tell the program whether you are importing formation tops and bases, or just tops alone.  If the latter you can also select whether the bases are to be computed automatically (as described above).
     
  7. Choose whether the data to be imported is recorded in depths below ground or as elevations.
    ! This is important.  RockWorks will accept either.
     
  8. If you need to define the formation names for your borehole project (or add to existing formation names) click the Type Table button and make the necessary changes to the Stratigraphy Types table.
     
  9. Map the project's formations to the spreadsheet columns, as described above.  Be sure to map the borehole name column to the Borehole ID field.  You only need to map those formations you wish to import.
     
  10. Click the OK button to proceed.

The program will read the specified XLSX, XLS, CSV, or TXT file.  It will extract the data from the requested data columns and map them to the indicated database fields for the indicated boreholes.  If the input data is listed as elevations, they will be transformed to depths for posting to the database, based on the borehole's surface elevation already defined in the Location table in the project.  If you are importing tops only and have requested computation of formation bases, the program will do so at this time. 

Any existing stratigraphy for the requested columns will be overwritten.


Back to Importing Data

RockWare home page