2023-10-17 17:32:16,791 [INFO] Getting data from Cyclobs API. Req : http://derive.ifremer.fr/app/api/getData?include_cols=all&filename=20210908t100621-20210908t100801 2023-10-17 17:32:17,949 [INFO] Getting IBTRACS data from Cyclobs API. Req : http://derive.ifremer.fr/app/api/getData?include_cols=all&filename=20210908t100621-20210908t100801&track_source=ibtracs 2023-10-17 17:32:19,041 [INFO] file : /home/datawork-cersat-public/cache/public/ftp/project/sarwing/processings/c39e79a/xsardef/sentinel-1a/L2C/IW/S1A_IW_OWIH_1S/2021/251/S1A_IW_OWIH_CC_20210908T100621_20210908T100801_039589_04ADF7/post_processing/nclight_L2M/s1a-iw-owi-cm-20210908t100621-20210908t100801-000003-04ADF7_sw.nc 2023-10-17 17:32:19,041 [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:32:21,429 [INFO] Atcf lon/lat 120.3333333333333/14.5 2023-10-17 17:32:25,572 [INFO] Distance to coast of track point is 4772.60530865297 meters. 2023-10-17 17:32:25,634 [INFO] Distance between aquisition border and track point is 51311.71481843623 meters. 2023-10-17 17:32:25,644 [INFO] 18.839870479634357% of area of 100km around atcf track is outside acquisition bounding box 2023-10-17 17:32:25,659 [INFO] 40.54941213019841% of area of 100km around atcf track point that is inside acquisition bounding box is land. 2023-10-17 17:32:25,659 [INFO] 59.38928260983277% of area of 100km around track point is not usable (land or outside of acquisition). 2023-10-17 17:32:25,661 [INFO] SAR image has 72086 non-masked points. 2023-10-17 17:33:02,590 [WARNING] Procedure OK but many points are masked... TC might be on land 2023-10-17 17:33:02,607 [INFO] Starting creation of NetCDF products... 2023-10-17 17:33:02,609 [INFO] Getting data from Cyclobs track API. Req : http://derive.ifremer.fr/app/api/track?include_cols=all&sid=wp182021&freq=15&min_date=2021-09-06&max_date=2021-09-10 2023-10-17 17:33:02,609 [INFO] Acquisition datetime is 2021-09-08 10:07:11 2023-10-17 17:33:02,720 [INFO] Found propagation angle to north is 56.8296845825236°, dir std 0.14491164854265579, speed : 4.455276967653865 m/s, speed_std 0.6514964536460989 2023-10-17 17:33:02,754 [INFO] Creating aeqd gridded dataset... 2023-10-17 17:33:06,082 [INFO] Done creating aeqd gridded dataset. 2023-10-17 17:33:06,082 [INFO] Converting dataset to polar... 2023-10-17 17:33:07,018 [INFO] Done converting dataset to polar. 2023-10-17 17:33:07,018 [INFO] Rotating polar dataset... 2023-10-17 17:33:07,023 [INFO] Done rotating polar dataset.. 2023-10-17 17:33:07,024 [INFO] Rotating cartesian dataset... 2023-10-17 17:33:07,314 [INFO] Done rotating cartesian dataset. 2023-10-17 17:33:07,314 [INFO] Adding wind direction related variables... 2023-10-17 17:33:07,409 [INFO] Done adding wind direction related variables. 2023-10-17 17:33:07,409 [INFO] Computing radii using polar north dataset... 2023-10-17 17:33:19,851 [INFO] Done computing radii using polar north dataset. 2023-10-17 17:33:19,916 [INFO] Computing shapes from eye center research procedure results, to be added to dataset... 2023-10-17 17:33:19,918 [INFO] Done computing shapes. 2023-10-17 17:33:26,412 [INFO] Adding attributes to the 4 datasets... 2023-10-17 17:33:26,430 [INFO] Flag value : track_flag -> 2 2023-10-17 17:33:26,431 [INFO] Flag value : lwind_hwind_flag -> 0 2023-10-17 17:33:26,431 [INFO] Flag value : eye_length_flag -> 2 2023-10-17 17:33:26,432 [INFO] Flag value : eye_circularity_flag -> 0 2023-10-17 17:33:26,432 [INFO] Flag value : dist_lwind_flag -> 0 2023-10-17 17:33:26,433 [INFO] Flag value : eye_contained_flag -> 0 2023-10-17 17:33:26,433 [INFO] Flag value : distance_center_bbox_flag -> 0 2023-10-17 17:33:26,434 [INFO] Flag value : distance_track_bbox_flag -> 0 2023-10-17 17:33:26,434 [INFO] Flag value : land_flag -> 2 2023-10-17 17:33:26,435 [INFO] Flag value : track_point_flag -> 0 2023-10-17 17:33:26,435 [INFO] Flag value : percent_eye_bbox_flag -> 0 2023-10-17 17:33:26,436 [INFO] Flag value : center_quality_flag -> 3.8 2023-10-17 17:33:26,557 [INFO] Flag value : track_flag -> 2 2023-10-17 17:33:26,558 [INFO] Flag value : lwind_hwind_flag -> 0 2023-10-17 17:33:26,558 [INFO] Flag value : eye_length_flag -> 2 2023-10-17 17:33:26,559 [INFO] Flag value : eye_circularity_flag -> 0 2023-10-17 17:33:26,559 [INFO] Flag value : dist_lwind_flag -> 0 2023-10-17 17:33:26,560 [INFO] Flag value : eye_contained_flag -> 0 2023-10-17 17:33:26,560 [INFO] Flag value : distance_center_bbox_flag -> 0 2023-10-17 17:33:26,561 [INFO] Flag value : distance_track_bbox_flag -> 0 2023-10-17 17:33:26,561 [INFO] Flag value : land_flag -> 2 2023-10-17 17:33:26,562 [INFO] Flag value : track_point_flag -> 0 2023-10-17 17:33:26,571 [INFO] Flag value : percent_eye_bbox_flag -> 0 2023-10-17 17:33:26,572 [INFO] Flag value : center_quality_flag -> 3.8 2023-10-17 17:33:26,681 [INFO] Done adding attributes to the 4 datasets. 2023-10-17 17:33:26,681 [INFO] Saving to netcdf... 2023-10-17 17:33:26,681 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/s1a-iw-owi-ca-20210908t100621-20210908t100801-000003-04ADF7_sw_wp182021_geogr_gd.nc 2023-10-17 17:33:28,312 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/s1a-iw-owi-ca-20210908t100621-20210908t100801-000003-04ADF7_sw_wp182021_geogr_polar.nc 2023-10-17 17:33:29,084 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/s1a-iw-owi-ca-20210908t100621-20210908t100801-000003-04ADF7_sw_wp182021_cyclone_polar.nc 2023-10-17 17:33:30,459 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/s1a-iw-owi-ca-20210908t100621-20210908t100801-000003-04ADF7_sw_wp182021_geogr_gd.nc 2023-10-17 17:33:32,531 [INFO] Done saving. 2023-10-17 17:33:32,698 [INFO] ATCF output file exists (/home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/fix/SARFIX_bwp182021.dat). Reading and merging. /home/datawork-cersat-public/cache/project/sarwing/users/tcevaer/tc_center/tc_center/fix.py:177: FutureWarning: The error_bad_lines argument has been deprecated and will be removed in a future version. _, existing_fix = atcf.read(atcf_outfile, model="fix", multi_return=True) /opt/anaconda/tc_center_conda/lib/python3.7/site-packages/pandas/io/parsers/readers.py:586: ParserWarning: Length of header or names does not match length of data. This leads to a loss of data with index_col=False. return _read(filepath_or_buffer, kwds) 2023-10-17 17:33:32,862 [INFO] wrote /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/fix/SARFIX_bwp182021.dat 2023-10-17 17:33:32,867 [INFO] wrote /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/fix/SARFIX_s1a-iw-owi-cc-20210908t100621-20210908t100801-039589-04ADF7.dat