com.esri.arcgis.datasourcesnetCDF
Interface INetCDFWorkspace

All Superinterfaces:
Serializable
All Known Implementing Classes:
INetCDFWorkspaceProxy, NetCDFWorkspace

public interface INetCDFWorkspace
extends Serializable

Provides access to members that control a NetCDF workspace.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 IStringArray getAttributeNames(String varName)
          The array of global or variable specific attribute names.
 Object getAttributeValue(String varName, String attName, int valueIndex)
          The attribute value for a specified variable and an attribute name or keyword.
 int getDimensionIndex(String dimName, Object vValue)
          The dimension index for a specified dimension and value.
 IStringArray getDimensions()
          The array of dimension items.
 IStringArray getDimensionsByVariable(String varName)
          The dimension items for a specified variable.
 int getDimensionSize(String dimName)
          The size or length of a specified dimension.
 Object getDimensionValue(String dimName, int index)
          The dimension value for a specified dimension and index.
 IVariantArray getDimensionValues(String dimName)
          The values for a specified dimension.
 int getFieldType(String name)
          The field type of a variable or dimension.
 int getIndexFromValue(String name, Object value)
          Return the index of a specified variable or dimension value.
 ISpatialReference getSpatialReference(String varName, String xDim, String yDim)
          The spatial reference for a variable.
 Object getValueFromIndex(int index, String name)
          The dimension or variable value for a given index.
 IStringArray getVariables()
          The array of variable strings.
 IStringArray getVariablesByDimension(String dimName)
          All variables having the specified dimension name.
 

Method Detail

getVariables

IStringArray getVariables()
                          throws IOException,
                                 AutomationException
The array of variable strings.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
A reference to a com.esri.arcgis.system.IStringArray
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDimensions

IStringArray getDimensions()
                           throws IOException,
                                  AutomationException
The array of dimension items.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
A reference to a com.esri.arcgis.system.IStringArray
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAttributeNames

IStringArray getAttributeNames(String varName)
                               throws IOException,
                                      AutomationException
The array of global or variable specific attribute names.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
varName - The varName (in)
Returns:
A reference to a com.esri.arcgis.system.IStringArray
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDimensionSize

int getDimensionSize(String dimName)
                     throws IOException,
                            AutomationException
The size or length of a specified dimension.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
dimName - The dimName (in)
Returns:
The dimSize
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDimensionsByVariable

IStringArray getDimensionsByVariable(String varName)
                                     throws IOException,
                                            AutomationException
The dimension items for a specified variable.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
varName - The varName (in)
Returns:
A reference to a com.esri.arcgis.system.IStringArray
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getVariablesByDimension

IStringArray getVariablesByDimension(String dimName)
                                     throws IOException,
                                            AutomationException
All variables having the specified dimension name.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
dimName - The dimName (in)
Returns:
A reference to a com.esri.arcgis.system.IStringArray
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDimensionValue

Object getDimensionValue(String dimName,
                         int index)
                         throws IOException,
                                AutomationException
The dimension value for a specified dimension and index.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
dimName - The dimName (in)
index - The index (in)
Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDimensionIndex

int getDimensionIndex(String dimName,
                      Object vValue)
                      throws IOException,
                             AutomationException
The dimension index for a specified dimension and value.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
dimName - The dimName (in)
vValue - A Variant (in)
Returns:
The index
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAttributeValue

Object getAttributeValue(String varName,
                         String attName,
                         int valueIndex)
                         throws IOException,
                                AutomationException
The attribute value for a specified variable and an attribute name or keyword.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
varName - The varName (in)
attName - The attName (in)
valueIndex - The valueIndex (in)
Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDimensionValues

IVariantArray getDimensionValues(String dimName)
                                 throws IOException,
                                        AutomationException
The values for a specified dimension.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
dimName - The dimName (in)
Returns:
A reference to a com.esri.arcgis.system.IVariantArray
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSpatialReference

ISpatialReference getSpatialReference(String varName,
                                      String xDim,
                                      String yDim)
                                      throws IOException,
                                             AutomationException
The spatial reference for a variable.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
varName - The varName (in)
xDim - The xDim (in)
yDim - The yDim (in)
Returns:
A reference to a com.esri.arcgis.geometry.ISpatialReference
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFieldType

int getFieldType(String name)
                 throws IOException,
                        AutomationException
The field type of a variable or dimension.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
name - The name (in)
Returns:
A com.esri.arcgis.geodatabase.esriFieldType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getValueFromIndex

Object getValueFromIndex(int index,
                         String name)
                         throws IOException,
                                AutomationException
The dimension or variable value for a given index.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
index - The index (in)
name - The name (in)
Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getIndexFromValue

int getIndexFromValue(String name,
                      Object value)
                      throws IOException,
                             AutomationException
Return the index of a specified variable or dimension value.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
name - The name (in)
value - A Variant (in)
Returns:
The index
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.