2023-10-17 17:32:46,078 [INFO] Getting data from Cyclobs API. Req : http://derive.ifremer.fr/app/api/getData?include_cols=all&filename=20210907t213854-20210907t214009 2023-10-17 17:32:47,870 [INFO] Getting IBTRACS data from Cyclobs API. Req : http://derive.ifremer.fr/app/api/getData?include_cols=all&filename=20210907t213854-20210907t214009&track_source=ibtracs 2023-10-17 17:32:49,573 [INFO] file : /home/datawork-cersat-public/cache/public/ftp/project/sarwing/processings/c39e79a/xsardef/sentinel-1a/L2C/IW/S1A_IW_OWIH_1S/2021/250/S1A_IW_OWIH_CC_20210907T213854_20210907T214009_039581_04ADC3/post_processing/nclight_L2M/s1a-iw-owi-cm-20210907t213854-20210907t214009-000003-04ADC3_sw.nc 2023-10-17 17:32:49,573 [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:51,307 [INFO] Atcf lon/lat 121.625/13.55 2023-10-17 17:32:55,089 [INFO] Distance to coast of track point is 22844.762461960167 meters. 2023-10-17 17:32:55,090 [INFO] Distance between aquisition border and track point is 1493.1900444810542 meters. 2023-10-17 17:32:55,101 [INFO] 50.95086823192689% of area of 100km around atcf track is outside acquisition bounding box 2023-10-17 17:32:55,131 [INFO] 13.13033963169625% of area of 100km around atcf track point that is inside acquisition bounding box is land. 2023-10-17 17:32:55,131 [INFO] 64.08120786362313% of area of 100km around track point is not usable (land or outside of acquisition). 2023-10-17 17:32:55,133 [INFO] SAR image has 71535 non-masked points. 2023-10-17 17:33:14,500 [WARNING] Procedure OK but many points are masked... TC might be on land 2023-10-17 17:33:14,502 [INFO] Starting creation of NetCDF products... 2023-10-17 17:33:14,504 [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-05&max_date=2021-09-09 2023-10-17 17:33:14,504 [INFO] Acquisition datetime is 2021-09-07 21:39:31.500000 2023-10-17 17:33:14,642 [INFO] Found propagation angle to north is 56.824414581142186°, dir std 0.038449642911981795, speed : 3.6824472860140105 m/s, speed_std 0.16942425698360303 2023-10-17 17:33:16,096 [INFO] Creating aeqd gridded dataset... 2023-10-17 17:33:18,842 [INFO] Done creating aeqd gridded dataset. 2023-10-17 17:33:18,842 [INFO] Converting dataset to polar... 2023-10-17 17:33:19,619 [INFO] Done converting dataset to polar. 2023-10-17 17:33:19,676 [INFO] Rotating polar dataset... 2023-10-17 17:33:19,683 [INFO] Done rotating polar dataset.. 2023-10-17 17:33:19,683 [INFO] Rotating cartesian dataset... 2023-10-17 17:33:19,943 [INFO] Done rotating cartesian dataset. 2023-10-17 17:33:19,943 [INFO] Adding wind direction related variables... 2023-10-17 17:33:20,035 [INFO] Done adding wind direction related variables. 2023-10-17 17:33:20,035 [INFO] Computing radii using polar north dataset... 2023-10-17 17:33:30,110 [INFO] Done computing radii using polar north dataset. 2023-10-17 17:33:30,172 [INFO] Computing shapes from eye center research procedure results, to be added to dataset... 2023-10-17 17:33:30,174 [INFO] Done computing shapes. 2023-10-17 17:33:35,033 [INFO] Adding attributes to the 4 datasets... 2023-10-17 17:33:35,037 [INFO] Flag value : track_flag -> 0 2023-10-17 17:33:35,037 [INFO] Flag value : lwind_hwind_flag -> 0 2023-10-17 17:33:35,038 [INFO] Flag value : eye_length_flag -> 0 2023-10-17 17:33:35,038 [INFO] Flag value : eye_circularity_flag -> 0 2023-10-17 17:33:35,039 [INFO] Flag value : dist_lwind_flag -> 0 2023-10-17 17:33:35,039 [INFO] Flag value : eye_contained_flag -> 0 2023-10-17 17:33:35,040 [INFO] Flag value : distance_center_bbox_flag -> 2 2023-10-17 17:33:35,041 [INFO] Flag value : distance_track_bbox_flag -> 2 2023-10-17 17:33:35,041 [INFO] Flag value : land_flag -> 2 2023-10-17 17:33:35,042 [INFO] Flag value : track_point_flag -> 2 2023-10-17 17:33:35,042 [INFO] Flag value : percent_eye_bbox_flag -> 0 2023-10-17 17:33:35,043 [INFO] Flag value : center_quality_flag -> 3.6 2023-10-17 17:33:35,103 [INFO] Flag value : track_flag -> 0 2023-10-17 17:33:35,104 [INFO] Flag value : lwind_hwind_flag -> 0 2023-10-17 17:33:35,104 [INFO] Flag value : eye_length_flag -> 0 2023-10-17 17:33:35,105 [INFO] Flag value : eye_circularity_flag -> 0 2023-10-17 17:33:35,105 [INFO] Flag value : dist_lwind_flag -> 0 2023-10-17 17:33:35,105 [INFO] Flag value : eye_contained_flag -> 0 2023-10-17 17:33:35,106 [INFO] Flag value : distance_center_bbox_flag -> 2 2023-10-17 17:33:35,107 [INFO] Flag value : distance_track_bbox_flag -> 2 2023-10-17 17:33:35,107 [INFO] Flag value : land_flag -> 2 2023-10-17 17:33:35,108 [INFO] Flag value : track_point_flag -> 2 2023-10-17 17:33:35,108 [INFO] Flag value : percent_eye_bbox_flag -> 0 2023-10-17 17:33:35,109 [INFO] Flag value : center_quality_flag -> 3.6 2023-10-17 17:33:35,171 [INFO] Done adding attributes to the 4 datasets. 2023-10-17 17:33:35,171 [INFO] Saving to netcdf... 2023-10-17 17:33:35,171 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/s1a-iw-owi-ca-20210907t213854-20210907t214009-000003-04ADC3_sw_wp182021_geogr_gd.nc 2023-10-17 17:33:36,864 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/s1a-iw-owi-ca-20210907t213854-20210907t214009-000003-04ADC3_sw_wp182021_geogr_polar.nc 2023-10-17 17:33:37,342 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/s1a-iw-owi-ca-20210907t213854-20210907t214009-000003-04ADC3_sw_wp182021_cyclone_polar.nc 2023-10-17 17:33:37,923 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/s1a-iw-owi-ca-20210907t213854-20210907t214009-000003-04ADC3_sw_wp182021_geogr_gd.nc 2023-10-17 17:33:39,613 [INFO] Done saving. 2023-10-17 17:33:39,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:39,850 [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:39,854 [INFO] wrote /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/fix/SARFIX_s1a-iw-owi-cc-20210907t213854-20210907t214009-039581-04ADC3.dat