Semivariogram Sensitivity (Geostatisical Analyst)

Summary

Performs a sensitivity analysis with varying Nugget, Partial Sill, and Range values.

Usage

Syntax

GASemivariogramSensitivity_ga (in_ga_model_source, in_datasets, in_locations, {nugget_span_percents}, {nugget_calc_times}, {partialsill_span_percents}, {partialsill_calc_times}, {range_span_percents}, {range_calc_times}, {minrange_span_percents}, {minrange_calc_times}, out_table)
ParameterExplanationData Type
in_ga_model_source

The geostatistical model source to be analyzed.

File; Geostatistical Layer
in_datasets
[in_dataset,...]

Input datasets displays two pieces:

  • Dataset — The path and the name of the input data.
  • Field — The name of the required field.
Geostatistical Value Table
in_locations

Point locations where the sensitivity analysis is performed.

Feature Layer
nugget_span_percents
(Optional)

The percentage subtracted and added to the Nugget parameter to create a range for subsequent random Nugget parameter selection.

Double
nugget_calc_times
(Optional)

Number of random Nugget values drawn from the Nugget span.

Long
partialsill_span_percents
(Optional)

Percentage subtracted from and added to the Partial Sill parameter to create a range for random Partial Sill selection.

Double
partialsill_calc_times
(Optional)

Number of random Partial Sill values drawn from the Partial Sill span.

Long
range_span_percents
(Optional)

Percentage subtracted and added to the Major Range parameter to create a range for a random Major Range selection.

Double
range_calc_times
(Optional)

Number of random Major Range values drawn from the Major Range span.

Long
minrange_span_percents
(Optional)

Percentage subtracted and added to the Minor Range parameter to create a range for random Minor Range selection.

Double
minrange_calc_times
(Optional)

Number of random Minor Range values drawn from the Minor Range span. If Anisotropy has been set in <in_geostat_layer>, a value is required.

Long
out_table

Table storing the sensitivity results.

Table

Code Sample

SemivariogramSensitivity example 1 (Python window)

Performs a sensitivity analysis by varying the Nugget, Partial Sill, and Range values.

import arcpy
arcpy.env.workspace = "C:/gapyexamples/data"
arcpy.GASemivariogramSensitivity_ga(
    "C:/gapyexamples/data/kriging.lyr", "C:/gapyexamples/data/ca_ozone_pts.shp OZONE",
    "C:/gapyexamples/data/obs_pts.shp", "", "", "", "", "", "", "", "", 
    "C:/gapyexamples/output/outtabSS") 
SemivariogramSensitivity example 2 (stand-alone script)

Performs a sensitivity analysis by varying the Nugget, Partial Sill, and Range values.

# Name: SemivariogramSensitivity_Example_02.py
# Description: The semivariogram parameters Nugget, Partial Sill and Range can
#   be varied to perform a sensitivity analysis.
# Requirements: Geostatistical Analyst Extension

# Import system modules
import arcpy

# Set environment settings
arcpy.env.workspace = "C:/gapyexamples/data"

# Set local variables
inLayer = "C:/gapyexamples/data/kriging.lyr"
inData = "C:/gapyexamples/data/ca_ozone_pts.shp OZONE"
inObs = "C:/gapyexamples/data/obs_pts.shp"
nugPercents = ""
nugCalc = ""
sillPercents = ""
sillCalc = ""
rangePercents = ""
rangeClac = ""
minrangePercent = ""
midrangeCalc = ""
outTable = "C:/gapyexamples/output/outtabSS"

# Check out the ArcGIS Geostatistical Analyst extension license
arcpy.CheckOutExtension("GeoStats")

# Execute SemivariogramSensitivity
arcpy.GASemivariogramSensitivity_ga(inLayer, inData, inObs, nugPercents, nugCalc,
                                    sillPercents, sillCalc, rangePercents, rangeClac,
                                    minrangePercent, midrangeCalc, outTable)

Environments

Related Topics

Licensing Information

ArcView: Requires Geostatistical Analyst
ArcEditor: Requires Geostatistical Analyst
ArcInfo: Requires Geostatistical Analyst

6/24/2013