2023-01-23 15:14:05,873 [INFO] Getting data from Cyclobs API. Req : https://cyclobs.ifremer.fr/app/api/getData?include_cols=all&filename=20200919t221407-20200919t221523 2023-01-23 15:14:06,301 [INFO] Getting IBTRACS data from Cyclobs API. Req : https://cyclobs.ifremer.fr/app/api/getData?include_cols=all&filename=20200919t221407-20200919t221523&track_source=ibtracs 2023-01-23 15:14:06,705 [INFO] file : /home/datawork-cersat-public/cache/public/ftp/project/sarwing/processings/c39e79a/default/RS2/L2C/VV_VH/2020/263/RS2_OK125612_PK1098039_DK1043909_SCWA_20200919_221407_VV_VH_SCF/RS2__OWI_CC_20200919T221407_20200919T221523_66647_5CB16/post_processing/nclight_L2M/rs2--owi-cm-20200919t221407-20200919t221523-00003-5CB16_sw.nc 2023-01-23 15:14:06,706 [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 15:14:09,381 [INFO] Atcf lon/lat -60.50833333333333/26.725 2023-01-23 15:14:14,287 [INFO] Distance to coast of track point is 741723.8642601313 meters. 2023-01-23 15:14:14,289 [INFO] Distance between aquisition border and track point is 23495.230914651675 meters. 2023-01-23 15:14:14,315 [INFO] 35.205221999570526% of area of 100km around atcf track is outside acquisition bounding box 2023-01-23 15:14:14,335 [INFO] 0.0% of area of 100km around atcf track point that is inside acquisition bounding box is land. 2023-01-23 15:14:14,337 [INFO] 35.205221999570526% of area of 100km around track point is not usable (land or outside of acquisition). 2023-01-23 15:14:14,342 [INFO] SAR image has 259336 non-masked points. 2023-01-23 15:14:48,987 [INFO] Starting creation of NetCDF products... 2023-01-23 15:14:48,996 [INFO] Getting data from Cyclobs track API. Req : https://cyclobs.ifremer.fr/app/api/track?include_cols=all&sid=al202020&freq=15&min_date=2020-09-17&max_date=2020-09-21 2023-01-23 15:14:48,998 [INFO] Acquisition datetime is 2020-09-19 22:14:45 2023-01-23 15:14:49,242 [INFO] Found propagation angle to north is 56.547530026550426°, dir std 0.015449375189258534, speed : 5.720912850478646 m/s, speed_std 0.16572234911155057 2023-01-23 15:14:49,334 [INFO] Creating aeqd gridded dataset... 2023-01-23 15:14:54,992 [INFO] Done creating aeqd gridded dataset. 2023-01-23 15:14:54,994 [INFO] Converting dataset to polar... 2023-01-23 15:14:57,286 [INFO] Done converting dataset to polar. 2023-01-23 15:14:57,545 [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 15:14:57,704 [INFO] Done rotating polar dataset.. 2023-01-23 15:14:57,705 [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 15:14:59,004 [INFO] Done rotating cartesian dataset. 2023-01-23 15:14:59,152 [INFO] Adding wind direction related variables... 2023-01-23 15:15:03,466 [INFO] Done adding wind direction related variables. 2023-01-23 15:15:03,855 [INFO] Computing radii using polar north dataset... 2023-01-23 15:15:16,129 [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 1431, in center_products radii_quad, radii_nmi_quad, percent_valid_quad = compute_radii_new(ds_polar_north, rmax_ck22, 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