2023-10-17 17:38:17,457 [INFO] Getting data from Cyclobs API. Req : http://derive.ifremer.fr/app/api/getData?include_cols=all&filename=20210728t083642-20210728t083946 2023-10-17 17:38:18,733 [INFO] Getting IBTRACS data from Cyclobs API. Req : http://derive.ifremer.fr/app/api/getData?include_cols=all&filename=20210728t083642-20210728t083946&track_source=ibtracs 2023-10-17 17:38:19,874 [INFO] file : /home/datawork-cersat-public/cache/public/ftp/project/sarwing/processings/c39e79a/xsardef/rcm1/L1/SC50MC/GRD/2021/209/RCM1_OK2377995_PK2381603_1_SC50MC_20210728_083657_HH_HV_GRD/RCM1__OWI_CC_20210728T083642_20210728T083946____________/post_processing/nclight_L2M/rcm1--owi-cm-20210728t083642-20210728t083946-00003-______sw.nc 2023-10-17 17:38:19,874 [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:38:22,325 [INFO] Atcf lon/lat 139.55/40.49166666666667 2023-10-17 17:38:26,894 [INFO] Distance to coast of track point is 28196.759495402595 meters. 2023-10-17 17:38:26,910 [INFO] Distance between aquisition border and track point is 108859.99358284625 meters. 2023-10-17 17:38:26,922 [INFO] 2.842170943040401e-14% of area of 100km around atcf track is outside acquisition bounding box 2023-10-17 17:38:26,951 [INFO] 23.37336740497443% of area of 100km around atcf track point that is inside acquisition bounding box is land. 2023-10-17 17:38:26,951 [INFO] 23.37336740497446% of area of 100km around track point is not usable (land or outside of acquisition). 2023-10-17 17:38:26,953 [INFO] SAR image has 114004 non-masked points. 2023-10-17 17:39:02,770 [WARNING] Procedure OK but many points are masked... TC might be on land 2023-10-17 17:39:02,799 [INFO] Starting creation of NetCDF products... 2023-10-17 17:39:02,801 [INFO] Getting data from Cyclobs track API. Req : http://derive.ifremer.fr/app/api/track?include_cols=all&sid=wp112021&freq=15&min_date=2021-07-26&max_date=2021-07-30 2023-10-17 17:39:02,801 [INFO] Acquisition datetime is 2021-07-28 08:38:14 2023-10-17 17:39:02,857 [INFO] Found propagation angle to north is 61.50416410275696°, dir std 0.11896532461769516, speed : 7.4755536682493275 m/s, speed_std 1.1123485045028734 2023-10-17 17:39:03,002 [INFO] Creating aeqd gridded dataset... 2023-10-17 17:39:05,734 [INFO] Done creating aeqd gridded dataset. 2023-10-17 17:39:05,735 [INFO] Converting dataset to polar... 2023-10-17 17:39:06,632 [INFO] Done converting dataset to polar. 2023-10-17 17:39:06,632 [INFO] Rotating polar dataset... 2023-10-17 17:39:06,639 [INFO] Done rotating polar dataset.. 2023-10-17 17:39:06,639 [INFO] Rotating cartesian dataset... 2023-10-17 17:39:07,053 [INFO] Done rotating cartesian dataset. 2023-10-17 17:39:07,053 [INFO] Adding wind direction related variables... 2023-10-17 17:39:07,217 [INFO] Done adding wind direction related variables. 2023-10-17 17:39:07,217 [INFO] Computing radii using polar north dataset... 2023-10-17 17:39:15,954 [INFO] Done computing radii using polar north dataset. 2023-10-17 17:39:16,009 [INFO] Computing shapes from eye center research procedure results, to be added to dataset... 2023-10-17 17:39:16,012 [INFO] Done computing shapes. 2023-10-17 17:39:20,471 [INFO] Adding attributes to the 4 datasets... 2023-10-17 17:39:20,474 [INFO] Flag value : track_flag -> 2 2023-10-17 17:39:20,475 [INFO] Flag value : lwind_hwind_flag -> 0 2023-10-17 17:39:20,475 [INFO] Flag value : eye_length_flag -> 0 2023-10-17 17:39:20,476 [INFO] Flag value : eye_circularity_flag -> 0 2023-10-17 17:39:20,476 [INFO] Flag value : dist_lwind_flag -> 2 2023-10-17 17:39:20,477 [INFO] Flag value : eye_contained_flag -> 0 2023-10-17 17:39:20,477 [INFO] Flag value : distance_center_bbox_flag -> 0 2023-10-17 17:39:20,478 [INFO] Flag value : distance_track_bbox_flag -> 0 2023-10-17 17:39:20,478 [INFO] Flag value : land_flag -> 2 2023-10-17 17:39:20,479 [INFO] Flag value : track_point_flag -> 0 2023-10-17 17:39:20,479 [INFO] Flag value : percent_eye_bbox_flag -> 0 2023-10-17 17:39:20,480 [INFO] Flag value : center_quality_flag -> 4.0 2023-10-17 17:39:20,540 [INFO] Flag value : track_flag -> 2 2023-10-17 17:39:20,540 [INFO] Flag value : lwind_hwind_flag -> 0 2023-10-17 17:39:20,541 [INFO] Flag value : eye_length_flag -> 0 2023-10-17 17:39:20,541 [INFO] Flag value : eye_circularity_flag -> 0 2023-10-17 17:39:20,542 [INFO] Flag value : dist_lwind_flag -> 2 2023-10-17 17:39:20,542 [INFO] Flag value : eye_contained_flag -> 0 2023-10-17 17:39:20,543 [INFO] Flag value : distance_center_bbox_flag -> 0 2023-10-17 17:39:20,543 [INFO] Flag value : distance_track_bbox_flag -> 0 2023-10-17 17:39:20,544 [INFO] Flag value : land_flag -> 2 2023-10-17 17:39:20,544 [INFO] Flag value : track_point_flag -> 0 2023-10-17 17:39:20,545 [INFO] Flag value : percent_eye_bbox_flag -> 0 2023-10-17 17:39:20,546 [INFO] Flag value : center_quality_flag -> 4.0 2023-10-17 17:39:20,605 [INFO] Done adding attributes to the 4 datasets. 2023-10-17 17:39:20,605 [INFO] Saving to netcdf... 2023-10-17 17:39:20,605 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/rcm1--owi-ca-20210728t083642-20210728t083946-00003-______sw_wp112021_geogr_gd.nc 2023-10-17 17:39:24,500 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/rcm1--owi-ca-20210728t083642-20210728t083946-00003-______sw_wp112021_geogr_polar.nc 2023-10-17 17:39:26,563 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/rcm1--owi-ca-20210728t083642-20210728t083946-00003-______sw_wp112021_cyclone_polar.nc 2023-10-17 17:39:28,179 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/rcm1--owi-ca-20210728t083642-20210728t083946-00003-______sw_wp112021_geogr_gd.nc 2023-10-17 17:39:31,120 [INFO] Done saving. 2023-10-17 17:39:31,211 [INFO] ATCF output file exists (/home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/fix/SARFIX_bwp112021.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:39:31,370 [INFO] wrote /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/fix/SARFIX_bwp112021.dat 2023-10-17 17:39:31,531 [INFO] wrote /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/fix/SARFIX_rcm1--owi-cc-20210728t083642-20210728t083946-_____-_____.dat