Open cdmpbp123 opened 5 months ago
Several things come to me, you need to apply a large scale filter to remove large scale structure like in this example. Input grid have which resolution?
Thanks for your response and suggestion. I have tried different scale filters with 400, 700 and 1000km. The results with 1000km seems better than without filter, but most eddies detected in small region still can not be detected. And warning 'No extrema found in contour of xxx pixels in level xxx) still existed. Could you briefly explain why this warning happen? Is this because sla contour of my data so complicated that the algorithm can not find closed contour?
The input grid I used is 0.03°. How should high-pass filter value be determined, and could you provide a recommendation for my case?
Thanks a lot!
My first guess. Contour detection algorithm could be high sensitive to high frequency data or noise. You could try to apply a low pass filter to smoth/simplify a little bit.
Thanks for your suggestion. I've tried several filters but still can't get satisfied results. I then divide the domain to several pieces and do the detection then concatenate them. The results seem OK now. Maybe the reason is the data quality, I will check the data later. Thanks for your help!
If you divide domain, result are different? i don't like this algotrithm behaviour., There is something to dig.
Yes. I test without any filter. Results vary significantly depending on the region dividing.
Dear Antoine, Thank you for providing the eddy detecting program. I am trying to detect eddies from a model result of NorthWest Pacific with grid of 2128*2129. I found a problem that several eddies were missing when running eddy identification module with many warnings of No extrema found in contour of xxx pixels in level xxx. The log file is: log_NWP.log
The version of python and other library: Python 3.10.13 pyEddyTracker # Version: 3.6.1 numpy# Version: 1.22.4 numba# Version: 0.55.2 matplotlib# Version: 3.7.0 xarray# Version: 2023.10.1 pandas# Version: 2.1.2 Here is the example data:NWP_20220101_sla.zip The test code is here: `
`
`![zoom_test_eddy_detect](https://github.com/AntSimi/py-eddy-tracker/assets/46118679/5e897e54-ab0d-4ad4-9112-be44e5d41cc2)
I have reviewed previous issues, but still can not solve this problem. Thank you for your time. Best wishes.