类 StationTableData
- java.lang.Object
-
- org.meteoinfo.table.DataTable
-
- org.meteoinfo.data.TableData
-
- org.meteoinfo.data.StationTableData
-
public class StationTableData extends TableData
- 作者:
- yaqiang
-
-
字段概要
-
从类继承的字段 org.meteoinfo.data.TableData
missingValue
-
-
构造器概要
构造器 构造器 说明 StationTableData()Constructor
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 java.lang.Objectclone()CloneintgetLatIndex()Get latitude column indexintgetLonIndex()Get longitude column indexProjectionInfogetProjectionInfo()Get projection infointgetStationIndex()Get station column indexvoidreadASCIIFile(java.lang.String fileName, int lonIdx, int latIdx)Read data table from ASCII filevoidreadASCIIFile(java.lang.String fileName, int stIdx, int lonIdx, int latIdx)Read data table from ASCII filevoidsetLatIndex(int value)Set Latitude column indexvoidsetLonIndex(int value)Set longitude column indexvoidsetProjectionInfo(ProjectionInfo value)Set projection infovoidsetStationIndex(int value)Set station column index-
从类继承的方法 org.meteoinfo.data.TableData
addColumnData, addColumnData, ave_DayOfWeek, ave_HourOfDay, ave_Month, ave_MonthOfYear, ave_SeasonOfYear, ave_stdev, ave_Year, average, columnToDouble, getDataByDayOfWeek, getDataByHour, getDataByMonth, getDataBySeason, getDataByYear, getDataByYearMonth, getDataByYearMonth, getDataColumns, getMissingValue, getRow, getTimeColName, getValidColumnValues, getValidColumnValues, getYearMonths, getYears, join, join, readASCIIFile, readASCIIFile, readASCIIFile, readASCIIFile, removeColumn, setColumnData, setMissingValue, sqlSelect, statistics, statistics, sum, toSingleRowTable, toSingleRowTable, toSingleRowTable
-
从类继承的方法 org.meteoinfo.table.DataTable
addColumn, addColumn, addColumn, addColumn, addColumnData, addColumnData, addColumnData, addRow, addRow, addRows, appendRow, avg, avg, cloneTable_Field, colSelect, findColumn, findColumns, findColumns_Index, getColumnCount, getColumnData, getColumnData, getColumnData, getColumnNames, getColumns, getRowCount, getRows, getRows, getRows, getTableName, getTag, getTotalCount, getValue, getValue, hasTimeColumn, head, isReadOnly, join, join, join, max, max, min, min, newRow, removeColumn, removeJoin, removeRow, removeRow, removeRows, renameColumn, renameColumn, renameColumn, saveAsASCIIFile, saveAsASCIIFile, saveAsASCIIFile_format, saveAsCSVFile, saveAsCSVFile, select, select, select, select, select, select, select, select, select, select, select, select, setColumnData, setReadOnly, setRows, setTableName, setTag, setValue, setValue, setValues, tail, toString, toString, toString, toString
-
-
-
-
方法详细资料
-
getProjectionInfo
public ProjectionInfo getProjectionInfo()
Get projection info- 返回:
- Projection info
-
setProjectionInfo
public void setProjectionInfo(ProjectionInfo value)
Set projection info- 参数:
value- Projection info
-
getStationIndex
public int getStationIndex()
Get station column index- 返回:
- Station column index
-
setStationIndex
public void setStationIndex(int value)
Set station column index- 参数:
value- Statin column index
-
getLonIndex
public int getLonIndex()
Get longitude column index- 返回:
- Longitude column index
-
setLonIndex
public void setLonIndex(int value)
Set longitude column index- 参数:
value- Longitude column index
-
getLatIndex
public int getLatIndex()
Get latitude column index- 返回:
- Latitude column index
-
setLatIndex
public void setLatIndex(int value)
Set Latitude column index- 参数:
value- Latitude column index
-
readASCIIFile
public void readASCIIFile(java.lang.String fileName, int lonIdx, int latIdx) throws java.io.FileNotFoundException, java.io.IOException, java.lang.ExceptionRead data table from ASCII file- 参数:
fileName- File namelonIdx- Longitude indexlatIdx- Latitude index- 抛出:
java.io.FileNotFoundExceptionjava.io.IOExceptionjava.lang.Exception
-
readASCIIFile
public void readASCIIFile(java.lang.String fileName, int stIdx, int lonIdx, int latIdx) throws java.io.FileNotFoundException, java.io.IOException, java.lang.ExceptionRead data table from ASCII file- 参数:
fileName- File namestIdx- Station column indexlonIdx- Longitude column indexlatIdx- Latitude column index- 抛出:
java.io.FileNotFoundExceptionjava.io.IOExceptionjava.lang.Exception
-
-