Package org.meteoinfo.data
Class StationTableData
- java.lang.Object
-
- org.meteoinfo.table.DataTable
-
- org.meteoinfo.data.TableData
-
- org.meteoinfo.data.StationTableData
-
public class StationTableData extends TableData
-
-
Field Summary
-
Fields inherited from class org.meteoinfo.table.DataTable
columns, nextRowIndex, readOnly, rows, tableName, tag
-
Fields inherited from class org.meteoinfo.data.TableData
missingValue
-
-
Constructor Summary
Constructors Constructor Description StationTableData()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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-
Methods inherited from class 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
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from class 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
-
-
-
-
Method Detail
-
getProjectionInfo
public ProjectionInfo getProjectionInfo()
Get projection info- Returns:
- Projection info
-
setProjectionInfo
public void setProjectionInfo(ProjectionInfo value)
Set projection info- Parameters:
value- Projection info
-
getStationIndex
public int getStationIndex()
Get station column index- Returns:
- Station column index
-
setStationIndex
public void setStationIndex(int value)
Set station column index- Parameters:
value- Statin column index
-
getLonIndex
public int getLonIndex()
Get longitude column index- Returns:
- Longitude column index
-
setLonIndex
public void setLonIndex(int value)
Set longitude column index- Parameters:
value- Longitude column index
-
getLatIndex
public int getLatIndex()
Get latitude column index- Returns:
- Latitude column index
-
setLatIndex
public void setLatIndex(int value)
Set Latitude column index- Parameters:
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- Parameters:
fileName- File namelonIdx- Longitude indexlatIdx- Latitude index- Throws:
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- Parameters:
fileName- File namestIdx- Station column indexlonIdx- Longitude column indexlatIdx- Latitude column index- Throws:
java.io.FileNotFoundExceptionjava.io.IOExceptionjava.lang.Exception
-
-