2023-10-17 18:08:52,369 [INFO] Getting data from Cyclobs API. Req : http://derive.ifremer.fr/app/api/getData?include_cols=all&filename=20190428t122321-20190428t122602 2023-10-17 18:08:53,425 [INFO] Getting IBTRACS data from Cyclobs API. Req : http://derive.ifremer.fr/app/api/getData?include_cols=all&filename=20190428t122321-20190428t122602&track_source=ibtracs 2023-10-17 18:08:54,966 [INFO] file : /home/datawork-cersat-public/cache/public/ftp/project/sarwing/processings/c39e79a/xsardef/sentinel-1b/L2C/EW/S1B_EW_OWIM_1S/2019/118/S1B_EW_OWIM_CC_20190428T122321_20190428T122602_016006_01E172/post_processing/nclight_L2M/s1b-ew-owi-cm-20190428t122321-20190428t122602-000003-01E172_sw.nc 2023-10-17 18:08:54,967 [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 18:08:58,084 [INFO] Atcf lon/lat 90.0/-18.29166666666666 2023-10-17 18:09:03,605 [INFO] Distance to coast of track point is 997391.1411301591 meters. 2023-10-17 18:09:03,606 [INFO] Distance between aquisition border and track point is 146486.840496354 meters. 2023-10-17 18:09:03,616 [INFO] 1.4210854715202004e-14% of area of 100km around atcf track is outside acquisition bounding box 2023-10-17 18:09:03,641 [INFO] 0.0% of area of 100km around atcf track point that is inside acquisition bounding box is land. 2023-10-17 18:09:03,642 [INFO] 1.4210854715202004e-14% of area of 100km around track point is not usable (land or outside of acquisition). 2023-10-17 18:09:03,660 [INFO] SAR image has 425512 non-masked points. 2023-10-17 18:09:24,752 [INFO] Starting creation of NetCDF products... 2023-10-17 18:09:24,754 [INFO] Getting data from Cyclobs track API. Req : http://derive.ifremer.fr/app/api/track?include_cols=all&sid=sh252019&freq=15&min_date=2019-04-26&max_date=2019-04-30 2023-10-17 18:09:24,754 [INFO] Acquisition datetime is 2019-04-28 12:24:41.500000 2023-10-17 18:09:24,887 [INFO] Found propagation angle to north is -172.6079670373281°, dir std 0.11488368954031883, speed : 6.380178215700671 m/s, speed_std 1.0184316380631568 2023-10-17 18:09:25,767 [INFO] Creating aeqd gridded dataset... 2023-10-17 18:09:29,418 [INFO] Done creating aeqd gridded dataset. 2023-10-17 18:09:29,458 [INFO] Converting dataset to polar... 2023-10-17 18:09:30,377 [INFO] Done converting dataset to polar. 2023-10-17 18:09:30,377 [INFO] Rotating polar dataset... 2023-10-17 18:09:30,383 [INFO] Done rotating polar dataset.. 2023-10-17 18:09:30,383 [INFO] Rotating cartesian dataset... 2023-10-17 18:09:30,744 [INFO] Done rotating cartesian dataset. 2023-10-17 18:09:30,744 [INFO] Adding wind direction related variables... 2023-10-17 18:09:30,903 [INFO] Done adding wind direction related variables. 2023-10-17 18:09:30,903 [INFO] Computing radii using polar north dataset... 2023-10-17 18:09:48,621 [INFO] Done computing radii using polar north dataset. 2023-10-17 18:09:48,684 [INFO] Computing shapes from eye center research procedure results, to be added to dataset... 2023-10-17 18:09:48,686 [INFO] Done computing shapes. 2023-10-17 18:09:57,365 [INFO] Adding attributes to the 4 datasets... 2023-10-17 18:09:57,369 [INFO] Flag value : track_flag -> 0 2023-10-17 18:09:57,369 [INFO] Flag value : lwind_hwind_flag -> 0 2023-10-17 18:09:57,370 [INFO] Flag value : eye_length_flag -> 0 2023-10-17 18:09:57,370 [INFO] Flag value : eye_circularity_flag -> 0 2023-10-17 18:09:57,371 [INFO] Flag value : dist_lwind_flag -> 0 2023-10-17 18:09:57,371 [INFO] Flag value : eye_contained_flag -> 0 2023-10-17 18:09:57,372 [INFO] Flag value : distance_center_bbox_flag -> 0 2023-10-17 18:09:57,372 [INFO] Flag value : distance_track_bbox_flag -> 0 2023-10-17 18:09:57,373 [INFO] Flag value : land_flag -> 0 2023-10-17 18:09:57,373 [INFO] Flag value : track_point_flag -> 0 2023-10-17 18:09:57,374 [INFO] Flag value : percent_eye_bbox_flag -> 0 2023-10-17 18:09:57,375 [INFO] Flag value : center_quality_flag -> 0.0 2023-10-17 18:09:57,555 [INFO] Flag value : track_flag -> 0 2023-10-17 18:09:57,555 [INFO] Flag value : lwind_hwind_flag -> 0 2023-10-17 18:09:57,556 [INFO] Flag value : eye_length_flag -> 0 2023-10-17 18:09:57,556 [INFO] Flag value : eye_circularity_flag -> 0 2023-10-17 18:09:57,557 [INFO] Flag value : dist_lwind_flag -> 0 2023-10-17 18:09:57,557 [INFO] Flag value : eye_contained_flag -> 0 2023-10-17 18:09:57,558 [INFO] Flag value : distance_center_bbox_flag -> 0 2023-10-17 18:09:57,574 [INFO] Flag value : distance_track_bbox_flag -> 0 2023-10-17 18:09:57,575 [INFO] Flag value : land_flag -> 0 2023-10-17 18:09:57,576 [INFO] Flag value : track_point_flag -> 0 2023-10-17 18:09:57,576 [INFO] Flag value : percent_eye_bbox_flag -> 0 2023-10-17 18:09:57,577 [INFO] Flag value : center_quality_flag -> 0.0 2023-10-17 18:09:57,816 [INFO] Done adding attributes to the 4 datasets. 2023-10-17 18:09:57,816 [INFO] Saving to netcdf... 2023-10-17 18:09:57,816 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/s1b-ew-owi-ca-20190428t122321-20190428t122602-000003-01E172_sw_sh252019_geogr_gd.nc 2023-10-17 18:09:59,406 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/s1b-ew-owi-ca-20190428t122321-20190428t122602-000003-01E172_sw_sh252019_geogr_polar.nc 2023-10-17 18:09:59,911 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/s1b-ew-owi-ca-20190428t122321-20190428t122602-000003-01E172_sw_sh252019_cyclone_polar.nc 2023-10-17 18:10:01,002 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/s1b-ew-owi-ca-20190428t122321-20190428t122602-000003-01E172_sw_sh252019_geogr_gd.nc 2023-10-17 18:10:03,898 [INFO] Done saving. 2023-10-17 18:10:04,030 [INFO] ATCF output file exists (/home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/fix/SARFIX_bsh252019.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 18:10:04,295 [INFO] wrote /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/fix/SARFIX_bsh252019.dat 2023-10-17 18:10:04,299 [INFO] wrote /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/fix/SARFIX_s1b-ew-owi-cc-20190428t122321-20190428t122602-016006-01E172.dat