AntSimi / py-eddy-tracker

Eddy identification and tracking
https://py-eddy-tracker.readthedocs.io/en/latest/
GNU General Public License v3.0
123 stars 53 forks source link

Lifetime average #220

Open RandomlyHuman opened 11 months ago

RandomlyHuman commented 11 months ago

Hello again dear Antoine,

I would like to consult you on something that is perhaps very basic, but I still can't quite understand it. I have been able to perform (examples) well the monitoring, but following also the recommendation you gave from this document from (Chelton et al, 2011). I also followed these questions, to see if maybe someone has asked the same question before and not to repeat it once again.

But I still don't understand how to determine the average lifetime of the eddies in the example, or how can I proceed to perform this calculation.

My question arises from this sentence 'These 36,000 eddies have an average lifetime of 32 weeks and their average propagation distance is 550 km.' (Chelton et al, 2011). and as it has similarity with one of the examples, I would like to know if there is a way to make this calculation.

I thank you in advance once again for all your valuable help.

Examples followed

Lifetime Histogram

Display Tracks

AntSimi commented 11 months ago

To do this type of statistics you must :

  1. Do identification on every time step
  2. Track eddies along identification to create an atlas
  3. Compute statistics from atlas
RandomlyHuman commented 11 months ago

Thank you very much for your valuable help, is there any of the functions that you recommend advancing the Atlas statistician?

AntSimi commented 11 months ago

If you are just interested to compute statistic on lifetime you could use nb_obs_by_track property of your Tracking observation object. This property is an array give number of eddy observation by track.