batch-ip-accum

Table of Contents

Introduction

Batch version of the Default MineSight Interactive Planner (MSIP) accumulation script.

This batch version differs from the Default IP script as the batch version only accumulates all the reserves and does not show current cut because there is not a current cut in batch mode.

This script can be run from command line. It is not recommended to run from the IP tool because of the active state of the AGDM.

The DSN (or DSN/user/pswd) for the AGDM and the ipset plan name MUST be specified for this script to run.

There are two ways to indicate what DSN and ipset plan name to use:

  1. Hardcode the names below in the global variables DSN_STRING = "my dsn" and PLAN_NAME = "my plan".
  2. Execute the script from command line with arguments:
batch-ip-accum.py mydsn myplan

If there are no command line arguments, the hardcoded global values are used. If there are command line arguments, they are used.

Dependencies

Python: 2.2.[3-*]
MineSight 3D: 4.00.*
MineSight Grail: 4.00.*

Revision History

18.06.2007, v4.00, RFE #7646,
  • starting with Standard ip-accum.py script, modify to allow it to run in batch mode & rename to batch-ip-accum.py
  • add command line arguments indicating DSN & ip plan name so it can be run repeatedly with different args without having to change the code.
05.02.2007, RFE #5192
  • Add swell factor options.
16.03.2006, RFE #2897
  • Add global constant CUTOFF_REPORTING to allow user to configure option to report everything above cutoffs or within cutoffs. Also added user configurable grade decimal places option.
27.02.2006, RFE #3341
  • Add global constant ORDER_GRADES to allow user to configure whether to present grade items in the order entered in IP or to present grades ordered alphabetically

User Configuration Options

If the configuration options are changed, this script should be saved under a new name to prevent your setting from being overwritten when new releases are installed.

License Agreement

The Original Code is "batch-ip-accum.py".

Copyright (C) 2014 Leica Geosystems. All Rights Reserved. MineSight(R) is a registered trademark of Leica Geosystems.