2021-12-08 11:43:37,305 [INFO] Getting data from Cyclobs API. Req : https://cyclobs.ifremer.fr/app/api/getData?include_cols=all&filename=s1a-iw-owi-cm-20210829t000047-20210829t000227-000003-04A8B3_ll_gd.nc 2021-12-08 11:43:37,950 [INFO] file : /home/datawork-cersat-public/cache/public/ftp/project/sarwing/processings/c39e79a/default/sentinel-1a/L2C/IW/S1A_IW_OWIH_1S/2021/241/S1A_IW_OWIH_CC_20210829T000047_20210829T000227_039437_04A8B3/post_processing/nclight_L2M/s1a-iw-owi-cm-20210829t000047-20210829t000227-000003-04A8B3_sw.nc 2021-12-08 11:43:37,951 [INFO] extracting SAR image info for file nclight_L2M... 2021-12-08 11:43:41,345 [INFO] Atcf lon/lat -87.6/26.7 2021-12-08 11:43:57,129 [INFO] Distance to coast of track point is 295915.3426976918 meters. 2021-12-08 11:43:57,130 [INFO] Distance between aquisition border and track point is 27493.45873602462 meters. 2021-12-08 11:43:57,501 [INFO] 67.25169604324674% of area of 100km around atcf track is outside acquisition bounding box 2021-12-08 11:43:57,615 [INFO] 0.0% of area of 100km around atcf track point that is inside acquisition bounding box is land. 2021-12-08 11:43:57,615 [INFO] 67.25169604324674% of area of 100km around track point is not usable (land or outside of acquisition). 2021-12-08 11:43:57,620 [INFO] SAR image has 158989 non-masked points. /home/datawork-cersat-public/cache/project/cyclobs/tc_center/tc_center_conda/lib/python3.7/site-packages/tc_center/functions.py:811: RuntimeWarning: invalid value encountered in sqrt grad = np.sqrt((np.gradient(wspdcop)[0] ** 2 + np.gradient(wspdcop)[1] ** 2)) 2021-12-08 11:44:01,526 [WARNING] Failed to find an eye center : reached maximum number of iteration. 2021-12-08 11:44:08,517 [ERROR] Exception: index 0 is out of bounds for axis 0 with size 0 Traceback (most recent call last): File "/home/datawork-cersat-public/cache/project/cyclobs/tc_center/tc_center_conda/lib/python3.7/site-packages/tc_center/__init__.py", line 231, in find_center_plot_save eye_dict, status = compute_centers(sat_file, resolution, api_data) File "/home/datawork-cersat-public/cache/project/cyclobs/tc_center/tc_center_conda/lib/python3.7/site-packages/tc_center/__init__.py", line 148, in compute_centers lon_eye, lat_eye, rad, azim, rads_shp = center_eye(lon, lat, lon_eye_old, lat_eye_old, windspd, method_shape_eye=1) File "/home/datawork-cersat-public/cache/project/cyclobs/tc_center/tc_center_conda/lib/python3.7/site-packages/tc_center/functions.py", line 62, in wrapper result = f(*args, **kwargs) File "/home/datawork-cersat-public/cache/project/cyclobs/tc_center/tc_center_conda/lib/python3.7/site-packages/tc_center/functions.py", line 1006, in center_eye rads_shp = shape_eye(r_vect, theta_vect, windspd_pol, method=method_shape_eye) File "/home/datawork-cersat-public/cache/project/cyclobs/tc_center/tc_center_conda/lib/python3.7/site-packages/tc_center/functions.py", line 62, in wrapper result = f(*args, **kwargs) File "/home/datawork-cersat-public/cache/project/cyclobs/tc_center/tc_center_conda/lib/python3.7/site-packages/tc_center/functions.py", line 689, in shape_eye rads_shp = extract_wind_contour(windval, windspd_pol, r_vect, theta_vect, r_vect_refine, az_maxwind) File "/home/datawork-cersat-public/cache/project/cyclobs/tc_center/tc_center_conda/lib/python3.7/site-packages/tc_center/functions.py", line 62, in wrapper result = f(*args, **kwargs) File "/home/datawork-cersat-public/cache/project/cyclobs/tc_center/tc_center_conda/lib/python3.7/site-packages/tc_center/functions.py", line 576, in extract_wind_contour rmaxwnd = r_vect[np.ma.where(windspd_azim == np.ma.max(windspd_azim))[0][0]] IndexError: index 0 is out of bounds for axis 0 with size 0