2023-10-17 17:53:22,776 [INFO] Getting data from Cyclobs API. Req : http://derive.ifremer.fr/app/api/getData?include_cols=all&filename=20200906t213202-20200906t213312 2023-10-17 17:53:23,864 [INFO] Getting IBTRACS data from Cyclobs API. Req : http://derive.ifremer.fr/app/api/getData?include_cols=all&filename=20200906t213202-20200906t213312&track_source=ibtracs 2023-10-17 17:53:24,929 [INFO] file : /home/datawork-cersat-public/cache/public/ftp/project/sarwing/processings/c39e79a/xsardef/sentinel-1b/L2C/IW/S1B_IW_OWIH_1S/2020/250/S1B_IW_OWIH_CC_20200906T213202_20200906T213312_023260_02C2BE/post_processing/nclight_L2M/s1b-iw-owi-cm-20200906t213202-20200906t213312-000003-02C2BE_sw.nc 2023-10-17 17:53:24,929 [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:53:27,116 [INFO] Atcf lon/lat 129.0416666666667/34.4 2023-10-17 17:53:31,456 [INFO] Distance to coast of track point is 17164.248404190956 meters. 2023-10-17 17:53:31,470 [INFO] Distance between aquisition border and track point is 48421.705982730724 meters. 2023-10-17 17:53:31,481 [INFO] 79.45376886802124% of area of 100km around atcf track is outside acquisition bounding box 2023-10-17 17:53:31,495 [INFO] 2.9591919008023684% of area of 100km around atcf track point that is inside acquisition bounding box is land. 2023-10-17 17:53:31,495 [INFO] 82.41296076882361% of area of 100km around track point is not usable (land or outside of acquisition). 2023-10-17 17:53:31,497 [INFO] SAR image has 43700 non-masked points. 2023-10-17 17:54:07,071 [WARNING] Procedure OK but many points are masked... TC might be on land 2023-10-17 17:54:07,127 [INFO] Starting creation of NetCDF products... 2023-10-17 17:54:07,129 [INFO] Getting data from Cyclobs track API. Req : http://derive.ifremer.fr/app/api/track?include_cols=all&sid=wp112020&freq=15&min_date=2020-09-04&max_date=2020-09-08 2023-10-17 17:54:07,129 [INFO] Acquisition datetime is 2020-09-06 21:32:37 2023-10-17 17:54:07,198 [INFO] Found propagation angle to north is 1.6031839727454194°, dir std 0.0230588065921605, speed : 12.633805586387837 m/s, speed_std 0.7507991741477911 2023-10-17 17:54:07,495 [INFO] Creating aeqd gridded dataset... 2023-10-17 17:54:10,554 [INFO] Done creating aeqd gridded dataset. 2023-10-17 17:54:10,554 [INFO] Converting dataset to polar... 2023-10-17 17:54:11,407 [INFO] Done converting dataset to polar. 2023-10-17 17:54:11,408 [INFO] Rotating polar dataset... 2023-10-17 17:54:11,412 [INFO] Done rotating polar dataset.. 2023-10-17 17:54:11,412 [INFO] Rotating cartesian dataset... 2023-10-17 17:54:11,796 [INFO] Done rotating cartesian dataset. 2023-10-17 17:54:11,796 [INFO] Adding wind direction related variables... 2023-10-17 17:54:11,887 [INFO] Done adding wind direction related variables. 2023-10-17 17:54:11,887 [INFO] Computing radii using polar north dataset... 2023-10-17 17:54:24,414 [INFO] Done computing radii using polar north dataset. 2023-10-17 17:54:24,416 [INFO] Computing shapes from eye center research procedure results, to be added to dataset... 2023-10-17 17:54:24,419 [INFO] Done computing shapes. 2023-10-17 17:54:31,624 [INFO] Adding attributes to the 4 datasets... 2023-10-17 17:54:31,636 [INFO] Flag value : track_flag -> 2 2023-10-17 17:54:31,636 [INFO] Flag value : lwind_hwind_flag -> 2 2023-10-17 17:54:31,636 [INFO] Flag value : eye_length_flag -> 0 2023-10-17 17:54:31,637 [INFO] Flag value : eye_circularity_flag -> 1 2023-10-17 17:54:31,637 [INFO] Flag value : dist_lwind_flag -> 0 2023-10-17 17:54:31,638 [INFO] Flag value : eye_contained_flag -> 0 2023-10-17 17:54:31,641 [INFO] Flag value : distance_center_bbox_flag -> 0 2023-10-17 17:54:31,641 [INFO] Flag value : distance_track_bbox_flag -> 0 2023-10-17 17:54:31,642 [INFO] Flag value : land_flag -> 2 2023-10-17 17:54:31,642 [INFO] Flag value : track_point_flag -> 2 2023-10-17 17:54:31,643 [INFO] Flag value : percent_eye_bbox_flag -> 0 2023-10-17 17:54:31,643 [INFO] Flag value : center_quality_flag -> 5.3 2023-10-17 17:54:31,764 [INFO] Flag value : track_flag -> 2 2023-10-17 17:54:31,764 [INFO] Flag value : lwind_hwind_flag -> 2 2023-10-17 17:54:31,765 [INFO] Flag value : eye_length_flag -> 0 2023-10-17 17:54:31,765 [INFO] Flag value : eye_circularity_flag -> 1 2023-10-17 17:54:31,766 [INFO] Flag value : dist_lwind_flag -> 0 2023-10-17 17:54:31,766 [INFO] Flag value : eye_contained_flag -> 0 2023-10-17 17:54:31,767 [INFO] Flag value : distance_center_bbox_flag -> 0 2023-10-17 17:54:31,767 [INFO] Flag value : distance_track_bbox_flag -> 0 2023-10-17 17:54:31,768 [INFO] Flag value : land_flag -> 2 2023-10-17 17:54:31,768 [INFO] Flag value : track_point_flag -> 2 2023-10-17 17:54:31,769 [INFO] Flag value : percent_eye_bbox_flag -> 0 2023-10-17 17:54:31,770 [INFO] Flag value : center_quality_flag -> 5.3 2023-10-17 17:54:31,909 [INFO] Done adding attributes to the 4 datasets. 2023-10-17 17:54:31,909 [INFO] Saving to netcdf... 2023-10-17 17:54:31,909 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/s1b-iw-owi-ca-20200906t213202-20200906t213312-000003-02C2BE_sw_wp112020_geogr_gd.nc 2023-10-17 17:54:33,565 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/s1b-iw-owi-ca-20200906t213202-20200906t213312-000003-02C2BE_sw_wp112020_geogr_polar.nc 2023-10-17 17:54:34,124 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/s1b-iw-owi-ca-20200906t213202-20200906t213312-000003-02C2BE_sw_wp112020_cyclone_polar.nc 2023-10-17 17:54:34,690 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/s1b-iw-owi-ca-20200906t213202-20200906t213312-000003-02C2BE_sw_wp112020_geogr_gd.nc 2023-10-17 17:54:36,542 [INFO] Done saving. 2023-10-17 17:54:36,630 [INFO] ATCF output file exists (/home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/fix/SARFIX_bwp112020.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:54:36,771 [INFO] wrote /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/fix/SARFIX_bwp112020.dat 2023-10-17 17:54:36,776 [INFO] wrote /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/fix/SARFIX_s1b-iw-owi-cc-20200906t213202-20200906t213312-023260-02C2BE.dat