2023-10-17 17:45:40,629 [INFO] Getting data from Cyclobs API. Req : http://derive.ifremer.fr/app/api/getData?include_cols=all&filename=20201225t014342-20201225t014552 2023-10-17 17:45:42,731 [INFO] Getting IBTRACS data from Cyclobs API. Req : http://derive.ifremer.fr/app/api/getData?include_cols=all&filename=20201225t014342-20201225t014552&track_source=ibtracs 2023-10-17 17:45:44,759 [INFO] file : /home/datawork-cersat-public/cache/public/ftp/project/sarwing/processings/c39e79a/xsardef/sentinel-1b/L2C/EW/S1B_EW_OWIM_1S/2020/360/S1B_EW_OWIM_CC_20201225T014342_20201225T014552_024852_02F4F5/post_processing/nclight_L2M/s1b-ew-owi-cm-20201225t014342-20201225t014552-000003-02F4F5_sw.nc 2023-10-17 17:45:44,759 [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:45:48,092 [INFO] Atcf lon/lat 56.2375/-15.82916666666667 2023-10-17 17:45:51,718 [INFO] Distance to coast of track point is 183954.53539767745 meters. 2023-10-17 17:45:51,718 [INFO] Distance between aquisition border and track point is 85138.57569969076 meters. 2023-10-17 17:45:51,729 [INFO] 3.37191459954947% of area of 100km around atcf track is outside acquisition bounding box 2023-10-17 17:45:51,744 [INFO] 0.0% of area of 100km around atcf track point that is inside acquisition bounding box is land. 2023-10-17 17:45:51,744 [INFO] 3.37191459954947% of area of 100km around track point is not usable (land or outside of acquisition). 2023-10-17 17:45:51,747 [INFO] SAR image has 343812 non-masked points. 2023-10-17 17:46:09,046 [INFO] Starting creation of NetCDF products... 2023-10-17 17:46:09,054 [INFO] Getting data from Cyclobs track API. Req : http://derive.ifremer.fr/app/api/track?include_cols=all&sid=sh072021&freq=15&min_date=2020-12-23&max_date=2020-12-27 2023-10-17 17:46:09,054 [INFO] Acquisition datetime is 2020-12-25 01:44:47 2023-10-17 17:46:09,133 [INFO] Found propagation angle to north is 93.18358356631417°, dir std 0.06234082153104451, speed : 4.449216468906489 m/s, speed_std 0.281759005921219 2023-10-17 17:46:09,189 [INFO] Creating aeqd gridded dataset... 2023-10-17 17:46:13,687 [INFO] Done creating aeqd gridded dataset. 2023-10-17 17:46:13,687 [INFO] Converting dataset to polar... 2023-10-17 17:46:14,560 [INFO] Done converting dataset to polar. 2023-10-17 17:46:14,650 [INFO] Rotating polar dataset... 2023-10-17 17:46:14,659 [INFO] Done rotating polar dataset.. 2023-10-17 17:46:14,659 [INFO] Rotating cartesian dataset... 2023-10-17 17:46:15,109 [INFO] Done rotating cartesian dataset. 2023-10-17 17:46:15,109 [INFO] Adding wind direction related variables... 2023-10-17 17:46:15,212 [INFO] Done adding wind direction related variables. 2023-10-17 17:46:15,212 [INFO] Computing radii using polar north dataset... 2023-10-17 17:46:33,261 [INFO] Done computing radii using polar north dataset. 2023-10-17 17:46:33,286 [INFO] Computing shapes from eye center research procedure results, to be added to dataset... 2023-10-17 17:46:33,289 [INFO] Done computing shapes. 2023-10-17 17:46:42,409 [INFO] Adding attributes to the 4 datasets... 2023-10-17 17:46:42,456 [INFO] Flag value : track_flag -> 1 2023-10-17 17:46:42,456 [INFO] Flag value : lwind_hwind_flag -> 2 2023-10-17 17:46:42,457 [INFO] Flag value : eye_length_flag -> 0 2023-10-17 17:46:42,457 [INFO] Flag value : eye_circularity_flag -> 0 2023-10-17 17:46:42,458 [INFO] Flag value : dist_lwind_flag -> 0 2023-10-17 17:46:42,458 [INFO] Flag value : eye_contained_flag -> 0 2023-10-17 17:46:42,459 [INFO] Flag value : distance_center_bbox_flag -> 0 2023-10-17 17:46:42,459 [INFO] Flag value : distance_track_bbox_flag -> 0 2023-10-17 17:46:42,460 [INFO] Flag value : land_flag -> 0 2023-10-17 17:46:42,460 [INFO] Flag value : track_point_flag -> 0 2023-10-17 17:46:42,461 [INFO] Flag value : percent_eye_bbox_flag -> 0 2023-10-17 17:46:42,461 [INFO] Flag value : center_quality_flag -> 1.7 2023-10-17 17:46:42,518 [INFO] Flag value : track_flag -> 1 2023-10-17 17:46:42,518 [INFO] Flag value : lwind_hwind_flag -> 2 2023-10-17 17:46:42,519 [INFO] Flag value : eye_length_flag -> 0 2023-10-17 17:46:42,519 [INFO] Flag value : eye_circularity_flag -> 0 2023-10-17 17:46:42,520 [INFO] Flag value : dist_lwind_flag -> 0 2023-10-17 17:46:42,520 [INFO] Flag value : eye_contained_flag -> 0 2023-10-17 17:46:42,521 [INFO] Flag value : distance_center_bbox_flag -> 0 2023-10-17 17:46:42,521 [INFO] Flag value : distance_track_bbox_flag -> 0 2023-10-17 17:46:42,522 [INFO] Flag value : land_flag -> 0 2023-10-17 17:46:42,523 [INFO] Flag value : track_point_flag -> 0 2023-10-17 17:46:42,523 [INFO] Flag value : percent_eye_bbox_flag -> 0 2023-10-17 17:46:42,524 [INFO] Flag value : center_quality_flag -> 1.7 2023-10-17 17:46:42,580 [INFO] Done adding attributes to the 4 datasets. 2023-10-17 17:46:42,580 [INFO] Saving to netcdf... 2023-10-17 17:46:42,580 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/s1b-ew-owi-ca-20201225t014342-20201225t014552-000003-02F4F5_sw_sh072021_geogr_gd.nc 2023-10-17 17:46:46,884 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/s1b-ew-owi-ca-20201225t014342-20201225t014552-000003-02F4F5_sw_sh072021_geogr_polar.nc 2023-10-17 17:46:48,673 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/s1b-ew-owi-ca-20201225t014342-20201225t014552-000003-02F4F5_sw_sh072021_cyclone_polar.nc 2023-10-17 17:46:50,041 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/s1b-ew-owi-ca-20201225t014342-20201225t014552-000003-02F4F5_sw_sh072021_geogr_gd.nc 2023-10-17 17:46:55,379 [INFO] Done saving. 2023-10-17 17:46:55,423 [INFO] ATCF output file exists (/home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/fix/SARFIX_bsh072021.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:46:55,503 [INFO] wrote /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/fix/SARFIX_bsh072021.dat 2023-10-17 17:46:55,515 [INFO] wrote /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/fix/SARFIX_s1b-ew-owi-cc-20201225t014342-20201225t014552-024852-02F4F5.dat