2023-01-23 15:24:05,635 [INFO] Getting data from Cyclobs API. Req : https://cyclobs.ifremer.fr/app/api/getData?include_cols=all&filename=20191208t022442-20191208t022601 2023-01-23 15:24:06,027 [INFO] Getting IBTRACS data from Cyclobs API. Req : https://cyclobs.ifremer.fr/app/api/getData?include_cols=all&filename=20191208t022442-20191208t022601&track_source=ibtracs 2023-01-23 15:24:06,410 [INFO] file : /home/datawork-cersat-public/cache/public/ftp/project/sarwing/processings/c39e79a/default/sentinel-1b/L2C/IW/S1B_IW_OWIH_1S/2019/342/S1B_IW_OWIH_CC_20191208T022442_20191208T022601_019267_024608/post_processing/nclight_L2M/s1b-iw-owi-cm-20191208t022442-20191208t022601-000003-024608_sw.nc 2023-01-23 15:24:06,446 [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:24:10,007 [INFO] Atcf lon/lat 46.775/-11.59166666666667 2023-01-23 15:24:14,971 [INFO] Distance to coast of track point is 56019.79306387221 meters. 2023-01-23 15:24:15,107 [INFO] Distance between aquisition border and track point is 43489.85289370404 meters. 2023-01-23 15:24:15,133 [INFO] 23.21631786719395% of area of 100km around atcf track is outside acquisition bounding box 2023-01-23 15:24:15,201 [INFO] 0.00629929767581867% of area of 100km around atcf track point that is inside acquisition bounding box is land. 2023-01-23 15:24:15,203 [INFO] 23.22261716486977% of area of 100km around track point is not usable (land or outside of acquisition). 2023-01-23 15:24:15,210 [INFO] SAR image has 122069 non-masked points. 2023-01-23 15:24:55,085 [INFO] Starting creation of NetCDF products... 2023-01-23 15:24:55,093 [INFO] Getting data from Cyclobs track API. Req : https://cyclobs.ifremer.fr/app/api/track?include_cols=all&sid=sh022020&freq=15&min_date=2019-12-06&max_date=2019-12-10 2023-01-23 15:24:55,094 [INFO] Acquisition datetime is 2019-12-08 02:25:21.500000 2023-01-23 15:24:55,343 [INFO] Found propagation angle to north is 156.49529962412268°, dir std 0.036623140928055936, speed : 3.5862665933339493 m/s, speed_std 0.31605902864956525 2023-01-23 15:24:55,436 [INFO] Creating aeqd gridded dataset... 2023-01-23 15:24:59,600 [INFO] Done creating aeqd gridded dataset. 2023-01-23 15:24:59,603 [INFO] Converting dataset to polar... 2023-01-23 15:25:01,239 [INFO] Done converting dataset to polar. 2023-01-23 15:25:01,241 [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:508: RuntimeWarning: invalid value encountered in remainder - polar_ds[var_diff].values - round(direction_angle)), 360) 2023-01-23 15:25:01,266 [INFO] Done rotating polar dataset.. 2023-01-23 15:25:01,268 [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:571: 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:25:02,329 [INFO] Done rotating cartesian dataset. 2023-01-23 15:25:02,332 [INFO] Adding wind direction related variables... 2023-01-23 15:25:04,937 [INFO] Done adding wind direction related variables. 2023-01-23 15:25:04,939 [INFO] Computing radii using polar north dataset... 2023-01-23 15:25:13,254 [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 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