2023-01-23 15:15:42,053 [INFO] Getting data from Cyclobs API. Req : https://cyclobs.ifremer.fr/app/api/getData?include_cols=all&filename=20200918t064225-20200918t064340 2023-01-23 15:15:43,089 [INFO] Getting IBTRACS data from Cyclobs API. Req : https://cyclobs.ifremer.fr/app/api/getData?include_cols=all&filename=20200918t064225-20200918t064340&track_source=ibtracs 2023-01-23 15:15:43,598 [INFO] file : /home/datawork-cersat-public/cache/public/ftp/project/sarwing/processings/c39e79a/default/sentinel-1b/L2C/IW/S1B_IW_OWIH_1S/2020/262/S1B_IW_OWIH_CC_20200918T064225_20200918T064340_023426_02C7F6/post_processing/nclight_L2M/s1b-iw-owi-cm-20200918t064225-20200918t064340-000003-02C7F6_sw.nc 2023-01-23 15:15:43,600 [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:15:46,393 [INFO] Atcf lon/lat -11.2625/38.025 2023-01-23 15:15:51,890 [INFO] Distance to coast of track point is 172306.34488772505 meters. 2023-01-23 15:15:51,892 [INFO] Distance between aquisition border and track point is 17425.724826432874 meters. 2023-01-23 15:15:51,929 [INFO] 39.02574205078203% of area of 100km around atcf track is outside acquisition bounding box 2023-01-23 15:15:51,964 [INFO] 0.0% of area of 100km around atcf track point that is inside acquisition bounding box is land. 2023-01-23 15:15:51,966 [INFO] 39.02574205078203% of area of 100km around track point is not usable (land or outside of acquisition). 2023-01-23 15:15:51,974 [INFO] SAR image has 100634 non-masked points. 2023-01-23 15:16:38,867 [INFO] Starting creation of NetCDF products... 2023-01-23 15:16:38,879 [INFO] Getting data from Cyclobs track API. Req : https://cyclobs.ifremer.fr/app/api/track?include_cols=all&sid=al242020&freq=15&min_date=2020-09-16&max_date=2020-09-20 2023-01-23 15:16:38,880 [INFO] Acquisition datetime is 2020-09-18 06:43:02.500000 2023-01-23 15:16:39,141 [INFO] Found propagation angle to north is -44.25429146220469°, dir std 0.04770211714619332, speed : 7.820396114068688 m/s, speed_std 0.956514077656928 2023-01-23 15:16:39,207 [INFO] Creating aeqd gridded dataset... 2023-01-23 15:16:44,161 [INFO] Done creating aeqd gridded dataset. 2023-01-23 15:16:44,172 [INFO] Converting dataset to polar... 2023-01-23 15:16:46,479 [INFO] Done converting dataset to polar. 2023-01-23 15:16:46,482 [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:16:46,512 [INFO] Done rotating polar dataset.. 2023-01-23 15:16:46,514 [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:16:47,870 [INFO] Done rotating cartesian dataset. 2023-01-23 15:16:47,879 [INFO] Adding wind direction related variables... 2023-01-23 15:16:50,332 [INFO] Done adding wind direction related variables. 2023-01-23 15:16:50,334 [INFO] Computing radii using polar north dataset... 2023-01-23 15:17:02,032 [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 295, in recursive_vmax_window 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