2023-10-17 17:08:53,950 [INFO] Getting data from Cyclobs API. Req : http://derive.ifremer.fr/app/api/getData?include_cols=all&filename=20230126t154314-20230126t154431 2023-10-17 17:08:55,070 [INFO] Getting IBTRACS data from Cyclobs API. Req : http://derive.ifremer.fr/app/api/getData?include_cols=all&filename=20230126t154314-20230126t154431&track_source=ibtracs 2023-10-17 17:08:56,223 [INFO] file : /home/datawork-cersat-public/cache/public/ftp/project/sarwing/processings/c39e79a/xsardef/rcm1/L1/SCLNC/GRD/2023/026/RCM1_OK2427277_PK2429350_1_SCLNC_20230126_154314_VV_VH_GRD/RCM1__OWI_CC_20230126T154314_20230126T154431____________/post_processing/nclight_L2M/rcm1--owi-cm-20230126t154314-20230126t154431-00003-______sw.nc 2023-10-17 17:08:56,223 [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:08:58,069 [INFO] Atcf lon/lat 42.4875/-20.4125 2023-10-17 17:09:01,883 [INFO] Distance to coast of track point is 145360.7956040319 meters. 2023-10-17 17:09:01,921 [INFO] Distance between aquisition border and track point is 163199.02560970947 meters. 2023-10-17 17:09:01,931 [INFO] 1.4210854715202004e-14% of area of 100km around atcf track is outside acquisition bounding box 2023-10-17 17:09:01,976 [INFO] 0.0% of area of 100km around atcf track point that is inside acquisition bounding box is land. 2023-10-17 17:09:01,976 [INFO] 1.4210854715202004e-14% of area of 100km around track point is not usable (land or outside of acquisition). 2023-10-17 17:09:01,978 [INFO] SAR image has 159614 non-masked points. 2023-10-17 17:09:28,096 [INFO] Starting creation of NetCDF products... 2023-10-17 17:09:28,098 [INFO] Getting data from Cyclobs track API. Req : http://derive.ifremer.fr/app/api/track?include_cols=all&sid=sh082023&freq=15&min_date=2023-01-24&max_date=2023-01-28 2023-10-17 17:09:28,098 [INFO] Acquisition datetime is 2023-01-26 15:43:52.500000 2023-10-17 17:09:28,239 [INFO] Found propagation angle to north is 139.07417683487424°, dir std 0.03983033869497527, speed : 3.0235468636129412 m/s, speed_std 0.4024330036492643 2023-10-17 17:09:29,092 [INFO] Creating aeqd gridded dataset... 2023-10-17 17:09:31,933 [INFO] Done creating aeqd gridded dataset. 2023-10-17 17:09:31,935 [INFO] Converting dataset to polar... 2023-10-17 17:09:33,048 [INFO] Done converting dataset to polar. 2023-10-17 17:09:33,048 [INFO] Rotating polar dataset... 2023-10-17 17:09:33,054 [INFO] Done rotating polar dataset.. 2023-10-17 17:09:33,054 [INFO] Rotating cartesian dataset... 2023-10-17 17:09:33,489 [INFO] Done rotating cartesian dataset. 2023-10-17 17:09:33,489 [INFO] Adding wind direction related variables... 2023-10-17 17:09:33,683 [INFO] Done adding wind direction related variables. 2023-10-17 17:09:33,683 [INFO] Computing radii using polar north dataset... 2023-10-17 17:09:46,630 [INFO] Done computing radii using polar north dataset. 2023-10-17 17:09:46,646 [INFO] Computing shapes from eye center research procedure results, to be added to dataset... 2023-10-17 17:09:46,649 [INFO] Done computing shapes. 2023-10-17 17:09:55,253 [INFO] Adding attributes to the 4 datasets... 2023-10-17 17:09:55,256 [INFO] Flag value : track_flag -> 0 2023-10-17 17:09:55,257 [INFO] Flag value : lwind_hwind_flag -> 0 2023-10-17 17:09:55,257 [INFO] Flag value : eye_length_flag -> 0 2023-10-17 17:09:55,258 [INFO] Flag value : eye_circularity_flag -> 0 2023-10-17 17:09:55,258 [INFO] Flag value : dist_lwind_flag -> 0 2023-10-17 17:09:55,259 [INFO] Flag value : eye_contained_flag -> 0 2023-10-17 17:09:55,259 [INFO] Flag value : distance_center_bbox_flag -> 0 2023-10-17 17:09:55,260 [INFO] Flag value : distance_track_bbox_flag -> 0 2023-10-17 17:09:55,260 [INFO] Flag value : land_flag -> 0 2023-10-17 17:09:55,261 [INFO] Flag value : track_point_flag -> 0 2023-10-17 17:09:55,261 [INFO] Flag value : percent_eye_bbox_flag -> 0 2023-10-17 17:09:55,262 [INFO] Flag value : center_quality_flag -> 0.0 2023-10-17 17:09:55,321 [INFO] Flag value : track_flag -> 0 2023-10-17 17:09:55,322 [INFO] Flag value : lwind_hwind_flag -> 0 2023-10-17 17:09:55,322 [INFO] Flag value : eye_length_flag -> 0 2023-10-17 17:09:55,323 [INFO] Flag value : eye_circularity_flag -> 0 2023-10-17 17:09:55,323 [INFO] Flag value : dist_lwind_flag -> 0 2023-10-17 17:09:55,324 [INFO] Flag value : eye_contained_flag -> 0 2023-10-17 17:09:55,324 [INFO] Flag value : distance_center_bbox_flag -> 0 2023-10-17 17:09:55,325 [INFO] Flag value : distance_track_bbox_flag -> 0 2023-10-17 17:09:55,325 [INFO] Flag value : land_flag -> 0 2023-10-17 17:09:55,326 [INFO] Flag value : track_point_flag -> 0 2023-10-17 17:09:55,327 [INFO] Flag value : percent_eye_bbox_flag -> 0 2023-10-17 17:09:55,327 [INFO] Flag value : center_quality_flag -> 0.0 2023-10-17 17:09:55,403 [INFO] Done adding attributes to the 4 datasets. 2023-10-17 17:09:55,403 [INFO] Saving to netcdf... 2023-10-17 17:09:55,403 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/rcm1--owi-ca-20230126t154314-20230126t154431-00003-______sw_sh082023_geogr_gd.nc 2023-10-17 17:09:57,008 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/rcm1--owi-ca-20230126t154314-20230126t154431-00003-______sw_sh082023_geogr_polar.nc 2023-10-17 17:09:57,521 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/rcm1--owi-ca-20230126t154314-20230126t154431-00003-______sw_sh082023_cyclone_polar.nc 2023-10-17 17:09:58,143 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/rcm1--owi-ca-20230126t154314-20230126t154431-00003-______sw_sh082023_geogr_gd.nc 2023-10-17 17:09:59,911 [INFO] Done saving. 2023-10-17 17:09:59,996 [INFO] ATCF output file exists (/home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/fix/SARFIX_bsh082023.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:10:00,176 [INFO] wrote /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/fix/SARFIX_bsh082023.dat 2023-10-17 17:10:00,181 [INFO] wrote /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/fix/SARFIX_rcm1--owi-cc-20230126t154314-20230126t154431-_____-_____.dat