@@ -347,6 +347,9 @@ def _fit_circle_path(self):
347347    c_x , c_y  =  proj (self .lon , self .lat )
348348    try :
349349        centlon_e , centlat_e , eddy_radius_e , aerr  =  fit_circle_c (c_x , c_y )
350+         centlon_e , centlat_e  =  proj (centlon_e , centlat_e , inverse = True )
351+         centlon_e  =  (centlon_e  -  lon_mean  +  180 ) %  360  +  lon_mean  -  180 
352+         self ._circle_params  =   centlon_e , centlat_e , eddy_radius_e , aerr 
350353    except  ZeroDivisionError :
351354        # Some time, edge is only a dot of few coordinates 
352355        if  len (unique (self .lon )) ==  1  and  len (unique (self .lat )) ==  1 :
@@ -355,10 +358,6 @@ def _fit_circle_path(self):
355358                          self .lat )
356359            self ._circle_params  =  0 , - 90 , nan , nan 
357360
358-     centlon_e , centlat_e  =  proj (centlon_e , centlat_e , inverse = True )
359-     centlon_e  =  (centlon_e  -  lon_mean  +  180 ) %  360  +  lon_mean  -  180 
360-     self ._circle_params  =  centlon_e , centlat_e , eddy_radius_e , aerr 
361- 
362361BasePath .fit_circle  =  fit_circle_path 
363362BasePath ._fit_circle_path  =  _fit_circle_path 
364363
@@ -371,8 +370,6 @@ def collection_loop(contours, grd, rtime, eddy,
371370    if  eddy .diagnostic_type  not  in 'Q' , 'SLA' ]:
372371        raise  Exception ('Unknown Diagnostic : %s'  %  eddy .diagnostic_type )
373372
374-     has_ts  =  False 
375- 
376373    sign_type  =  eddy .sign_type 
377374    anticyclonic_search  =  'Anticyclonic'  in  sign_type 
378375    iterator  =  1  if  anticyclonic_search  else  - 1 
@@ -551,8 +548,8 @@ def collection_loop(contours, grd, rtime, eddy,
551548                            contlon_s , contlat_s ,
552549                            fixed_size = eddy .track_array_variables_sampling )
553550
554-                     if   not   has_ts :   # for AVISO 
555-                          eddy .update_eddy_properties (properties )
551+                     # for AVISO 
552+                     eddy .update_eddy_properties (properties )
556553
557554                    # Mask out already found eddies 
558555                    eddy .sla [eddy .slice_j , eddy .slice_i ][
0 commit comments