(form "20613" (size 80 21)
  (heading "KRIGING PARAMETERS")

  (field "vg_model_file_name" 
      (position 18  2)
      (display_length  32) 
      (input allowed)
      (file (extension "*.vgm,*.not"))
      (translate none) 
      (null allowed) 
      (max_length 256)
  )

  (label (position  2  3) (text "Variogram model"))
    (field "model" 
        (position 18  3)
        (display_length  20) 
        (input allowed)
        (value_in "SPHERICAL" "NESTED SPHERICAL" "EXPONENTIAL" "GAUSSIAN" "HOLE EFFECT")
        (default "SPHERICAL")
        (translate none) 
        (null disallowed) 
        (max_length 16)
    )

  (field "rot_conv1"
        (position 20  5)
        (display_length 18) 
        (foreground (user_option "form_text_highlight"))
        (background) (input disallowed)
  )

  (label (position  2  5) (text "Number of structures"))
    (field "numstruct" 
        (position 19  5) 
        (display_length  2)
        (input allowed)
        (low_bound 1)
        (high_bound 5)
        (default "1")
        (format integer_4) 
        (null disallowed)
        (max_length 2)
        )

  (label (position  2  7) (text "Nugget (Co)"))
    (field "co" 
        (position  2  8) 
        (display_length 6) 
        (input allowed)
        (translate upper) 
        (format real_8) 
        (null disallowed) 
        (max_length 20)
        (default "0") 
        (low_bound 0) 
        )

  (label (position 14  7) (text "C(#)"))
  (label (position 23  7) (text "Range (A(#))"))
    (label 
        (position 34  7) 
        (text "Bearing"
        )
    )
    (label 
        (position 43  7) 
        (text "Pitch"
        )
    )
    (label 
        (position 53  7) 
        (text "Dip"
        )
    )
    (label 
        (position 60  7) 
        (text "major/semi"
        )
    )

  (label (position 14  8) (text "1"))
    (field "c1" 
        (position 15 8) 
        (display_length 6) 
        (input allowed)
        (default "0")
        (format real_8) 
        (decimals 6)
        (null disallowed) 
        (max_length 20) 
        )
    (field "a1" 
        (position 24 8) 
        (display_length 6) 
        (input allowed)
        (default "0")
        (format real_8) 
        (null disallowed) 
        (max_length 20) 
        )
    (field "azimuth1"
        (position 33 8) 
        (display_length  6) 
        (input allowed)
        (low_bound 0) 
        (high_bound 360)
        (translate upper) 
        (format real_8) 
        (null disallowed) 
        (max_length 20)
        (default "0")
        )
    (field "plunge1"
        (position 42 8) 
        (display_length  6) 
        (input allowed)
        (low_bound -90) 
        (high_bound 90)
        (translate upper) 
        (format real_8) 
        (null disallowed) 
        (max_length 20)
        (default "0")
        (help (field "azimuth1"))
    )
    (field "dip1"
        (position 51 8) 
        (display_length  6) 
        (input allowed)
        (low_bound -90) 
        (high_bound 90)
        (translate upper) 
        (format real_8) 
        (null disallowed) 
        (max_length 20)
        (default "0")
        (help (field "azimuth1"))
    )
    (field "semi_ratio1"
        (position 60 8) 
        (display_length 6) 
        (input allowed)
        (format real_8) 
        (null allowed) 
        (max_length 20)
        (default "1")
        (help (field "azimuth1"))
    )
    (field "minor_ratio1"
        (position 69 8) 
        (display_length 6) 
        (input allowed)
        (format real_8) 
        (null allowed) 
        (max_length 20)
        (default "1")
        (help (field "azimuth1"))
    )

  (label (position 14  9) (text "2"))
  (field "c2" (position 15 9) (display_length 6) (input allowed)
    (default "0")
    (translate upper) (format real_8) (decimals 6) (null disallowed) (max_length 20) 
    )
  (field "a2" (position 24 9) (display_length 6) (input allowed)
    (default "0")
    (translate upper) (format real_8) (null disallowed) (max_length 14) 
    )
    (field "azimuth2"
        (position 33  9) 
        (display_length  6) 
        (input allowed)
        (low_bound 0) 
        (high_bound 360)
        (translate upper) 
        (format real_8) 
        (null disallowed) 
        (max_length 20)
        (default "0")
        (help (field "azimuth1"))
    )
    (field "plunge2"
        (position 42  9) 
        (display_length  6) 
        (input allowed)
        (low_bound -90) 
        (high_bound 90)
        (translate upper) 
        (format real_8) 
        (null disallowed) 
        (max_length 20)
        (default "0")
        (help (field "azimuth1"))
    )
    (field "dip2"
        (position 51  9) 
        (display_length  6) 
        (input allowed)
        (low_bound -90) 
        (high_bound 90)
        (translate upper) 
        (format real_8) 
        (null disallowed) 
        (max_length 20)
        (default "0")
        (help (field "azimuth1"))
    )
    (field "semi_ratio2"
        (position 60 9) 
        (display_length 6) 
        (input allowed)
        (format real_8) 
        (null allowed) 
        (max_length 20)
        (default "1")
        (help (field "azimuth1"))
    )
    (field "minor_ratio2"
        (position 69 9) 
        (display_length 6)
        (input allowed)
        (format real_8) 
        (null allowed) 
        (max_length 20)
        (default "1")
        (help (field "azimuth1"))
    )

  (label (position 14 10) (text "3"))
  (field "c3" (position 15 10) (display_length 6) (input allowed)
    (default "0")
    (translate upper) (format real_8) (decimals 6) (null disallowed) (max_length 20) 
    (help (field "c2")))
  (field "a3" (position 24 10) (display_length 6) (input allowed)
    (default "0")
    (translate upper) (format real_8) (null disallowed) (max_length 14) 
    (help (field "a2")))
    (field "azimuth3"
        (position 33  10) 
        (display_length  6) 
        (input allowed)
        (low_bound 0) 
        (high_bound 360)
        (translate upper) 
        (format real_8) 
        (null disallowed) 
        (max_length 20)
        (default "0")
        (help (field "azimuth1"))
    )
    (field "plunge3"
        (position 42  10) 
        (display_length  6) 
        (input allowed)
        (low_bound -90) 
        (high_bound 90)
        (translate upper) 
        (format real_8) 
        (null disallowed) 
        (max_length 20)
        (default "0")
        (help (field "azimuth1"))
    )
    (field "dip3"
        (position 51  10) 
        (display_length  6) 
        (input allowed)
        (low_bound -90) 
        (high_bound 90)
        (translate upper) 
        (format real_8) 
        (null disallowed) 
        (max_length 20)
        (default "0")
        (help (field "azimuth1"))
    )
    (field "semi_ratio3"
        (position 60 10) 
        (display_length 6)
        (input allowed)
        (format real_8) 
        (null allowed) 
        (max_length 20)
        (default "1")
        (help (field "azimuth1"))
    )
    (field "minor_ratio3"
        (position 69 10) 
        (display_length 6)
        (input allowed)
        (format real_8) 
        (null allowed) 
        (max_length 20)
        (default "1")
        (help (field "azimuth1"))
    )

  (label (position 14 11) (text "4"))
  (field "c4" (position 15 11) (display_length 6) (input allowed)
    (default "0")
    (translate upper) (format real_8) (decimals 6) (null disallowed) (max_length 20) 
    (help (field "c2")))
  (field "a4" (position 24 11) (display_length 6) (input allowed)
    (default "0")
    (translate upper) (format real_8) (null disallowed) (max_length 14) 
    (help (field "a2")))
    (field "azimuth4"
        (position 33  11) 
        (display_length  6) 
        (input allowed)
        (low_bound 0) 
        (high_bound 360)
        (translate upper) 
        (format real_8) 
        (null disallowed) 
        (max_length 20)
        (default "0")
        (help (field "azimuth1"))
    )
    (field "plunge4"
        (position 42  11) 
        (display_length  6) 
        (input allowed)
        (low_bound -90) 
        (high_bound 90)
        (translate upper) 
        (format real_8) 
        (null disallowed) 
        (max_length 20)
        (default "0")
        (help (field "azimuth1"))
    )
    (field "dip4"
        (position 51  11) 
        (display_length  6) 
        (input allowed)
        (low_bound -90) 
        (high_bound 90)
        (translate upper) 
        (format real_8) 
        (null disallowed) 
        (max_length 20)
        (default "0")
        (help (field "azimuth1"))
    )
    (field "semi_ratio4"
        (position 60 11) 
        (display_length 6)
        (input allowed)
        (format real_8) 
        (null allowed) 
        (max_length 20)
        (default "1")
        (help (field "azimuth1"))
    )
    (field "minor_ratio4"
        (position 69 11) 
        (display_length 6)
        (input allowed)
        (format real_8) 
        (null allowed) 
        (max_length 20)
        (default "1")
        (help (field "azimuth1"))
    )

  (label (position 14 12) (text "5"))
  (field "c5" (position 15 12) (display_length 6) (input allowed)
    (default "0")
    (translate upper) (format real_8) (decimals 6) (null disallowed) (max_length 20) 
    (help (field "c2")))
  (field "a5" (position 24 12) (display_length 6) (input allowed)
    (default "0")
    (translate upper) (format real_8) (null disallowed) (max_length 14) 
    (help (field "a2")))
    (field "azimuth5"
        (position 33  12) 
        (display_length  6) 
        (input allowed)
        (low_bound 0) 
        (high_bound 360)
        (translate upper) 
        (format real_8) 
        (null disallowed) 
        (max_length 20)
        (default "0")
        (help (field "azimuth1"))
    )
    (field "plunge5"
        (position 42  12) 
        (display_length  6) 
        (input allowed)
        (low_bound -90) 
        (high_bound 90)
        (translate upper) 
        (format real_8) 
        (null disallowed) 
        (max_length 20)
        (default "0")
        (help (field "azimuth1"))
    )
    (field "dip5"
        (position 51  12) 
        (display_length  6)
        (input allowed)
        (low_bound -90) 
        (high_bound 90)
        (translate upper) 
        (format real_8) 
        (null disallowed) 
        (max_length 20)
        (default "0")
        (help (field "azimuth1"))
    )
    (field "semi_ratio5"
        (position 60 12) 
        (display_length 6)
        (input allowed)
        (format real_8) 
        (null allowed) 
        (max_length 20)
        (default "1")
        (help (field "azimuth1"))
    )
    (field "minor_ratio5"
        (position 69 12) 
        (display_length 6)
        (input allowed)
        (format real_8) 
        (null allowed) 
        (max_length 20)
        (default "1")
        (help (field "azimuth1"))
    )

  (label (position  2 14) (text "Number of descretisation points"))
  (label (position 29 14) (text "X"))
  (field "dpt0" (position 31  14) (display_length  1) (input allowed)
    (low_bound 1) (high_bound 5) (default "3")
    (format integer_4) (null disallowed) (max_length 1)
    )

  (label (position 39 14) (text "Y"))
  (field "dpt1" (position 41  14) (display_length  1) (input allowed)
    (low_bound 1) (high_bound 5) (default "3")
    (format integer_4) (null disallowed) (max_length 1)
    (help (field "dpt0")))

  (label (position 49 14) (text "Z"))
  (field "dpt2" (position 51  14) (display_length  1) (input allowed)
    (low_bound 1) (high_bound 5) (default "3")
    (format integer_4) (null disallowed) (max_length 1) 
    (help (field "dpt0")))

  (label (position  2 16) (text "REPORT_FILE_NAME"))
  (field "outfile" (position 15 16) (display_length  10) (input allowed)
    (translate lower) (null allowed) (max_length 26)
    (file output (extension trim "reports|*.not"))
    )
  (field "report_format" (position 15 17) (display_length 16)
    (input allowed) (null allowed)
    (value_in ".not - Surpac Note File"
              ".csv - Comma Separated (Spreadsheet)"
              ".htm - Hypertext Markup Language (Web)"
              ".html - Hypertext Markup Language (Web)"
              ".rtf - Rich Text Format (Microsoft Word)"
              ".pdf - Adobe Acrobat"
              ".ps - Postscript"
              ".log - Surpac log file"))

  (label (position 33 16) (text "Include debug output"))
  (field "debug" (position 51 16) (display_length  1) (input allowed)
    (value_in "Y" "N")
    (default "N")
    (translate upper) (null disallowed) (max_length 1)
    )

  (label (position 20 18) (text "Constrain interpolation"))
  (field "constrain" (position 42 18) (display_length  1) (input allowed)
    (value_in "Y" "N")
    (default "N")
    (translate upper) (null allowed) (max_length 1)
    )

  (label
    (position 20 19)
    (text "Mean")
  )
  (field "sktype" (position 41 19) (display_length 6) (max_length 32) (input allowed) (null allowed))
  (field "skmeanatt" (position 41 19) (display_length  6) (max_length "BM_MAX_ATT_NAME_LEN") (input allowed) (null allowed))
  (field "skmean" (position 42 19) (display_length  6) (input allowed)
    (format real_8) (null allowed) (max_length 6) (default "0")
    )
  (field "skdfield" (position 43 19) (display_length  7) (input allowed)
    (max_length 4) (null allowed)
    (format string_field)
        (value_in
            "D1" "D2" "D3" "D4" "D5" "D6" "D7" "D8" "D9" "D10"
            "D11" "D12" "D13" "D14" "D15" "D16" "D17" "D18" "D19" "D20"
            "D21" "D22" "D23" "D24" "D25" "D26" "D27" "D28" "D29" "D30"
            "D31" "D32" "D33" "D34" "D35" "D36" "D37" "D38" "D39" "D40"
            "D41" "D42" "D43" "D44" "D45" "D46" "D47" "D48" "D49" "D50"
            "D51" "D52" "D53" "D54" "D55" "D56" "D57" "D58" "D59" "D60"
            "D61" "D62" "D63" "D64" "D65" "D66" "D67" "D68" "D69" "D70"
            "D71" "D72" "D73" "D74" "D75" "D76" "D77" "D78" "D79" "D80"
            "D81" "D82" "D83" "D84" "D85" "D86" "D87" "D88" "D89" "D90"
            "D91" "D92" "D93" "D94" "D95" "D96" "D97" "D98" "D99" "D100"
        )
        (default "")
   )
   (field "sksourcemeanatt" (position 44 19) (display_length  6) (max_length "BM_MAX_ATT_NAME_LEN") (input allowed) (null allowed))

  (field "third_axis" (position 51  14) (display_length  3) (input disallowed))

  (default_buttons)
)
