2023-10-17 17:01:29,430 [INFO] Getting data from Cyclobs API. Req : http://derive.ifremer.fr/app/api/getData?include_cols=all&filename=20230412t213217-20230412t213332 2023-10-17 17:01:30,706 [INFO] Getting IBTRACS data from Cyclobs API. Req : http://derive.ifremer.fr/app/api/getData?include_cols=all&filename=20230412t213217-20230412t213332&track_source=ibtracs 2023-10-17 17:01:31,983 [INFO] file : /home/datawork-cersat-public/cache/public/ftp/project/sarwing/processings/c39e79a/xsardef/rcm2/L1/SCLNB/GRD/2023/102/RCM2_OK2510073_PK2512493_1_SCLNB_20230412_213216_VV_VH_GRD/RCM2__OWI_CC_20230412T213217_20230412T213332____________/post_processing/nclight_L2M/rcm2--owi-cm-20230412t213217-20230412t213332-00003-______sw.nc 2023-10-17 17:01:31,983 [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:01:34,094 [INFO] Atcf lon/lat 119.125/-17.50833333333333 2023-10-17 17:01:39,215 [INFO] Distance to coast of track point is 271345.8212914419 meters. 2023-10-17 17:01:39,221 [INFO] Distance between aquisition border and track point is 69688.00758694128 meters. 2023-10-17 17:01:39,234 [INFO] 9.564092329784131% of area of 100km around atcf track is outside acquisition bounding box 2023-10-17 17:01:39,261 [INFO] 0.0% of area of 100km around atcf track point that is inside acquisition bounding box is land. 2023-10-17 17:01:39,261 [INFO] 9.564092329784131% of area of 100km around track point is not usable (land or outside of acquisition). 2023-10-17 17:01:39,265 [INFO] SAR image has 136909 non-masked points. 2023-10-17 17:02:09,114 [INFO] Starting creation of NetCDF products... 2023-10-17 17:02:09,168 [INFO] Getting data from Cyclobs track API. Req : http://derive.ifremer.fr/app/api/track?include_cols=all&sid=sh182023&freq=15&min_date=2023-04-10&max_date=2023-04-14 2023-10-17 17:02:09,168 [INFO] Acquisition datetime is 2023-04-12 21:32:54.500000 2023-10-17 17:02:09,270 [INFO] Found propagation angle to north is 158.93109891187476°, dir std 0.018388237785964004, speed : 3.982560020430385 m/s, speed_std 0.2794621506674127 2023-10-17 17:02:09,305 [INFO] Creating aeqd gridded dataset... 2023-10-17 17:02:12,347 [INFO] Done creating aeqd gridded dataset. 2023-10-17 17:02:12,347 [INFO] Converting dataset to polar... 2023-10-17 17:02:13,941 [INFO] Done converting dataset to polar. 2023-10-17 17:02:13,941 [INFO] Rotating polar dataset... 2023-10-17 17:02:13,946 [INFO] Done rotating polar dataset.. 2023-10-17 17:02:13,946 [INFO] Rotating cartesian dataset... 2023-10-17 17:02:14,413 [INFO] Done rotating cartesian dataset. 2023-10-17 17:02:14,413 [INFO] Adding wind direction related variables... 2023-10-17 17:02:14,539 [INFO] Done adding wind direction related variables. 2023-10-17 17:02:14,539 [INFO] Computing radii using polar north dataset... 2023-10-17 17:02:30,059 [INFO] Done computing radii using polar north dataset. 2023-10-17 17:02:30,076 [INFO] Computing shapes from eye center research procedure results, to be added to dataset... 2023-10-17 17:02:30,078 [INFO] Done computing shapes. 2023-10-17 17:02:37,575 [INFO] Adding attributes to the 4 datasets... 2023-10-17 17:02:37,582 [INFO] Flag value : track_flag -> 0 2023-10-17 17:02:37,582 [INFO] Flag value : lwind_hwind_flag -> 0 2023-10-17 17:02:37,583 [INFO] Flag value : eye_length_flag -> 2 2023-10-17 17:02:37,583 [INFO] Flag value : eye_circularity_flag -> 0 2023-10-17 17:02:37,584 [INFO] Flag value : dist_lwind_flag -> 0 2023-10-17 17:02:37,584 [INFO] Flag value : eye_contained_flag -> 0 2023-10-17 17:02:37,585 [INFO] Flag value : distance_center_bbox_flag -> 0 2023-10-17 17:02:37,585 [INFO] Flag value : distance_track_bbox_flag -> 0 2023-10-17 17:02:37,586 [INFO] Flag value : land_flag -> 0 2023-10-17 17:02:37,587 [INFO] Flag value : track_point_flag -> 0 2023-10-17 17:02:37,587 [INFO] Flag value : percent_eye_bbox_flag -> 0 2023-10-17 17:02:37,588 [INFO] Flag value : center_quality_flag -> 0.6 2023-10-17 17:02:37,649 [INFO] Flag value : track_flag -> 0 2023-10-17 17:02:37,650 [INFO] Flag value : lwind_hwind_flag -> 0 2023-10-17 17:02:37,650 [INFO] Flag value : eye_length_flag -> 2 2023-10-17 17:02:37,651 [INFO] Flag value : eye_circularity_flag -> 0 2023-10-17 17:02:37,651 [INFO] Flag value : dist_lwind_flag -> 0 2023-10-17 17:02:37,652 [INFO] Flag value : eye_contained_flag -> 0 2023-10-17 17:02:37,652 [INFO] Flag value : distance_center_bbox_flag -> 0 2023-10-17 17:02:37,653 [INFO] Flag value : distance_track_bbox_flag -> 0 2023-10-17 17:02:37,654 [INFO] Flag value : land_flag -> 0 2023-10-17 17:02:37,654 [INFO] Flag value : track_point_flag -> 0 2023-10-17 17:02:37,655 [INFO] Flag value : percent_eye_bbox_flag -> 0 2023-10-17 17:02:37,655 [INFO] Flag value : center_quality_flag -> 0.6 2023-10-17 17:02:37,714 [INFO] Done adding attributes to the 4 datasets. 2023-10-17 17:02:37,714 [INFO] Saving to netcdf... 2023-10-17 17:02:37,714 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/rcm2--owi-ca-20230412t213217-20230412t213332-00003-______sw_sh182023_geogr_gd.nc 2023-10-17 17:02:41,643 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/rcm2--owi-ca-20230412t213217-20230412t213332-00003-______sw_sh182023_geogr_polar.nc 2023-10-17 17:02:42,287 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/rcm2--owi-ca-20230412t213217-20230412t213332-00003-______sw_sh182023_cyclone_polar.nc 2023-10-17 17:02:42,803 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/rcm2--owi-ca-20230412t213217-20230412t213332-00003-______sw_sh182023_geogr_gd.nc 2023-10-17 17:02:44,696 [INFO] Done saving. 2023-10-17 17:02:44,788 [INFO] ATCF output file exists (/home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/fix/SARFIX_bsh182023.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:02:44,935 [INFO] wrote /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/fix/SARFIX_bsh182023.dat 2023-10-17 17:02:44,944 [INFO] wrote /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/fix/SARFIX_rcm2--owi-cc-20230412t213217-20230412t213332-_____-_____.dat