Extract Samples

Objective

The Extract Samples functionality is designed to create a new output file from a selection on an input file. Three Extraction Modes are available allowing the extraction of points (2D or 3D), the extraction of boreholes and the extraction of sub-blocks (2D or 3D)

Extraction of points

The Extraction of points mode enables you to create a new output points data table (2D or 3D) from a selection on an input data table.

This application enables you to extract one or several variables from a data table and to copy them into a new points file. This new points file will contain as many samples as there are selected samples in the input file. The coordinates of the output samples are those of the input selected samples. If the specified file already exists, it will be overwritten. The files can be 2D or 3D.

  • Input data:

    • Data table: Click Data table to open a Data Selector to select the data on which the Extract Samples task will be applied. The Data table can also be dragged and dropped directly from the Data tab. The input data table can be of any type: Grid, Borehole assays, Sub-blocks or Points, 2D or 3D, but it will be considered and extracted as a points data table in output.
    • Selection: Choose a Selection variable to define which subset of the data you want to extract. It can be a selection variable (binary) or a categorical variable. In the second case, select the different categories you want to consider.
    • By default all the variables contained in the input data table are copied. Untick the Copy all available variables option to choose the variable(s) which will be extracted. There is no restriction on the number of variables as the program may copy as many variables as you wish, but each variable will be treated separately. Variables can be of any type: numerical, categorical, alphanumerical or selection variables.
  • Output data:

    • File: Define the new output points file where the variables will be copied. The names of the input variables will be kept as the names of the corresponding output variables in the output file. A new points file will be created with as many samples as there are selected samples in the input data table. It will be 2D or 3D according to the dimensions of the input data table. The coordinates of the samples are those of the selected samples.
    • Tick the Keep a copy of the original Sample Number option to copy the Sample Number variable as an ID of the original data table.
  • Click Run to create the new output points file. If the file already exists, a warning message is issued to ask you for confirmation. After confirmation, the previous file will be deleted and rebuilt.
  • The output data table can be displayed in a 2D/3D view in the standard way (Drag & Drop from the Data Explorer to the Map/3D view) at the end of the run. However it is possible to automatically display the result of the run by ticking the Display output file in toggle and selecting a scene. A layer will be created in the corresponding 2D/3D scene.

Extraction of boreholes

The Extraction of boreholes mode enables you to create a new boreholes file from selection(s) on an existing boreholes file.

This application enables you to remove useless boreholes from a boreholes file.

  • If a selection variable is activated on the tops data table, only the selected tops will be copied into the output boreholes file. The samples in the input boreholes file for which the linked tops are not selected will not be copied into the new boreholes file.
  • If a selection variable is activated in the input boreholes data table(s), only the selected boreholes samples will be copied into the output boreholes file.
  • To ensure the continuity of the boreholes file, the not selected samples between two selected samples along a borehole, are replaced by a sample with undefined values (N/A).

  • Input data:

    • Boreholes file: Click Boreholes file to open a Data Selector to select the file on which the Extract Samples task will be applied. The Boreholes file can also be dragged and dropped directly from the Data tab.
    • Selection on tops: Choose a Selection variable to define which subset of the boreholes you want to extract. This selection is contained in the tops data table. It can be a selection variable (binary) or a categorical variable. In the second case, select the different categories you want to consider.
    • By default all the assays contained in the input boreholes file are copied. Untick the Extract all data tables option to choose the assays data table(s) which will be extracted. There is no restriction on the number of assays data tables. For each assay support, you can define a Selection variable to consider only a part of your assays (corresponding to a dedicated domain for example).
  • Output data:

    • File: Define the new output boreholes File where the variables will be copied. The names of the input assays will be kept as the names of the corresponding output assays in the output file (and the corresponding variables). A new boreholes file will be created with as many boreholes tops as there are selected boreholes tops in the input file. The coordinates of the tops are those of the selected tops.
    • Tick the Keep a copy of the original Sample Number option to copy for each assays data table the Sample Number variable as an ID of the original assays data table.
  • Click Run to create the new output boreholes file. If the file already exists, a warning message is issued to ask you for confirmation. After confirmation, the previous file will be deleted and rebuilt.
  • The output boreholes file can be displayed in a 2D/3D view in the standard way (Drag & Drop from the Data Explorer to the Map/3D view) at the end of the run. However it is possible to automatically display the result of the run by ticking the Display output file in toggle and selecting a scene. A layer will be created in the corresponding 2D/3D scene.

Extraction of sub-blocks

The Extraction of sub-block mode enables you to extract one or several variables from a selection on an existing sub-blocks file and to create a new sub-blocks file. The file can be 2D or 3D.

This mode allows you to keep the original geometry of your sub-blocks file and the link with a potential parent grid.

  • Input data:

    • Sub-block model file: Click Sub-block model file to open a Data Selector to select the file on which the Extract Samples task will be applied. The Sub-block model file can also be dragged and dropped directly from the Data tab.
    • Selection: Choose a Selection variable to define which subset of the sub-blocks model you want to extract. It can be a selection variable (binary) or a categorical variable. In the second case, select the different categories you want to consider.
    • By default all the variables contained in the input sub-blocks file are copied. Untick the Copy all available variables option to choose the variable(s) which will be extracted. There is no restriction on the number of variables as the program may copy as many variables as you wish, but each variable will be treated separately. Variables can be of any type: numerical, categorical, alphanumerical or selection variables.
  • Output data:

    • Sub-blocks file: Define the new output sub-blocks file where the variables will be copied. The names of the input variables will be kept as the names of the corresponding output variables in the output file. A new sub-blocks file will be created with as many sub-blocks as there are selected sub-blocks in the input data table. It will be 2D or 3D according to the dimensions of the input data table. The coordinates of the sub-blocks are those of the selected sub-blocks.
    • Tick the Keep a copy of the original Sample Number option to copy for each assays data table the Sample Number variable as an ID of the original sub-blocks file.
  • Click Run to create the new output sub-blocks file. If the file already exists, a warning message is issued to ask you for confirmation. After confirmation, the previous file will be deleted and rebuilt.
  • The output sub-blocks file can be displayed in a 2D/3D view in the standard way (Drag & Drop from the Data Explorer to the Map/3D view) at the end of the run. However it is possible to automatically display the result of the run by ticking the Display output file in toggle and selecting a scene. A layer will be created in the corresponding 2D/3D scene.