public final class WorldClimUtil extends Object
| Constructor and Description |
|---|
WorldClimUtil() |
| Modifier and Type | Method and Description |
|---|---|
static float |
getFactor(String variableName)
Gets the factor for Worldclim variable
|
static Long |
getWorldclim25Tile(Number longitude,
Number latitude)
Gets the Worldclim.org compatible tile index.
|
static double[] |
reverseWorldclim25Tile(Long tileIndex)
Convert our tileIndex back to (latitude, longitude) pair
|
static Long |
tileIndexToDataIndex(Long tileIndex)
Worldclim data is available for entire longitude range (-180:180), but
latitude range is limited (90:-60) (missing Antarctica).
|
public static final Long getWorldclim25Tile(Number longitude, Number latitude)
longitude - the longitudelatitude - the latitudepublic static final Long tileIndexToDataIndex(Long tileIndex)
getWorldclim25Tile(Number, Number) to the data index by stripping
the row indexes missing in the file.tileIndex - tile index generated by getWorldclim25Tile(Number, Number)public static float getFactor(String variableName)
variableName - the variable namepublic static double[] reverseWorldclim25Tile(Long tileIndex)
tileIndex - the tile indexCopyright © 2022. All rights reserved.