2023-10-17 17:02:39,891 [INFO] Getting data from Cyclobs API. Req : http://derive.ifremer.fr/app/api/getData?include_cols=all&filename=20230310t030937-20230310t031117 2023-10-17 17:02:40,731 [INFO] Getting IBTRACS data from Cyclobs API. Req : http://derive.ifremer.fr/app/api/getData?include_cols=all&filename=20230310t030937-20230310t031117&track_source=ibtracs 2023-10-17 17:02:41,709 [INFO] file : /home/datawork-cersat-public/cache/public/ftp/project/sarwing/processings/c39e79a/xsardef/rcm1/L1/SCLNA/GRD/2023/069/RCM1_OK2470818_PK2472785_1_SCLNA_20230310_030952_VV_VH_GRD/RCM1__OWI_CC_20230310T030937_20230310T031117____________/post_processing/nclight_L2M/rcm1--owi-cm-20230310t030937-20230310t031117-00003-______sw.nc 2023-10-17 17:02:41,709 [INFO] extracting SAR image info for file nclight_L2M... /home/datawork-cersat-public/cache/project/sarwing/users/tcevaer/tc_center/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-10-17 17:02:43,466 [INFO] Atcf lon/lat 38.44583333333333/-18.78333333333333 2023-10-17 17:02:46,890 [INFO] Distance to coast of track point is 164350.13626137667 meters. 2023-10-17 17:02:46,891 [INFO] Distance between aquisition border and track point is 37970.77270450242 meters. 2023-10-17 17:02:46,902 [INFO] 73.56447223159003% of area of 100km around atcf track is outside acquisition bounding box 2023-10-17 17:02:46,916 [INFO] 0.0% of area of 100km around atcf track point that is inside acquisition bounding box is land. 2023-10-17 17:02:46,916 [INFO] 73.56447223159003% of area of 100km around track point is not usable (land or outside of acquisition). 2023-10-17 17:02:46,918 [INFO] SAR image has 71778 non-masked points. 2023-10-17 17:03:07,545 [WARNING] Re-center procedure found the eye out of the image. 2023-10-17 17:03:07,547 [WARNING] Procedure OK but many points are masked... TC might be on land 2023-10-17 17:03:07,548 [INFO] Starting creation of NetCDF products... 2023-10-17 17:03:07,550 [INFO] Getting data from Cyclobs track API. Req : http://derive.ifremer.fr/app/api/track?include_cols=all&sid=sh112023&freq=15&min_date=2023-03-08&max_date=2023-03-12 2023-10-17 17:03:07,550 [INFO] Acquisition datetime is 2023-03-10 03:10:27 2023-10-17 17:03:07,667 [INFO] Found propagation angle to north is 15.57492996317281°, dir std 0.042844718399254834, speed : 1.987782096710107 m/s, speed_std 0.2297074711690784 2023-10-17 17:03:07,723 [INFO] Creating aeqd gridded dataset... 2023-10-17 17:03:11,164 [INFO] Done creating aeqd gridded dataset. 2023-10-17 17:03:11,164 [INFO] Converting dataset to polar... 2023-10-17 17:03:12,533 [INFO] Done converting dataset to polar. 2023-10-17 17:03:12,533 [INFO] Rotating polar dataset... 2023-10-17 17:03:12,538 [INFO] Done rotating polar dataset.. 2023-10-17 17:03:12,539 [INFO] Rotating cartesian dataset... 2023-10-17 17:03:13,118 [INFO] Done rotating cartesian dataset. 2023-10-17 17:03:13,118 [INFO] Adding wind direction related variables... 2023-10-17 17:03:13,308 [INFO] Done adding wind direction related variables. 2023-10-17 17:03:13,308 [INFO] Computing radii using polar north dataset... 2023-10-17 17:03:20,848 [INFO] Done computing radii using polar north dataset. 2023-10-17 17:03:20,909 [INFO] Computing shapes from eye center research procedure results, to be added to dataset... 2023-10-17 17:03:20,911 [INFO] Done computing shapes. 2023-10-17 17:03:25,246 [INFO] Adding attributes to the 4 datasets... 2023-10-17 17:03:25,250 [INFO] Flag value : track_flag -> 0 2023-10-17 17:03:25,251 [INFO] Flag value : lwind_hwind_flag -> 0 2023-10-17 17:03:25,251 [INFO] Flag value : eye_length_flag -> 2 2023-10-17 17:03:25,252 [INFO] Flag value : eye_circularity_flag -> 0 2023-10-17 17:03:25,252 [INFO] Flag value : dist_lwind_flag -> 2 2023-10-17 17:03:25,253 [INFO] Flag value : eye_contained_flag -> 2 2023-10-17 17:03:25,253 [INFO] Flag value : distance_center_bbox_flag -> 0 2023-10-17 17:03:25,254 [INFO] Flag value : distance_track_bbox_flag -> 0 2023-10-17 17:03:25,254 [INFO] Flag value : land_flag -> 0 2023-10-17 17:03:25,255 [INFO] Flag value : track_point_flag -> 2 2023-10-17 17:03:25,256 [INFO] Flag value : percent_eye_bbox_flag -> 2 2023-10-17 17:03:25,256 [INFO] Flag value : center_quality_flag -> 4.0 2023-10-17 17:03:25,320 [INFO] Flag value : track_flag -> 0 2023-10-17 17:03:25,320 [INFO] Flag value : lwind_hwind_flag -> 0 2023-10-17 17:03:25,321 [INFO] Flag value : eye_length_flag -> 2 2023-10-17 17:03:25,321 [INFO] Flag value : eye_circularity_flag -> 0 2023-10-17 17:03:25,322 [INFO] Flag value : dist_lwind_flag -> 2 2023-10-17 17:03:25,322 [INFO] Flag value : eye_contained_flag -> 2 2023-10-17 17:03:25,323 [INFO] Flag value : distance_center_bbox_flag -> 0 2023-10-17 17:03:25,323 [INFO] Flag value : distance_track_bbox_flag -> 0 2023-10-17 17:03:25,324 [INFO] Flag value : land_flag -> 0 2023-10-17 17:03:25,325 [INFO] Flag value : track_point_flag -> 2 2023-10-17 17:03:25,325 [INFO] Flag value : percent_eye_bbox_flag -> 2 2023-10-17 17:03:25,326 [INFO] Flag value : center_quality_flag -> 4.0 2023-10-17 17:03:25,389 [INFO] Done adding attributes to the 4 datasets. 2023-10-17 17:03:25,390 [INFO] Saving to netcdf... 2023-10-17 17:03:25,390 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/rcm1--owi-ca-20230310t030937-20230310t031117-00003-______sw_sh112023_geogr_gd.nc 2023-10-17 17:03:26,939 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/rcm1--owi-ca-20230310t030937-20230310t031117-00003-______sw_sh112023_geogr_polar.nc 2023-10-17 17:03:27,573 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/rcm1--owi-ca-20230310t030937-20230310t031117-00003-______sw_sh112023_cyclone_polar.nc 2023-10-17 17:03:28,321 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/rcm1--owi-ca-20230310t030937-20230310t031117-00003-______sw_sh112023_geogr_gd.nc 2023-10-17 17:03:31,513 [INFO] Done saving. 2023-10-17 17:03:31,615 [INFO] wrote /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/fix/SARFIX_bsh112023.dat 2023-10-17 17:03:31,619 [INFO] wrote /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/fix/SARFIX_rcm1--owi-cc-20230310t030937-20230310t031117-_____-_____.dat