public abstract class DataRetriever<T extends Data> extends Object
| Constructor and Description |
|---|
DataRetriever(String dataFolder,
String dataFileExtension) |
| Modifier and Type | Method and Description |
|---|---|
T |
getByDateLatLong(String date,
double latitude,
double longitude)
Retrieve the data of a point on map based on date
|
Map<String,T> |
getByLatLong(double latitude,
double longitude)
Retrieve the data values of a point on map based on a year
|
Integer[] |
getByLatLongAsArray(double latitude,
double longitude) |
Integer[] |
getByLatLongAsArray(double latitude,
double longitude,
Unit unit)
Retrieve the data values of a point on map based on a year
|
public T getByDateLatLong(String date, double latitude, double longitude) throws Exception
public Map<String,T> getByLatLong(double latitude, double longitude) throws Exception
public Integer[] getByLatLongAsArray(double latitude, double longitude) throws Exception
Exceptionpublic Integer[] getByLatLongAsArray(double latitude, double longitude, Unit unit) throws Exception
latitude - : the latitude of the pointlongitude: - the longitude of the pointunit: - the desired S.I unit to format the valuesExceptionRetrievable#getByLatLongAsArray(double, double)Copyright © 2017. All Rights Reserved.