2023-10-17 16:56:26,385 [INFO] Getting data from Cyclobs API. Req : http://derive.ifremer.fr/app/api/getData?include_cols=all&filename=20230621t091957-20230621t092112 2023-10-17 16:56:27,822 [INFO] Getting IBTRACS data from Cyclobs API. Req : http://derive.ifremer.fr/app/api/getData?include_cols=all&filename=20230621t091957-20230621t092112&track_source=ibtracs 2023-10-17 16:56:29,665 [INFO] file : /home/datawork-cersat-public/cache/public/ftp/project/sarwing/processings/c39e79a/xsardef/rcm3/L1/SCLNA/GRD/2023/172/RCM3_OK2613153_PK2615394_1_SCLNA_20230621_091959_VV_VH_GRD/RCM3__OWI_CC_20230621T091957_20230621T092112____________/post_processing/nclight_L2M/rcm3--owi-cm-20230621t091957-20230621t092112-00003-______sw.nc 2023-10-17 16:56:29,665 [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 16:56:32,074 [INFO] Atcf lon/lat -51.40416666666667/12.80833333333333 2023-10-17 16:56:36,601 [INFO] Distance to coast of track point is 822894.4163601348 meters. 2023-10-17 16:56:36,647 [INFO] Distance between aquisition border and track point is 163609.84412259416 meters. 2023-10-17 16:56:36,657 [INFO] -4.263256414560601e-14% of area of 100km around atcf track is outside acquisition bounding box 2023-10-17 16:56:36,678 [INFO] 0.0% of area of 100km around atcf track point that is inside acquisition bounding box is land. 2023-10-17 16:56:36,678 [INFO] -4.263256414560601e-14% of area of 100km around track point is not usable (land or outside of acquisition). 2023-10-17 16:56:36,680 [INFO] SAR image has 176035 non-masked points. 2023-10-17 16:57:03,940 [INFO] Starting creation of NetCDF products... 2023-10-17 16:57:03,944 [INFO] Getting data from Cyclobs track API. Req : http://derive.ifremer.fr/app/api/track?include_cols=all&sid=al032023&freq=15&min_date=2023-06-19&max_date=2023-06-23 2023-10-17 16:57:03,944 [INFO] Acquisition datetime is 2023-06-21 09:20:34.500000 2023-10-17 16:57:04,035 [INFO] Found propagation angle to north is 79.99177042768535°, dir std 0.017712539586042724, speed : 6.63371469889343 m/s, speed_std 0.11928211099938443 2023-10-17 16:57:04,094 [INFO] Creating aeqd gridded dataset... 2023-10-17 16:57:07,786 [INFO] Done creating aeqd gridded dataset. 2023-10-17 16:57:07,787 [INFO] Converting dataset to polar... 2023-10-17 16:57:08,786 [INFO] Done converting dataset to polar. 2023-10-17 16:57:08,786 [INFO] Rotating polar dataset... 2023-10-17 16:57:08,792 [INFO] Done rotating polar dataset.. 2023-10-17 16:57:08,792 [INFO] Rotating cartesian dataset... 2023-10-17 16:57:09,188 [INFO] Done rotating cartesian dataset. 2023-10-17 16:57:09,189 [INFO] Adding wind direction related variables... 2023-10-17 16:57:09,308 [INFO] Done adding wind direction related variables. 2023-10-17 16:57:09,308 [INFO] Computing radii using polar north dataset... 2023-10-17 16:57:29,150 [INFO] Done computing radii using polar north dataset. 2023-10-17 16:57:29,164 [INFO] Computing shapes from eye center research procedure results, to be added to dataset... 2023-10-17 16:57:29,166 [INFO] Done computing shapes. 2023-10-17 16:57:38,395 [INFO] Adding attributes to the 4 datasets... 2023-10-17 16:57:38,398 [INFO] Flag value : track_flag -> 0 2023-10-17 16:57:38,399 [INFO] Flag value : lwind_hwind_flag -> 2 2023-10-17 16:57:38,399 [INFO] Flag value : eye_length_flag -> 0 2023-10-17 16:57:38,400 [INFO] Flag value : eye_circularity_flag -> 0 2023-10-17 16:57:38,400 [INFO] Flag value : dist_lwind_flag -> 0 2023-10-17 16:57:38,400 [INFO] Flag value : eye_contained_flag -> 0 2023-10-17 16:57:38,401 [INFO] Flag value : distance_center_bbox_flag -> 0 2023-10-17 16:57:38,401 [INFO] Flag value : distance_track_bbox_flag -> 0 2023-10-17 16:57:38,402 [INFO] Flag value : land_flag -> 0 2023-10-17 16:57:38,402 [INFO] Flag value : track_point_flag -> 0 2023-10-17 16:57:38,403 [INFO] Flag value : percent_eye_bbox_flag -> 0 2023-10-17 16:57:38,403 [INFO] Flag value : center_quality_flag -> 1.0 2023-10-17 16:57:38,471 [INFO] Flag value : track_flag -> 0 2023-10-17 16:57:38,472 [INFO] Flag value : lwind_hwind_flag -> 2 2023-10-17 16:57:38,472 [INFO] Flag value : eye_length_flag -> 0 2023-10-17 16:57:38,473 [INFO] Flag value : eye_circularity_flag -> 0 2023-10-17 16:57:38,473 [INFO] Flag value : dist_lwind_flag -> 0 2023-10-17 16:57:38,474 [INFO] Flag value : eye_contained_flag -> 0 2023-10-17 16:57:38,474 [INFO] Flag value : distance_center_bbox_flag -> 0 2023-10-17 16:57:38,475 [INFO] Flag value : distance_track_bbox_flag -> 0 2023-10-17 16:57:38,475 [INFO] Flag value : land_flag -> 0 2023-10-17 16:57:38,476 [INFO] Flag value : track_point_flag -> 0 2023-10-17 16:57:38,476 [INFO] Flag value : percent_eye_bbox_flag -> 0 2023-10-17 16:57:38,477 [INFO] Flag value : center_quality_flag -> 1.0 2023-10-17 16:57:38,531 [INFO] Done adding attributes to the 4 datasets. 2023-10-17 16:57:38,532 [INFO] Saving to netcdf... 2023-10-17 16:57:38,532 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/rcm3--owi-ca-20230621t091957-20230621t092112-00003-______sw_al032023_geogr_gd.nc 2023-10-17 16:57:40,689 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/rcm3--owi-ca-20230621t091957-20230621t092112-00003-______sw_al032023_geogr_polar.nc 2023-10-17 16:57:41,427 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/rcm3--owi-ca-20230621t091957-20230621t092112-00003-______sw_al032023_cyclone_polar.nc 2023-10-17 16:57:42,111 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/rcm3--owi-ca-20230621t091957-20230621t092112-00003-______sw_al032023_geogr_gd.nc 2023-10-17 16:57:49,865 [INFO] Done saving. 2023-10-17 16:57:50,122 [INFO] ATCF output file exists (/home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/fix/SARFIX_bal032023.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 16:57:50,804 [INFO] wrote /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/fix/SARFIX_bal032023.dat 2023-10-17 16:57:50,820 [INFO] wrote /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/fix/SARFIX_rcm3--owi-cc-20230621t091957-20230621t092112-_____-_____.dat