Changes between Version 4 and Version 5 of programmersguide/architecture/services/analysis/python/occurrence/aggregation


Ignore:
Timestamp:
11/04/16 15:16:25 (10 years ago)
Author:
eymar
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • programmersguide/architecture/services/analysis/python/occurrence/aggregation

    v4 v5  
    2222 
    2323{{{ 
    24 terrama2.occurrence.aggregation.count("dataSeriesName", buffer, "dateFilter", aggregationBuffer, "restriction") 
    25 }}} 
    26  
    27  
    28 ==== Parâmetros ==== 
    29  
    30 - ''dataSeriesName'': String com o nome da série de dados de ocorrências. 
    31 - ''buffer'': Objeto Buffer para ser aplicado ao objeto monitorado. (Ver [wiki:programmersguide/architecture/services/analysis/python/buffer Buffer]  )   
    32 - ''dateFilter'': String com o intervalo de tempo para filtrar as ocorrências. (Ver [wiki:programmersguide/architecture/services/analysis/python/timeUnit Unidades de tempo]  )   
    33 - ''aggregationBuffer'': Objeto Buffer para agregação. (Ver [wiki:programmersguide/architecture/services/analysis/python/buffer Buffer]  )   
    34 - ''restriction'': String com a restrição SQL a ser aplicada. 
    35  
    36 ==== Exemplo de uso ==== 
    37  
    38 {{{ 
    39 buffer = Buffer() 
    40 aggregationBuffer = Buffer(BufferType.out_union, 2., "km") 
    41 x = occurrence.aggregation.count("ocorrencias", buffer, "1d", aggregationBuffer, "UF = 'AM'") 
     24terrama2.occurrence.aggregation.count("dataSeriesName", "dateFilter", aggregationBuffer, buffer, "restriction") 
     25}}} 
     26 
     27 
     28==== Parâmetros ==== 
     29 
     30- ''dataSeriesName'': String com o nome da série de dados de ocorrências. 
     31- ''dateFilter'': String com o intervalo de tempo para filtrar as ocorrências. (Ver [wiki:programmersguide/architecture/services/analysis/python/timeUnit Unidades de tempo]  )   
     32- ''aggregationBuffer'': Objeto Buffer para agregação. (Ver [wiki:programmersguide/architecture/services/analysis/python/buffer Buffer]  )   
     33- ''buffer'': [Opcional] Objeto Buffer para ser aplicado ao objeto monitorado. Parâmetro obrigatório somente se o parâmetro seguinte (restriction) for utilizado. (Ver [wiki:programmersguide/architecture/services/analysis/python/buffer Buffer]  )   
     34- ''restriction'': [Opcional] String com a restrição SQL a ser aplicada. 
     35 
     36==== Exemplo de uso ==== 
     37 
     38{{{ 
     39buffer = Buffer() 
     40aggregationBuffer = Buffer(BufferType.out_union, 2., "km") 
     41x = occurrence.aggregation.count("ocorrencias", "1d", aggregationBuffer, buffer, "UF = 'AM'") 
    4242}}} 
    4343 
    … …  
    5252 
    5353{{{ 
    54 terrama2.occurrence.aggregation.min("dataSeriesName", buffer, "dateFilter", "attribute", aggregationStatistic, aggregationBuffer, "restriction") 
    55 }}} 
    56  
    57  
    58 ==== Parâmetros ==== 
    59  
    60 - ''dataSeriesName'': String com o nome da série de dados de ocorrências. 
    61 - ''buffer'': Objeto Buffer para ser aplicado ao objeto monitorado. (Ver [wiki:programmersguide/architecture/services/analysis/python/buffer Buffer]  )   
    62 - ''dateFilter'': String com o intervalo de tempo para filtrar as ocorrências. (Ver [wiki:programmersguide/architecture/services/analysis/python/timeUnit Unidades de tempo]  )   
    63 - ''attribute'': String com o nome do atributo da ocorrência que deve ser utilizado para recuperar os valores, o atributo deve ser do tipo numérico (Ex. Integer, Float, Double, Long). 
    64 - ''aggregationStatistic'': Tipo de operador estatístico a ser utilizado para selecionar o valor do atributo para as ocorrências agregadas. 
    65 - ''aggregationBuffer'': Objeto Buffer para agregação. (Ver [wiki:programmersguide/architecture/services/analysis/python/buffer Buffer]  )   
    66 - ''restriction'': String com a restrição SQL a ser aplicada. 
    67  
    68 ==== Exemplo de uso ==== 
    69  
    70 {{{ 
    71 buffer = Buffer() 
    72 aggregationBuffer = Buffer(BufferType.out_union, 2., "km") 
    73 x = occurrence.aggregation.min("ocorrencias", buffer, "1d", "Intensidade", Statistic.min, aggregationBuffer, "UF = 'AM'") 
     54terrama2.occurrence.aggregation.min("dataSeriesName", "dateFilter", "attribute", aggregationStatistic, aggregationBuffer, buffer, "restriction") 
     55}}} 
     56 
     57 
     58==== Parâmetros ==== 
     59 
     60- ''dataSeriesName'': String com o nome da série de dados de ocorrências. 
     61- ''dateFilter'': String com o intervalo de tempo para filtrar as ocorrências. (Ver [wiki:programmersguide/architecture/services/analysis/python/timeUnit Unidades de tempo]  )   
     62- ''attribute'': String com o nome do atributo da ocorrência que deve ser utilizado para recuperar os valores, o atributo deve ser do tipo numérico (Ex. Integer, Float, Double, Long). 
     63- ''aggregationStatistic'': Tipo de operador estatístico a ser utilizado para selecionar o valor do atributo para as ocorrências agregadas. 
     64- ''aggregationBuffer'': Objeto Buffer para agregação. (Ver [wiki:programmersguide/architecture/services/analysis/python/buffer Buffer]  )   
     65- ''buffer'': [Opcional] Objeto Buffer para ser aplicado ao objeto monitorado. Parâmetro obrigatório somente se o parâmetro seguinte (restriction) for utilizado. (Ver [wiki:programmersguide/architecture/services/analysis/python/buffer Buffer]  )   
     66- ''restriction'': [Opcional] String com a restrição SQL a ser aplicada. 
     67 
     68==== Exemplo de uso ==== 
     69 
     70{{{ 
     71buffer = Buffer() 
     72aggregationBuffer = Buffer(BufferType.out_union, 2., "km") 
     73x = occurrence.aggregation.min("ocorrencias", "1d", "Intensidade", Statistic.min, aggregationBuffer, buffer, "UF = 'AM'") 
    7474}}} 
    7575 
    … …  
    8484 
    8585{{{ 
    86 terrama2.occurrence.aggregation.max("dataSeriesName", buffer, "dateFilter", "attribute", aggregationStatistic, aggregationBuffer, "restriction") 
    87 }}} 
    88  
    89  
    90 ==== Parâmetros ==== 
    91  
    92 - ''dataSeriesName'': String com o nome da série de dados de ocorrências. 
    93 - ''buffer'': Objeto Buffer para ser aplicado ao objeto monitorado. (Ver [wiki:programmersguide/architecture/services/analysis/python/buffer Buffer]  )   
    94 - ''dateFilter'': String com o intervalo de tempo para filtrar as ocorrências. (Ver [wiki:programmersguide/architecture/services/analysis/python/timeUnit Unidades de tempo]  )   
    95 - ''attribute'': String com o nome do atributo da ocorrência que deve ser utilizado para recuperar os valores, o atributo deve ser do tipo numérico (Ex. Integer, Float, Double, Long). 
    96 - ''aggregationStatistic'': Tipo de operador estatístico a ser utilizado para selecionar o valor do atributo para as ocorrências agregadas. 
    97 - ''aggregationBuffer'': Objeto Buffer para agregação. (Ver [wiki:programmersguide/architecture/services/analysis/python/buffer Buffer]  )   
    98 - ''restriction'': String com a restrição SQL a ser aplicada. 
    99  
    100 ==== Exemplo de uso ==== 
    101  
    102 {{{ 
    103 buffer = Buffer() 
    104 aggregationBuffer = Buffer(BufferType.out_union, 2., "km") 
    105 x = occurrence.aggregation.max("ocorrencias", buffer, "1d", "Intensidade", Statistic.max, aggregationBuffer, "UF = 'AM'") 
     86terrama2.occurrence.aggregation.max("dataSeriesName", "dateFilter", "attribute", aggregationStatistic, aggregationBuffer, buffer, "restriction") 
     87}}} 
     88 
     89 
     90==== Parâmetros ==== 
     91 
     92- ''dataSeriesName'': String com o nome da série de dados de ocorrências. 
     93- ''dateFilter'': String com o intervalo de tempo para filtrar as ocorrências. (Ver [wiki:programmersguide/architecture/services/analysis/python/timeUnit Unidades de tempo]  )   
     94- ''attribute'': String com o nome do atributo da ocorrência que deve ser utilizado para recuperar os valores, o atributo deve ser do tipo numérico (Ex. Integer, Float, Double, Long). 
     95- ''aggregationStatistic'': Tipo de operador estatístico a ser utilizado para selecionar o valor do atributo para as ocorrências agregadas. 
     96- ''aggregationBuffer'': Objeto Buffer para agregação. (Ver [wiki:programmersguide/architecture/services/analysis/python/buffer Buffer]  )   
     97- ''buffer'': [Opcional] Objeto Buffer para ser aplicado ao objeto monitorado. Parâmetro obrigatório somente se o parâmetro seguinte (restriction) for utilizado. (Ver [wiki:programmersguide/architecture/services/analysis/python/buffer Buffer]  )   
     98- ''restriction'': [Opcional] String com a restrição SQL a ser aplicada. 
     99 
     100 
     101==== Exemplo de uso ==== 
     102 
     103{{{ 
     104buffer = Buffer() 
     105aggregationBuffer = Buffer(BufferType.out_union, 2., "km") 
     106x = occurrence.aggregation.max("ocorrencias", "1d", "Intensidade", Statistic.max, aggregationBuffer, buffer, "UF = 'AM'") 
    106107}}} 
    107108 
    … …  
    116117 
    117118{{{ 
    118 terrama2.occurrence.aggregation.mean("dataSeriesName", buffer, "dateFilter", "attribute", aggregationStatistic, aggregationBuffer,  "restriction") 
    119 }}} 
    120  
    121  
    122 ==== Parâmetros ==== 
    123  
    124 - ''dataSeriesName'': String com o nome da série de dados de ocorrências. 
    125 - ''buffer'': Objeto Buffer para ser aplicado ao objeto monitorado. (Ver [wiki:programmersguide/architecture/services/analysis/python/buffer Buffer]  )   
    126 - ''dateFilter'': String com o intervalo de tempo para filtrar as ocorrências. (Ver [wiki:programmersguide/architecture/services/analysis/python/timeUnit Unidades de tempo]  )   
    127 - ''attribute'': String com o nome do atributo da ocorrência que deve ser utilizado para recuperar os valores, o atributo deve ser do tipo numérico (Ex. Integer, Float, Double, Long). 
    128 - ''aggregationStatistic'': Tipo de operador estatístico a ser utilizado para selecionar o valor do atributo para as ocorrências agregadas. 
    129 - ''aggregationBuffer'': Objeto Buffer para agregação. (Ver [wiki:programmersguide/architecture/services/analysis/python/buffer Buffer]  )   
    130 - ''restriction'': String com a restrição SQL a ser aplicada. 
    131  
    132  
    133 ==== Exemplo de uso ==== 
    134  
    135 {{{ 
    136 buffer = Buffer() 
    137 aggregationBuffer = Buffer(BufferType.out_union, 2., "km") 
    138 x = occurrence.aggregation.mean("ocorrencias", buffer, "1d", "Intensidade", Statistic.mean, aggregationBuffer, "UF = 'AM'") 
     119terrama2.occurrence.aggregation.mean("dataSeriesName", "dateFilter", "attribute", aggregationStatistic, aggregationBuffer, buffer, "restriction") 
     120}}} 
     121 
     122 
     123==== Parâmetros ==== 
     124 
     125- ''dataSeriesName'': String com o nome da série de dados de ocorrências. 
     126- ''dateFilter'': String com o intervalo de tempo para filtrar as ocorrências. (Ver [wiki:programmersguide/architecture/services/analysis/python/timeUnit Unidades de tempo]  )   
     127- ''attribute'': String com o nome do atributo da ocorrência que deve ser utilizado para recuperar os valores, o atributo deve ser do tipo numérico (Ex. Integer, Float, Double, Long). 
     128- ''aggregationStatistic'': Tipo de operador estatístico a ser utilizado para selecionar o valor do atributo para as ocorrências agregadas. 
     129- ''aggregationBuffer'': Objeto Buffer para agregação. (Ver [wiki:programmersguide/architecture/services/analysis/python/buffer Buffer]  )   
     130- ''buffer'': [Opcional] Objeto Buffer para ser aplicado ao objeto monitorado. Parâmetro obrigatório somente se o parâmetro seguinte (restriction) for utilizado. (Ver [wiki:programmersguide/architecture/services/analysis/python/buffer Buffer]  )   
     131- ''restriction'': [Opcional] String com a restrição SQL a ser aplicada. 
     132 
     133 
     134 
     135==== Exemplo de uso ==== 
     136 
     137{{{ 
     138buffer = Buffer() 
     139aggregationBuffer = Buffer(BufferType.out_union, 2., "km") 
     140x = occurrence.aggregation.mean("ocorrencias", "1d", "Intensidade", Statistic.mean, aggregationBuffer, buffer, "UF = 'AM'") 
    139141}}} 
    140142 
    … …  
    149151 
    150152{{{ 
    151 terrama2.occurrence.aggregation.sum("dataSeriesName", buffer, "dateFilter", "attribute", aggregationStatistic, aggregationBuffer,  "restriction") 
    152 }}} 
    153  
    154  
    155 ==== Parâmetros ==== 
    156  
    157 - ''dataSeriesName'': String com o nome da série de dados de ocorrências. 
    158 - ''buffer'': Objeto Buffer para ser aplicado ao objeto monitorado. (Ver [wiki:programmersguide/architecture/services/analysis/python/buffer Buffer]  )   
    159 - ''dateFilter'': String com o intervalo de tempo para filtrar as ocorrências. (Ver [wiki:programmersguide/architecture/services/analysis/python/timeUnit Unidades de tempo]  )   
    160 - ''attribute'': String com o nome do atributo da ocorrência que deve ser utilizado para recuperar os valores, o atributo deve ser do tipo numérico (Ex. Integer, Float, Double, Long). 
    161 - ''aggregationStatistic'': Tipo de operador estatístico a ser utilizado para selecionar o valor do atributo para as ocorrências agregadas. 
    162 - ''aggregationBuffer'': Objeto Buffer para agregação. (Ver [wiki:programmersguide/architecture/services/analysis/python/buffer Buffer]  )   
    163 - ''restriction'': String com a restrição SQL a ser aplicada. 
    164  
    165  
    166 ==== Exemplo de uso ==== 
    167  
    168 {{{ 
    169 buffer = Buffer() 
    170 aggregationBuffer = Buffer(BufferType.out_union, 2., "km") 
    171 x = occurrence.aggregation.sum("ocorrencias", buffer, "1d", "Intensidade", Statistic.max, aggregationBuffer, "UF = 'AM'") 
     153terrama2.occurrence.aggregation.sum("dataSeriesName", "dateFilter", "attribute", aggregationStatistic, aggregationBuffer, buffer, "restriction") 
     154}}} 
     155 
     156 
     157==== Parâmetros ==== 
     158 
     159- ''dataSeriesName'': String com o nome da série de dados de ocorrências. 
     160- ''dateFilter'': String com o intervalo de tempo para filtrar as ocorrências. (Ver [wiki:programmersguide/architecture/services/analysis/python/timeUnit Unidades de tempo]  )   
     161- ''attribute'': String com o nome do atributo da ocorrência que deve ser utilizado para recuperar os valores, o atributo deve ser do tipo numérico (Ex. Integer, Float, Double, Long). 
     162- ''aggregationStatistic'': Tipo de operador estatístico a ser utilizado para selecionar o valor do atributo para as ocorrências agregadas. 
     163- ''aggregationBuffer'': Objeto Buffer para agregação. (Ver [wiki:programmersguide/architecture/services/analysis/python/buffer Buffer]  )   
     164- ''buffer'': [Opcional] Objeto Buffer para ser aplicado ao objeto monitorado. Parâmetro obrigatório somente se o parâmetro seguinte (restriction) for utilizado. (Ver [wiki:programmersguide/architecture/services/analysis/python/buffer Buffer]  )   
     165- ''restriction'': [Opcional] String com a restrição SQL a ser aplicada. 
     166 
     167 
     168 
     169==== Exemplo de uso ==== 
     170 
     171{{{ 
     172buffer = Buffer() 
     173aggregationBuffer = Buffer(BufferType.out_union, 2., "km") 
     174x = occurrence.aggregation.sum("ocorrencias", "1d", "Intensidade", Statistic.max, aggregationBuffer, buffer, "UF = 'AM'") 
    172175}}} 
    173176 
    … …  
    184187 
    185188{{{ 
    186 terrama2.occurrence.aggregation.median("dataSeriesName", buffer, "dateFilter", "attribute", aggregationStatistic, aggregationBuffer,  "restriction") 
    187 }}} 
    188  
    189  
    190 ==== Parâmetros ==== 
    191  
    192 - ''dataSeriesName'': String com o nome da série de dados de ocorrências. 
    193 - ''buffer'': Objeto Buffer para ser aplicado ao objeto monitorado. (Ver [wiki:programmersguide/architecture/services/analysis/python/buffer Buffer]  )   
    194 - ''dateFilter'': String com o intervalo de tempo para filtrar as ocorrências. (Ver [wiki:programmersguide/architecture/services/analysis/python/timeUnit Unidades de tempo]  )   
    195 - ''attribute'': String com o nome do atributo da ocorrência que deve ser utilizado para recuperar os valores, o atributo deve ser do tipo numérico (Ex. Integer, Float, Double, Long). 
    196 - ''aggregationStatistic'': Tipo de operador estatístico a ser utilizado para selecionar o valor do atributo para as ocorrências agregadas. 
    197 - ''aggregationBuffer'': Objeto Buffer para agregação. (Ver [wiki:programmersguide/architecture/services/analysis/python/buffer Buffer]  )   
    198 - ''restriction'': String com a restrição SQL a ser aplicada. 
    199  
    200  
    201 ==== Exemplo de uso ==== 
    202  
    203 {{{ 
    204 buffer = Buffer() 
    205 aggregationBuffer = Buffer(BufferType.out_union, 2., "km") 
    206 x = occurrence.aggregation.median("ocorrencias", buffer, "1d", "Intensidade", Statistic.median, aggregationBuffer, "UF = 'AM'") 
     189terrama2.occurrence.aggregation.median("dataSeriesName", "dateFilter", "attribute", aggregationStatistic, aggregationBuffer, buffer, "restriction") 
     190}}} 
     191 
     192 
     193==== Parâmetros ==== 
     194 
     195- ''dataSeriesName'': String com o nome da série de dados de ocorrências. 
     196- ''dateFilter'': String com o intervalo de tempo para filtrar as ocorrências. (Ver [wiki:programmersguide/architecture/services/analysis/python/timeUnit Unidades de tempo]  )   
     197- ''attribute'': String com o nome do atributo da ocorrência que deve ser utilizado para recuperar os valores, o atributo deve ser do tipo numérico (Ex. Integer, Float, Double, Long). 
     198- ''aggregationStatistic'': Tipo de operador estatístico a ser utilizado para selecionar o valor do atributo para as ocorrências agregadas. 
     199- ''aggregationBuffer'': Objeto Buffer para agregação. (Ver [wiki:programmersguide/architecture/services/analysis/python/buffer Buffer]  )   
     200- ''buffer'': [Opcional] Objeto Buffer para ser aplicado ao objeto monitorado. Parâmetro obrigatório somente se o parâmetro seguinte (restriction) for utilizado. (Ver [wiki:programmersguide/architecture/services/analysis/python/buffer Buffer]  )   
     201- ''restriction'': [Opcional] String com a restrição SQL a ser aplicada. 
     202 
     203 
     204 
     205==== Exemplo de uso ==== 
     206 
     207{{{ 
     208buffer = Buffer() 
     209aggregationBuffer = Buffer(BufferType.out_union, 2., "km") 
     210x = occurrence.aggregation.median("ocorrencias", "1d", "Intensidade", Statistic.median, aggregationBuffer, buffer, "UF = 'AM'") 
    207211}}} 
    208212 
    … …  
    218222 
    219223{{{ 
    220 terrama2.occurrence.aggregation.standard_deviation("dataSeriesName", buffer, "dateFilter", "attribute", aggregationStatistic, aggregationBuffer,  "restriction") 
    221 }}} 
    222  
    223  
    224 ==== Parâmetros ==== 
    225  
    226 - ''dataSeriesName'': String com o nome da série de dados de ocorrências. 
    227 - ''buffer'': Objeto Buffer para ser aplicado ao objeto monitorado. (Ver [wiki:programmersguide/architecture/services/analysis/python/buffer Buffer]  )   
    228 - ''dateFilter'': String com o intervalo de tempo para filtrar as ocorrências. (Ver [wiki:programmersguide/architecture/services/analysis/python/timeUnit Unidades de tempo]  )   
    229 - ''attribute'': String com o nome do atributo da ocorrência que deve ser utilizado para recuperar os valores, o atributo deve ser do tipo numérico (Ex. Integer, Float, Double, Long). 
    230 - ''aggregationStatistic'': Tipo de operador estatístico a ser utilizado para selecionar o valor do atributo para as ocorrências agregadas. 
    231 - ''aggregationBuffer'': Objeto Buffer para agregação. (Ver [wiki:programmersguide/architecture/services/analysis/python/buffer Buffer]  )   
    232 - ''restriction'': String com a restrição SQL a ser aplicada. 
    233  
    234  
    235 ==== Exemplo de uso ==== 
    236  
    237 {{{ 
    238 buffer = Buffer() 
    239 aggregationBuffer = Buffer(BufferType.out_union, 2., "km") 
    240 x = occurrence.aggregation.standard_deviation("ocorrencias", buffer, "1d", "Intensidade", Statistic.standard_deviation, aggregationBuffer, "UF = 'AM'") 
     224terrama2.occurrence.aggregation.standard_deviation("dataSeriesName", "dateFilter", "attribute", aggregationStatistic, aggregationBuffer, buffer, "restriction") 
     225}}} 
     226 
     227 
     228==== Parâmetros ==== 
     229 
     230- ''dataSeriesName'': String com o nome da série de dados de ocorrências. 
     231- ''dateFilter'': String com o intervalo de tempo para filtrar as ocorrências. (Ver [wiki:programmersguide/architecture/services/analysis/python/timeUnit Unidades de tempo]  )   
     232- ''attribute'': String com o nome do atributo da ocorrência que deve ser utilizado para recuperar os valores, o atributo deve ser do tipo numérico (Ex. Integer, Float, Double, Long). 
     233- ''aggregationStatistic'': Tipo de operador estatístico a ser utilizado para selecionar o valor do atributo para as ocorrências agregadas. 
     234- ''aggregationBuffer'': Objeto Buffer para agregação. (Ver [wiki:programmersguide/architecture/services/analysis/python/buffer Buffer]  )   
     235- ''buffer'': [Opcional] Objeto Buffer para ser aplicado ao objeto monitorado. Parâmetro obrigatório somente se o parâmetro seguinte (restriction) for utilizado. (Ver [wiki:programmersguide/architecture/services/analysis/python/buffer Buffer]  )   
     236- ''restriction'': [Opcional] String com a restrição SQL a ser aplicada. 
     237 
     238 
     239 
     240==== Exemplo de uso ==== 
     241 
     242{{{ 
     243buffer = Buffer() 
     244aggregationBuffer = Buffer(BufferType.out_union, 2., "km") 
     245x = occurrence.aggregation.standard_deviation("ocorrencias", "1d", "Intensidade", Statistic.standard_deviation, aggregationBuffer, buffer, "UF = 'AM'") 
    241246}}} 
    242247 
    … …  
    253258 
    254259{{{ 
    255 terrama2.occurrence.aggregation.variance("dataSeriesName", buffer, "dateFilter", "attribute", aggregationStatistic, aggregationBuffer,  "restriction") 
    256 }}} 
    257  
    258  
    259 ==== Parâmetros ==== 
    260  
    261 - ''dataSeriesName'': String com o nome da série de dados de ocorrências. 
    262 - ''buffer'': Objeto Buffer para ser aplicado ao objeto monitorado. (Ver [wiki:programmersguide/architecture/services/analysis/python/buffer Buffer]  )   
    263 - ''dateFilter'': String com o intervalo de tempo para filtrar as ocorrências. (Ver [wiki:programmersguide/architecture/services/analysis/python/timeUnit Unidades de tempo]  )   
    264 - ''attribute'': String com o nome do atributo da ocorrência que deve ser utilizado para recuperar os valores, o atributo deve ser do tipo numérico (Ex. Integer, Float, Double, Long). 
    265 - ''aggregationStatistic'': Tipo de operador estatístico a ser utilizado para selecionar o valor do atributo para as ocorrências agregadas. 
    266 - ''aggregationBuffer'': Objeto Buffer para agregação. (Ver [wiki:programmersguide/architecture/services/analysis/python/buffer Buffer]  )   
    267 - ''restriction'': String com a restrição SQL a ser aplicada. 
    268  
    269  
    270 ==== Exemplo de uso ==== 
    271  
    272 {{{ 
    273 buffer = Buffer() 
    274 aggregationBuffer = Buffer(BufferType.out_union, 2., "km") 
    275 x = occurrence.aggregation.variance("ocorrencias", buffer, "1d", "Intensidade", Statistic.standard_deviation, aggregationBuffer, "UF = 'AM'") 
    276 }}} 
    277  
    278  
    279 ---- 
     260terrama2.occurrence.aggregation.variance("dataSeriesName", "dateFilter", "attribute", aggregationStatistic, aggregationBuffer, buffer, "restriction") 
     261}}} 
     262 
     263 
     264==== Parâmetros ==== 
     265 
     266- ''dataSeriesName'': String com o nome da série de dados de ocorrências. 
     267- ''dateFilter'': String com o intervalo de tempo para filtrar as ocorrências. (Ver [wiki:programmersguide/architecture/services/analysis/python/timeUnit Unidades de tempo]  )   
     268- ''attribute'': String com o nome do atributo da ocorrência que deve ser utilizado para recuperar os valores, o atributo deve ser do tipo numérico (Ex. Integer, Float, Double, Long). 
     269- ''aggregationStatistic'': Tipo de operador estatístico a ser utilizado para selecionar o valor do atributo para as ocorrências agregadas. 
     270- ''aggregationBuffer'': Objeto Buffer para agregação. (Ver [wiki:programmersguide/architecture/services/analysis/python/buffer Buffer]  )   
     271- ''buffer'': [Opcional] Objeto Buffer para ser aplicado ao objeto monitorado. Parâmetro obrigatório somente se o parâmetro seguinte (restriction) for utilizado. (Ver [wiki:programmersguide/architecture/services/analysis/python/buffer Buffer]  )   
     272- ''restriction'': [Opcional] String com a restrição SQL a ser aplicada. 
     273 
     274 
     275 
     276==== Exemplo de uso ==== 
     277 
     278{{{ 
     279buffer = Buffer() 
     280aggregationBuffer = Buffer(BufferType.out_union, 2., "km") 
     281x = occurrence.aggregation.variance("ocorrencias", "1d", "Intensidade", Statistic.standard_deviation, aggregationBuffer, buffer, "UF = 'AM'") 
     282}}} 
     283 
     284 
     285----