public class StationInfoData extends Object
| 构造器 | 说明 |
|---|---|
StationInfoData() |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
DataTable |
extractStationData(List<String> sts,
List<String> colNames) |
Extract station data
|
DataTable |
extractStationData(List<String> sts,
List<String> colNames,
Date time) |
Extract station data
|
List<List<String>> |
getDataList() |
Get data list - the first three columns are stid, lon and lat
|
List<String> |
getFields() |
Get field names
|
List<String> |
getStations() |
Get station identifer list
|
List<String> |
getVariables() |
Get varaible names
|
void |
saveAsCSVFile(String fileName) |
Save the station info data to CSV file
|
void |
setDataList(List<List<String>> value) |
Set data list
|
void |
setFields(List<String> value) |
Set field names
|
void |
setStations(List<String> value) |
Set station identifer list
|
void |
setVariables(List<String> value) |
public List<String> getStations()
public void setStations(List<String> value)
value - Station identifer listpublic List<List<String>> getDataList()
public DataTable extractStationData(List<String> sts, List<String> colNames) throws Exception
sts - StationscolNames - Column namesExceptionpublic DataTable extractStationData(List<String> sts, List<String> colNames, Date time) throws Exception
sts - StationscolNames - Column namestime - TimeExceptionpublic void saveAsCSVFile(String fileName) throws IOException
fileName - File pathIOExceptionCopyright © 2019. All rights reserved.