public class NetCDFDataParametersImpl extends AbstractRasterFileDataParameters implements NetCDFDataParameters
delegatedDynObject, DYNCLASS_NAME
PERSISTENT_DESCRIPTION, PERSISTENT_NAME
FIELD_LEVEL, FIELD_TIME, FIELD_VARIABLE, FIELD_XDIM, FIELD_YDIM
DONT_CHANGE_PROJECTION, FIELD_CRS, FIELD_RMF_FOLDER, FIELD_URI, NEW_PROJETION_TO_THE_LAYER, NOT_LOAD, ON_THE_FLY, REPROJECT_DATA, REPROJECT_VIEW
Constructor and Description |
---|
NetCDFDataParametersImpl() |
Modifier and Type | Method and Description |
---|---|
String |
getDataStoreName()
Returns the DataStore's name
|
String |
getDescription()
Returns the DataStore's description
|
int |
getFieldLevel()
Gets the level selected in the list of levels of the selected variable
|
int |
getFieldTime()
Gets the last instant position selected in the list of instants.
|
ArrayList<String[]> |
getGridVariables()
Gets the list of grids
|
double[] |
getLevelList(String var)
Gets the number of levels of one variable
|
String |
getStringLevel()
Gets the last selected field as a String
|
String |
getStringTime()
Sets the time selecting its position in the list of times
|
String |
getStringVariable()
Gets the last selected variable as a String
|
Date[] |
getTimeList(String var)
Gets the list of dates
|
ArrayList<Variable> |
getVariables()
Gets the list of grids
|
String |
getXDimVariable()
Gets the variable's name of the X dimension
|
String |
getYDimVariable()
Gets the variable's name of the Y dimension
|
void |
goTo(int position)
Goes to the selected position in the image list
|
protected void |
initialize() |
static DynStruct |
registerDynClass() |
void |
selectNextInstant()
Selects the next instant.
|
void |
selectPrevInstant()
Selects the previous instant.
|
void |
setFieldLevel(int levelPosInList)
Sets the level selecting its position in the list of levels
|
void |
setFieldTime(int timePosInList)
Sets the time selecting its position in the list of times
|
void |
setFieldVariable(String variable)
Sets the variable
|
getDelegatedDynObject, getFile, isOverridingHost, setFile, setOverrideHost
assignFields, getAlphaBand, getFrame, getReprojectionOption, getRMFFolder, getSRS, getSRSID, getURI, isSourceTiled, isValid, isVisible, registerDynClass, setAlphaBand, setFrame, setReprojectionOption, setRMFFolder, setSRS, setSRSID, setURI, setVisible
clear, copyValuesTo, delegate, getCopy, getDynClass, getDynValue, hasDynValue, implement, invokeDynMethod, invokeDynMethod, loadFromState, saveToState, setDynValue, toString, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
setFile
assignFields, getAlphaBand, getFrame, getReprojectionOption, getRMFFolder, getSRS, getSRSID, getURI, isOverridingHost, isSourceTiled, isValid, isVisible, setAlphaBand, setFrame, setOverrideHost, setReprojectionOption, setRMFFolder, setSRS, setSRSID, setURI, setVisible
clear, getCopy, validate
loadFromState, saveToState
delegate, getDynClass, getDynValue, hasDynValue, implement, invokeDynMethod, invokeDynMethod, setDynValue
protected void initialize()
public static DynStruct registerDynClass()
public ArrayList<Variable> getVariables() throws IOException
getVariables
in interface NetCDFDataParameters
IOException
public ArrayList<String[]> getGridVariables() throws IOException
getGridVariables
in interface NetCDFDataParameters
IOException
public Date[] getTimeList(String var)
getTimeList
in interface NetCDFDataParameters
var
- public double[] getLevelList(String var)
getLevelList
in interface NetCDFDataParameters
var
- public String getXDimVariable()
getXDimVariable
in interface NetCDFDataParameters
public String getYDimVariable()
getYDimVariable
in interface NetCDFDataParameters
public String getDataStoreName()
DataStoreParameters
getDataStoreName
in interface DataStoreParameters
public String getDescription()
DataStoreParameters
getDescription
in interface DataStoreParameters
public void selectNextInstant()
TimeStoreParameters
selectNextInstant
in interface TimeStoreParameters
selectNextInstant
in interface NetCDFDataParameters
public void selectPrevInstant()
TimeStoreParameters
selectPrevInstant
in interface TimeStoreParameters
selectPrevInstant
in interface NetCDFDataParameters
public void goTo(int position)
TimeStoreParameters
goTo
in interface TimeStoreParameters
goTo
in interface NetCDFDataParameters
public int getFieldTime()
TimeStoreParameters
getFieldTime
in interface TimeStoreParameters
getFieldTime
in interface NetCDFDataParameters
public int getFieldLevel()
NetCDFDataParameters
getFieldLevel
in interface NetCDFDataParameters
public String getStringVariable()
MultiDimensionalStoreParameters
getStringVariable
in interface MultiDimensionalStoreParameters
getStringVariable
in interface NetCDFDataParameters
public String getStringLevel()
MultiDimensionalStoreParameters
getStringLevel
in interface MultiDimensionalStoreParameters
getStringLevel
in interface NetCDFDataParameters
public String getStringTime()
TimeStoreParameters
getStringTime
in interface TimeStoreParameters
getStringTime
in interface NetCDFDataParameters
public void setFieldVariable(String variable)
MultiDimensionalStoreParameters
setFieldVariable
in interface MultiDimensionalStoreParameters
setFieldVariable
in interface NetCDFDataParameters
public void setFieldTime(int timePosInList)
TimeStoreParameters
setFieldTime
in interface TimeStoreParameters
setFieldTime
in interface NetCDFDataParameters
public void setFieldLevel(int levelPosInList)
MultiDimensionalStoreParameters
setFieldLevel
in interface MultiDimensionalStoreParameters
setFieldLevel
in interface NetCDFDataParameters