public final class AddeUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ABSOLUTE_TIMES
Property for the absolute times
|
static java.lang.String |
LATLON_BOX
The latlon bounding box time indicator
|
static java.lang.String |
LEVEL
The level indicator
|
static java.lang.String |
MISC_KEYWORDS
Property for miscellaneous keywords
|
static java.lang.String |
NUM_RELATIVE_TIMES
Property for the number of relative times
|
static java.lang.String |
RELATIVE_TIME
The relative time indicator
|
static java.lang.String |
RELATIVE_TIME_INCREMENT
Property for the time increment
|
static java.lang.String |
RELATIVE_TIME_RANGE
The relative time range indicator
|
static java.lang.String |
TIME_DRIVER_TIMES
The time driver time indicator
|
Constructor and Description |
---|
AddeUtil() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<java.lang.String> |
generateTimeUrls(DataSourceImpl datasource,
java.lang.String url,
DataSelection subset)
Generate a list of URLs, expanding any time macros
|
static void |
main(java.lang.String[] args)
Main method for testing
|
static java.lang.String[] |
makeRelativeTimes(int[] timeIndices,
float timeInc)
Make the relative times
|
static java.lang.String[] |
makeRelativeTimesGLM(int[] timeIndices,
float timeInc)
Make the relative times
|
public static final java.lang.String RELATIVE_TIME
public static final java.lang.String TIME_DRIVER_TIMES
public static final java.lang.String RELATIVE_TIME_RANGE
public static final java.lang.String LATLON_BOX
public static final java.lang.String LEVEL
public static java.lang.String NUM_RELATIVE_TIMES
public static java.lang.String RELATIVE_TIME_INCREMENT
public static java.lang.String ABSOLUTE_TIMES
public static final java.lang.String MISC_KEYWORDS
public static java.util.List<java.lang.String> generateTimeUrls(DataSourceImpl datasource, java.lang.String url, DataSelection subset)
datasource
- DataSource that holds relevant propertiesurl
- original source URLsubset
- the data selection with time subset infopublic static java.lang.String[] makeRelativeTimes(int[] timeIndices, float timeInc)
timeIndices
- array of time indicestimeInc
- time increment (hours)public static java.lang.String[] makeRelativeTimesGLM(int[] timeIndices, float timeInc)
timeIndices
- array of time indicestimeInc
- time increment (hours)public static void main(java.lang.String[] args)
args
- not used