IStationDataInfopublic class LonLatStationDataInfo extends DataInfo implements IStationDataInfo
| 构造器 | 说明 |
|---|---|
LonLatStationDataInfo() |
Constructor
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
String |
generateInfoText() |
Generate data info text
|
List<ucar.nc2.Attribute> |
getGlobalAttributes() |
Get global attributes
|
StationData |
getNullStationData() |
Get Lon/Lat station data - all data are missing data
|
StationData |
getStationData(int timeIdx,
int varIdx,
int levelIdx) |
Read station data
|
StationInfoData |
getStationInfoData(int timeIdx,
int levelIdx) |
Read station info data
|
StationModelData |
getStationModelData(int timeIdx,
int levelIdx) |
Read station model data
|
ucar.ma2.Array |
read(String varName) |
Read array data of a variable
|
ucar.ma2.Array |
read(String varName,
int[] origin,
int[] size,
int[] stride) |
Read array data of the variable
|
void |
readDataInfo(String fileName) |
Read data info
|
addAttribute, addDimension, addVariable, getDataType, getDimensions, getFileName, getMissingValue, getPlottableVariables, getProjectionInfo, getTime, getTimeDimension, getTimeNum, getTimes, getTimeValue, getTimeValue, getTimeValues, getVariable, getVariableNames, getVariableNum, getVariables, getXDimension, getYDimension, getZDimension, isGlobal, isXReverse, isYReverse, readDataInfo, setDataType, setDimensions, setFileName, setGlobal, setMissingValue, setProjectionInfo, setTimeDimension, setTimes, setVariables, setXDimension, setXReverse, setYDimension, setYReverse, setZDimensionpublic void readDataInfo(String fileName)
DataInforeadDataInfo 在类中 DataInfofileName - File namepublic List<ucar.nc2.Attribute> getGlobalAttributes()
getGlobalAttributes 在类中 DataInfopublic String generateInfoText()
DataInfogenerateInfoText 在类中 DataInfopublic ucar.ma2.Array read(String varName)
public ucar.ma2.Array read(String varName, int[] origin, int[] size, int[] stride)
public StationData getStationData(int timeIdx, int varIdx, int levelIdx)
IStationDataInfogetStationData 在接口中 IStationDataInfotimeIdx - Time indexvarIdx - Variable indexlevelIdx - Level indexpublic StationInfoData getStationInfoData(int timeIdx, int levelIdx)
IStationDataInfogetStationInfoData 在接口中 IStationDataInfotimeIdx - Time indexlevelIdx - Level indexpublic StationModelData getStationModelData(int timeIdx, int levelIdx)
IStationDataInfogetStationModelData 在接口中 IStationDataInfotimeIdx - Time indexlevelIdx - Level indexpublic StationData getNullStationData() throws FileNotFoundException, UnsupportedEncodingException, IOException
FileNotFoundExceptionUnsupportedEncodingExceptionIOExceptionCopyright © 2019. All rights reserved.