类 HYSPLITPartDataInfo
- java.lang.Object
-
- org.meteoinfo.data.meteodata.DataInfo
-
- org.meteoinfo.data.meteodata.hysplit.HYSPLITPartDataInfo
-
- 所有已实现的接口:
IStationDataInfo
public class HYSPLITPartDataInfo extends DataInfo implements IStationDataInfo
- 作者:
- yaqiang
-
-
字段概要
-
从类继承的字段 org.meteoinfo.data.meteodata.DataInfo
attributes, dimensions, fileName, isGlobal, meteoDataType, missingValue, projInfo, tDim, variables, xDim, xReverse, yDim, yReverse, zDim
-
-
构造器概要
构造器 构造器 说明 HYSPLITPartDataInfo()Constructor
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 List<Attribute>getGlobalAttributes()Get global attributesintgetSkipNBytes()Get skip bytes numberStationDatagetStationData(int timeIdx, String varName, int levelIdx)Read station dataStationInfoDatagetStationInfoData(int timeIdx, int levelIdx)Read station info dataStationModelDatagetStationModelData(int timeIdx, int levelIdx)Read station model databooleanisValidFile(RandomAccessFile raf)org.meteoinfo.ndarray.Arrayread(String varName)Read array data of a variableorg.meteoinfo.ndarray.Arrayread(String varName, int[] origin, int[] size, int[] stride)Read array data of the variableDataFramereadDataFrame(int timeIdx)Read data framevoidreadDataInfo(String fileName)Read data infovoidsetSkipNBytes(int value)Set skip bytes number-
从类继承的方法 org.meteoinfo.data.meteodata.DataInfo
addAttribute, addDimension, addVariable, findGlobalAttribute, generateInfoText, getDataType, getDimensions, getFileName, getMissingValue, getPlottableVariables, getProjectionInfo, getTime, getTimeDimension, getTimeNum, getTimes, getTimeValue, getTimeValue, getTimeValues, getVariable, getVariableIndex, getVariableNames, getVariableNum, getVariables, getXDimension, getYDimension, getZDimension, isGlobal, isRadial, isXReverse, isYReverse, readDataInfo, readDimArray, readDimArray, readDimArray, setDataType, setDimensions, setFileName, setGlobal, setMissingValue, setProjectionInfo, setTimeDimension, setTimes, setVariables, setXDimension, setXReverse, setYDimension, setYReverse, setZDimension
-
-
-
-
方法详细资料
-
getSkipNBytes
public int getSkipNBytes()
Get skip bytes number- 返回:
- Skip bytes number
-
setSkipNBytes
public void setSkipNBytes(int value)
Set skip bytes number- 参数:
value- Skip bytes number
-
isValidFile
public boolean isValidFile(RandomAccessFile raf)
- 指定者:
isValidFile在类中DataInfo
-
readDataInfo
public void readDataInfo(String fileName)
从类复制的说明:DataInfoRead data info- 指定者:
readDataInfo在类中DataInfo- 参数:
fileName- File name
-
getGlobalAttributes
public List<Attribute> getGlobalAttributes()
Get global attributes- 覆盖:
getGlobalAttributes在类中DataInfo- 返回:
- Global attributes
-
read
public org.meteoinfo.ndarray.Array read(String varName)
Read array data of a variable
-
read
public org.meteoinfo.ndarray.Array read(String varName, int[] origin, int[] size, int[] stride)
Read array data of the variable
-
readDataFrame
public DataFrame readDataFrame(int timeIdx)
Read data frame- 参数:
timeIdx- Time index- 返回:
- Data frame
-
getStationData
public StationData getStationData(int timeIdx, String varName, int levelIdx)
从接口复制的说明:IStationDataInfoRead station data- 指定者:
getStationData在接口中IStationDataInfo- 参数:
timeIdx- Time indexvarName- Variable namelevelIdx- Level index- 返回:
- Station data
-
getStationInfoData
public StationInfoData getStationInfoData(int timeIdx, int levelIdx)
从接口复制的说明:IStationDataInfoRead station info data- 指定者:
getStationInfoData在接口中IStationDataInfo- 参数:
timeIdx- Time indexlevelIdx- Level index- 返回:
- Station info data
-
getStationModelData
public StationModelData getStationModelData(int timeIdx, int levelIdx)
从接口复制的说明:IStationDataInfoRead station model data- 指定者:
getStationModelData在接口中IStationDataInfo- 参数:
timeIdx- Time indexlevelIdx- Level index- 返回:
- Station model data data
-
-