2021-12-08 12:49:46,760 [INFO] Getting data from Cyclobs API. Req : https://cyclobs.ifremer.fr/app/api/getData?include_cols=all&filename=s1b-iw-owi-cm-20180806t123350-20180806t123432-000003-0165C4_ll_gd.nc 2021-12-08 12:49:47,110 [INFO] file : /home/datawork-cersat-public/cache/public/ftp/project/sarwing/processings/c39e79a/default/sentinel-1b/L2C/IW/S1B_IW_OWIH_1S/2018/218/S1B_IW_OWIH_CC_20180806T123350_20180806T123432_012142_0165C4/post_processing/nclight_L2M/s1b-iw-owi-cm-20180806t123350-20180806t123432-000003-0165C4_sw.nc 2021-12-08 12:49:47,110 [INFO] extracting SAR image info for file nclight_L2M... 2021-12-08 12:49:47,258 [INFO] Atcf lon/lat -101.3166666666667/15.875 2021-12-08 12:50:02,614 [INFO] Distance to coast of track point is 155041.48963636815 meters. 2021-12-08 12:50:02,616 [INFO] Distance between aquisition border and track point is 19122.409568086638 meters. 2021-12-08 12:50:02,986 [INFO] 63.31665280908187% of area of 100km around atcf track is outside acquisition bounding box 2021-12-08 12:50:03,116 [INFO] 0.0% of area of 100km around atcf track point that is inside acquisition bounding box is land. 2021-12-08 12:50:03,116 [INFO] 63.31665280908187% of area of 100km around track point is not usable (land or outside of acquisition). 2021-12-08 12:50:03,122 [INFO] SAR image has 31395 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 12:50:07,754 [WARNING] Failed to find an eye center : reached maximum number of iteration. 2021-12-08 12:50:13,977 [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