Skip to main content
Solved

Adding 3 consecutive records

  • February 21, 2018
  • 4 replies
  • 13 views

Hi,

We 100+ years of rainfall data that we would like to find 3 consecutive days where the rainfall is greater than 50mm after a certain date. I can do this in Excel but I can't for the life of my figure out how to do it in FME. Does anyone know if it is possible?

In excel adding three consectutive days rainfall is pretty simple =SUM(F2:F4) and fill down the column.

Cheers,

Dale

Best answer by david_r

You can use the AttributeCreator with the adjacent feature option, e.g.

View original
Did this help you find an answer to your question?

4 replies

david_r
Celebrity
  • Best Answer
  • February 21, 2018

You can use the AttributeCreator with the adjacent feature option, e.g.


gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • February 21, 2018

you can also partition the data by creating an attribute conditionaly >50mm = yes

Then a counter on that attribute. Statistics grouped by that and get max value.

Test if >3


  • Author
  • February 21, 2018
david_r wrote:

You can use the AttributeCreator with the adjacent feature option, e.g.

Hi David,

 

That worked! Thank you so much!! I knew it had to be doable in FME.

 

 

Thanks,

 

 

Dale

 

 


fmelizard
Safer
Forum|alt.badge.img+18
  • Safer
  • February 23, 2018
toasthall wrote:
Hi David,

 

That worked! Thank you so much!! I knew it had to be doable in FME.

 

 

Thanks,

 

 

Dale

 

 

PS: I like your name! Not too many of us around, let alone in the FME community!

 

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings