Fm Tops by source

 

Petra can store a source code for every top.  This source code is typically a user's initials, but can also reflect the origin of the top (such as GRID in the example below for formation tops sampled from a grid rather than correlated by hand.)  Each source code can be up to 32 characters long. By default, all users can modify tops of any source code.

To restrict formation tops based on source code, select the button on the bottom of the Main Module's FmTops tab.

The Show Tops By Source Tool limits how tops are displayed.  Only the tops with the selected source codes display anywhere in Petra.

 

Show all Sources - This option shows all tops for all sources in the project.

Show Tops For Selected Sources Below - This option only shows tops with the selected source code or codes.  Tops without these selected source codes WILL NOT appear elsewhere in Petra, including the Map and Cross Section Modules.

FmTops Source Code Administrative Options

By default, all users with write access to the database server can modify all tops in the database, regardless of source.  By modifying the "Petra.INI" file, administrators can set the project to only allow users to modify tops with their source code.  When this feature is active, users are prompted for their source code when they start up Petra. It is kept in the registry, so they only need to enter it once.  To implement the top source restriction mechanism, modify Petra.INI with the following lines:

USERSOURCE]

ENABLED=1

BLANKS=1

ADMINLIST=<comma separated list of user's source codes>

 

ENABLED= - This line enables (ENABLED=1) or disables (ENABLED=0) source code restriction.

BLANKS= - This line controls whether users can modify tops with a blank source code.  When this option is BLANKS=0, all users can modify a top with a blank source code.  When this option is instead BLANKS=1, only administrators can modify a top with a blank source code.

ADMINLIST= - This line sets up a comma-delimited list of user source codes who have "administrator" rights.