2023-01-23 16:36:20,809 [INFO] Getting data from Cyclobs API. Req : https://cyclobs.ifremer.fr/app/api/getData?include_cols=all&filename=20170908t105352-20170908t105502 2023-01-23 16:36:21,554 [INFO] Getting IBTRACS data from Cyclobs API. Req : https://cyclobs.ifremer.fr/app/api/getData?include_cols=all&filename=20170908t105352-20170908t105502&track_source=ibtracs 2023-01-23 16:36:22,280 [INFO] file : /home/datawork-cersat-public/cache/public/ftp/project/sarwing/processings/c39e79a/default/RS2/L2C/VV_VH/2017/251/RS2_OK91548_PK811670_DK739881_SCWA_20170908_105352_VV_VH_SGF/RS2__OWI_CC_20170908T105352_20170908T105502_50819_32A96/post_processing/nclight_L2M/rs2--owi-cm-20170908t105352-20170908t105502-00003-32A96_sw.nc 2023-01-23 16:36:22,356 [INFO] extracting SAR image info for file nclight_L2M... /home/datawork-cersat-public/cache/project/cyclobs/tc_center/tc_center_37/lib/python3.7/site-packages/tc_center/functions.py:790: RuntimeWarning: invalid value encountered in sqrt grad = np.sqrt((np.gradient(wspdcop)[0] ** 2 + np.gradient(wspdcop)[1] ** 2)) 2023-01-23 16:36:27,209 [INFO] Atcf lon/lat -74.45/21.75 2023-01-23 16:36:32,355 [INFO] Distance to coast of track point is 49981.28063652881 meters. 2023-01-23 16:36:32,599 [INFO] Distance between aquisition border and track point is 39682.55487305467 meters. 2023-01-23 16:36:34,690 [INFO] 25.26317015854883% of area of 100km around atcf track is outside acquisition bounding box 2023-01-23 16:36:34,722 [INFO] 0.9124911116134702% of area of 100km around atcf track point that is inside acquisition bounding box is land. 2023-01-23 16:36:34,724 [INFO] 26.1756612701623% of area of 100km around track point is not usable (land or outside of acquisition). 2023-01-23 16:36:34,731 [INFO] SAR image has 231822 non-masked points. 2023-01-23 16:37:11,211 [INFO] Starting creation of NetCDF products... 2023-01-23 16:37:11,219 [INFO] Getting data from Cyclobs track API. Req : https://cyclobs.ifremer.fr/app/api/track?include_cols=all&sid=al112017&freq=15&min_date=2017-09-06&max_date=2017-09-10 2023-01-23 16:37:11,221 [INFO] Acquisition datetime is 2017-09-08 10:54:27 2023-01-23 16:37:11,484 [INFO] Found propagation angle to north is 78.95616329243354°, dir std 0.013219517346051108, speed : 6.90879800089233 m/s, speed_std 0.3236098695876499 2023-01-23 16:37:11,556 [INFO] Creating aeqd gridded dataset... 2023-01-23 16:37:16,367 [INFO] Done creating aeqd gridded dataset. 2023-01-23 16:37:16,369 [INFO] Converting dataset to polar... 2023-01-23 16:37:17,947 [INFO] Done converting dataset to polar. 2023-01-23 16:37:17,950 [INFO] Rotating polar dataset... /home/datawork-cersat-public/cache/project/cyclobs/tc_center/tc_center_37/lib/python3.7/site-packages/tc_center/polar.py:511: RuntimeWarning: invalid value encountered in remainder polar_ds[var_diff].values + round(direction_angle)), 360) 2023-01-23 16:37:17,974 [INFO] Done rotating polar dataset.. 2023-01-23 16:37:17,976 [INFO] Rotating cartesian dataset... /home/datawork-cersat-public/cache/project/cyclobs/tc_center/tc_center_37/lib/python3.7/site-packages/tc_center/polar.py:573: RuntimeWarning: invalid value encountered in remainder ds_cyclone_gd[var_diff][:] = np.mod(np.where(nan_mask, np.nan, ds_cyclone_gd[var_diff].values + angle), 360) 2023-01-23 16:37:18,984 [INFO] Done rotating cartesian dataset. 2023-01-23 16:37:18,994 [INFO] Adding wind direction related variables... 2023-01-23 16:37:22,380 [INFO] Done adding wind direction related variables. 2023-01-23 16:37:22,382 [INFO] Computing radii using polar north dataset... 2023-01-23 16:37:54,863 [ERROR] Exception: local variable 'closest_rmax' referenced before assignment Traceback (most recent call last): File "/home/datawork-cersat-public/cache/project/cyclobs/tc_center/tc_center_37/lib/python3.7/site-packages/tc_center/__init__.py", line 350, in find_center_save **eye_dict) File "/home/datawork-cersat-public/cache/project/cyclobs/tc_center/tc_center_37/lib/python3.7/site-packages/tc_center/analysis_product.py", line 1551, in center_products_analysis atcf_vmax=atcf_vmax, storm_name=storm_name, sid=sid, eye_ok=eye_ok, sat_file_light=True) File "/home/datawork-cersat-public/cache/project/cyclobs/tc_center/tc_center_37/lib/python3.7/site-packages/tc_center/analysis_product.py", line 1440, in center_products eye_ok=eye_ok) File "/home/datawork-cersat-public/cache/project/cyclobs/tc_center/tc_center_37/lib/python3.7/site-packages/tc_center/analysis_product.py", line 381, in compute_radii_new range_list=[30, 10]) File "/home/datawork-cersat-public/cache/project/cyclobs/tc_center/tc_center_37/lib/python3.7/site-packages/tc_center/analysis_product.py", line 348, in compute_vmax t_start=t_start, t_stop=t_stop) File "/home/datawork-cersat-public/cache/project/cyclobs/tc_center/tc_center_37/lib/python3.7/site-packages/tc_center/analysis_product.py", line 263, in recursive_vmax_window rmax = closest_rmax.coords["rad"].item() UnboundLocalError: local variable 'closest_rmax' referenced before assignment exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc exc