|
static final String | TYPE = "blt_acrr" |
| The name of this static acrr type.
|
|
◆ AcrrRule()
eu.baltrad.beast.rules.acrr.AcrrRule.AcrrRule |
( |
| ) |
|
|
inlineprotected |
◆ afterPropertiesSet()
void eu.baltrad.beast.rules.acrr.AcrrRule.afterPropertiesSet |
( |
| ) |
throws Exception |
|
inline |
- See also
- org.springframework.beans.factory.InitializingBean.afterPropertiesSet()
◆ compareStoredDateTime()
Compares the stored date time between catalog entry 1 and 2.
- Parameters
-
- Returns
- a negative integer, zero, or a positive integer if the stored time for e1 is less than, equal to, or greater than e2.
◆ createFilter()
TimeSelectionFilter eu.baltrad.beast.rules.acrr.AcrrRule.createFilter |
( |
DateTime | sdt, |
|
|
DateTime | edt, |
|
|
int | interval ) |
|
inlineprotected |
Creates the time selection filter to be used in this generation.
- Parameters
-
sdt | The first date time in the interval |
edt | the last date time in the interval |
interval | the interval |
- Returns
- the filter
◆ filterEntries() [1/2]
Filters the entries so that only one date-time / slot occurs.
- Parameters
-
entries | the entries to filter |
- Returns
- the filtered entries
◆ filterEntries() [2/2]
Creates a new list of entries where the entry must exist in both entries and validEntries.
- Parameters
-
entries | the list of entries that should be filtered |
validEntries | the map of valid entries |
- Returns
- a filtered list
◆ findFiles()
List< CatalogEntry > eu.baltrad.beast.rules.acrr.AcrrRule.findFiles |
( |
DateTime | now | ) |
|
|
inlineprotected |
Returns a filtered list of all included files from now and hours backward.
The filtered list will only contain one file / what_time, what_date and the files will be based on latest stored_time.
- Parameters
-
- Returns
- the found unique entries.
Reimplemented in eu.baltrad.beast.rules.gra.GraRule.
◆ getAcceptableLoss()
int eu.baltrad.beast.rules.acrr.AcrrRule.getAcceptableLoss |
( |
| ) |
|
|
inline |
The acceptable loss / pixel when generating the acrr product.
- Returns
- acceptable loss in percent (0-100)
◆ getArea()
String eu.baltrad.beast.rules.acrr.AcrrRule.getArea |
( |
| ) |
|
|
inline |
◆ getCatalog()
Catalog eu.baltrad.beast.rules.acrr.AcrrRule.getCatalog |
( |
| ) |
|
|
inline |
◆ getDistancefield()
String eu.baltrad.beast.rules.acrr.AcrrRule.getDistancefield |
( |
| ) |
|
|
inline |
The distance field to use in the product generation.
Default is eu.baltrad.composite.quality.distance.radar
- Returns
- the distance quality field
◆ getFilesPerHour()
int eu.baltrad.beast.rules.acrr.AcrrRule.getFilesPerHour |
( |
| ) |
|
|
inline |
The files included / hour.
The actual number of in-products are actually one more. This means that if filesPerHour = 4, the actual number of files in the product will be 5 (e.g. 00:00,00:15,00:30,00:45,01:00). Note, that both 00:00 and 01:00 are included.
- Returns
- the files included / hour (-1)
◆ getFilesPerHourInterval()
int eu.baltrad.beast.rules.acrr.AcrrRule.getFilesPerHourInterval |
( |
| ) |
|
|
inlineprotected |
Returns the interval corresponding to the number of files / hour.
E.g. 1 means 60 minute interval, 2 means 30 minute, 3 means 20 and so on
- Returns
- the interval to use depending on the filesPerHour setting
◆ getFilter()
IFilter eu.baltrad.beast.rules.acrr.AcrrRule.getFilter |
( |
| ) |
|
|
inline |
- Returns
- the filter to use when trying out if files are matching
◆ getHours()
int eu.baltrad.beast.rules.acrr.AcrrRule.getHours |
( |
| ) |
|
|
inline |
◆ getMatcher()
MetadataMatcher eu.baltrad.beast.rules.acrr.AcrrRule.getMatcher |
( |
| ) |
|
|
inline |
- Returns
- the metadata matcher
◆ getObjectType()
String eu.baltrad.beast.rules.acrr.AcrrRule.getObjectType |
( |
| ) |
|
|
inline |
The object type, either COMP or IMAGE.
- Returns
- the object type
◆ getProductId()
String eu.baltrad.beast.rules.acrr.AcrrRule.getProductId |
( |
| ) |
|
|
inline |
- Returns
- the product id. Default is null
◆ getQuantity()
String eu.baltrad.beast.rules.acrr.AcrrRule.getQuantity |
( |
| ) |
|
|
inline |
- Returns
- the parameter (quantity) to use for the ACRR accumulation
◆ getRuleId()
int eu.baltrad.beast.rules.acrr.AcrrRule.getRuleId |
( |
| ) |
|
|
inline |
◆ getRuleUtilities()
IRuleUtilities eu.baltrad.beast.rules.acrr.AcrrRule.getRuleUtilities |
( |
| ) |
|
|
inline |
◆ getType()
String eu.baltrad.beast.rules.acrr.AcrrRule.getType |
( |
| ) |
|
|
inline |
◆ getZrA()
double eu.baltrad.beast.rules.acrr.AcrrRule.getZrA |
( |
| ) |
|
|
inline |
◆ getZrB()
double eu.baltrad.beast.rules.acrr.AcrrRule.getZrB |
( |
| ) |
|
|
inline |
◆ handle()
◆ isApplyGRA()
boolean eu.baltrad.beast.rules.acrr.AcrrRule.isApplyGRA |
( |
| ) |
|
|
inline |
- Returns
- If GRA coefficients should be applied or not
◆ isLessOrEqual()
boolean eu.baltrad.beast.rules.acrr.AcrrRule.isLessOrEqual |
( |
DateTime | d1, |
|
|
DateTime | d2 ) |
|
inlineprotected |
Returns true if d1 is <= d2, otherwise false.
- Parameters
-
d1 | date time 1 |
d2 | date time 2 |
- Returns
- true if d1 is <= d2, otherwise false
◆ isValid()
boolean eu.baltrad.beast.rules.acrr.AcrrRule.isValid |
( |
| ) |
|
|
inline |
◆ setAcceptableLoss()
void eu.baltrad.beast.rules.acrr.AcrrRule.setAcceptableLoss |
( |
int | acceptableLoss | ) |
|
|
inline |
The acceptable loss when generating a product.
If for example, there are 10 files to be used in the generation and acceptableLoss = 20, it means that the observations at that position can be used if not more than 2 (20%) observations with nodata exists in that set.
- Parameters
-
acceptableLoss | acceptable loss in percent (0-100) |
◆ setApplyGRA()
void eu.baltrad.beast.rules.acrr.AcrrRule.setApplyGRA |
( |
boolean | applyGRA | ) |
|
|
inline |
- Parameters
-
applyGRA | If GRA coefficients should be applied or not |
◆ setArea()
void eu.baltrad.beast.rules.acrr.AcrrRule.setArea |
( |
String | area | ) |
|
|
inline |
◆ setCatalog()
void eu.baltrad.beast.rules.acrr.AcrrRule.setCatalog |
( |
Catalog | catalog | ) |
|
|
inline |
- Parameters
-
catalog | the catalog to set |
◆ setDistancefield()
void eu.baltrad.beast.rules.acrr.AcrrRule.setDistancefield |
( |
String | distancefield | ) |
|
|
inline |
Sets the distance quality field.
- Parameters
-
◆ setFilesPerHour()
void eu.baltrad.beast.rules.acrr.AcrrRule.setFilesPerHour |
( |
int | filesPerHour | ) |
|
|
inline |
Sets the number of in-products / hour.
Be aware that the actual number of used files will be number_of_files_per_hour * hours + 1. For example, if filesPerHour = 4 and hours = 1, the number of files will be 4 * 1 + 1. E.g. 00:00,00:15,00:30,00:45,01:00. The number of files / hours will affect Valid values are [1,2,3,4,6,12] (=> 2,3,4,7,13 files)
- Parameters
-
filesPerHour | the number of in-products / hour (-1). |
◆ setFilter()
void eu.baltrad.beast.rules.acrr.AcrrRule.setFilter |
( |
IFilter | filter | ) |
|
|
inline |
◆ setHours()
void eu.baltrad.beast.rules.acrr.AcrrRule.setHours |
( |
int | hours | ) |
|
|
inline |
◆ setMatcher()
void eu.baltrad.beast.rules.acrr.AcrrRule.setMatcher |
( |
MetadataMatcher | matcher | ) |
|
|
inline |
- Parameters
-
matcher | the metadata matcher |
◆ setObjectType()
void eu.baltrad.beast.rules.acrr.AcrrRule.setObjectType |
( |
String | objectType | ) |
|
|
inline |
- Parameters
-
objectType | the object type to use, either IMAGE or COMP |
◆ setProductId()
void eu.baltrad.beast.rules.acrr.AcrrRule.setProductId |
( |
String | productId | ) |
|
|
inline |
◆ setQuantity()
void eu.baltrad.beast.rules.acrr.AcrrRule.setQuantity |
( |
String | quantity | ) |
|
|
inline |
- Parameters
-
quantity | the parameter (quantity) to use in the accumulation |
◆ setRuleId()
void eu.baltrad.beast.rules.acrr.AcrrRule.setRuleId |
( |
int | ruleid | ) |
|
|
inline |
◆ setRuleUtilities()
void eu.baltrad.beast.rules.acrr.AcrrRule.setRuleUtilities |
( |
IRuleUtilities | ruleUtil | ) |
|
|
inline |
- Parameters
-
ruleUtil | the ruleUtil to set |
◆ setZrA()
void eu.baltrad.beast.rules.acrr.AcrrRule.setZrA |
( |
double | zrA | ) |
|
|
inline |
◆ setZrB()
void eu.baltrad.beast.rules.acrr.AcrrRule.setZrB |
( |
double | zrB | ) |
|
|
inline |
◆ TYPE
final String eu.baltrad.beast.rules.acrr.AcrrRule.TYPE = "blt_acrr" |
|
static |
The name of this static acrr type.
The documentation for this class was generated from the following file:
- src/eu/baltrad/beast/rules/acrr/AcrrRule.java