2023-10-17 17:19:38,921 [INFO] Getting data from Cyclobs API. Req : http://derive.ifremer.fr/app/api/getData?include_cols=all&filename=20220414t090200-20220414t090423 2023-10-17 17:19:40,107 [INFO] Getting IBTRACS data from Cyclobs API. Req : http://derive.ifremer.fr/app/api/getData?include_cols=all&filename=20220414t090200-20220414t090423&track_source=ibtracs 2023-10-17 17:19:41,376 [INFO] file : /home/datawork-cersat-public/cache/public/ftp/project/sarwing/processings/c39e79a/xsardef/RS2/L2C/VV_VH/2022/104/RS2_OK141302_PK1242210_DK1208524_SCWA_20220414_090200_VV_VH_SGF/RS2__OWI_CC_20220414T090200_20220414T090423____________/post_processing/nclight_L2M/rs2--owi-cm-20220414t090200-20220414t090423-00003-______sw.nc 2023-10-17 17:19:41,376 [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:19:45,615 [INFO] Atcf lon/lat 138.85/22.25 2023-10-17 17:19:49,347 [INFO] Distance to coast of track point is 344252.17896591296 meters. 2023-10-17 17:19:49,347 [INFO] Distance between aquisition border and track point is 96475.47393622107 meters. 2023-10-17 17:19:49,359 [INFO] 99.58774437539387% of area of 100km around atcf track is outside acquisition bounding box 2023-10-17 17:19:49,393 [INFO] 0.0% of area of 100km around atcf track point that is inside acquisition bounding box is land. 2023-10-17 17:19:49,394 [INFO] 99.58774437539387% of area of 100km around track point is not usable (land or outside of acquisition). 2023-10-17 17:19:49,396 [INFO] SAR image has 494010 non-masked points. 2023-10-17 17:20:12,503 [INFO] Starting creation of NetCDF products... 2023-10-17 17:20:12,564 [INFO] Getting data from Cyclobs track API. Req : http://derive.ifremer.fr/app/api/track?include_cols=all&sid=wp022022&freq=15&min_date=2022-04-12&max_date=2022-04-16 2023-10-17 17:20:12,564 [INFO] Acquisition datetime is 2022-04-14 09:03:11.500000 2023-10-17 17:20:12,692 [INFO] Found propagation angle to north is -30.224980370704507°, dir std 0.10909502585923816, speed : 6.278257159634075 m/s, speed_std 1.2153824255612098 2023-10-17 17:20:13,047 [INFO] Creating aeqd gridded dataset... 2023-10-17 17:20:18,206 [INFO] Done creating aeqd gridded dataset. 2023-10-17 17:20:18,214 [INFO] Converting dataset to polar... 2023-10-17 17:20:19,246 [INFO] Done converting dataset to polar. 2023-10-17 17:20:19,246 [INFO] Rotating polar dataset... 2023-10-17 17:20:19,253 [INFO] Done rotating polar dataset.. 2023-10-17 17:20:19,253 [INFO] Rotating cartesian dataset... 2023-10-17 17:20:19,912 [INFO] Done rotating cartesian dataset. 2023-10-17 17:20:19,912 [INFO] Adding wind direction related variables... 2023-10-17 17:20:20,144 [INFO] Done adding wind direction related variables. 2023-10-17 17:20:20,144 [INFO] Computing radii using polar north dataset... 2023-10-17 17:20:41,758 [INFO] Done computing radii using polar north dataset. 2023-10-17 17:20:41,770 [INFO] Computing shapes from eye center research procedure results, to be added to dataset... 2023-10-17 17:20:41,772 [INFO] Done computing shapes. 2023-10-17 17:20:49,950 [INFO] Adding attributes to the 4 datasets... 2023-10-17 17:20:49,959 [INFO] Flag value : track_flag -> 2 2023-10-17 17:20:49,970 [INFO] Flag value : lwind_hwind_flag -> 0 2023-10-17 17:20:49,970 [INFO] Flag value : eye_length_flag -> 2 2023-10-17 17:20:49,971 [INFO] Flag value : eye_circularity_flag -> 0 2023-10-17 17:20:49,971 [INFO] Flag value : dist_lwind_flag -> 0 2023-10-17 17:20:49,972 [INFO] Flag value : eye_contained_flag -> 0 2023-10-17 17:20:49,973 [INFO] Flag value : distance_center_bbox_flag -> 1 2023-10-17 17:20:49,974 [INFO] Flag value : distance_track_bbox_flag -> 0 2023-10-17 17:20:49,975 [INFO] Flag value : land_flag -> 0 2023-10-17 17:20:49,975 [INFO] Flag value : track_point_flag -> 2 2023-10-17 17:20:49,976 [INFO] Flag value : percent_eye_bbox_flag -> 0 2023-10-17 17:20:49,977 [INFO] Flag value : center_quality_flag -> 3.05 2023-10-17 17:20:50,036 [INFO] Flag value : track_flag -> 2 2023-10-17 17:20:50,037 [INFO] Flag value : lwind_hwind_flag -> 0 2023-10-17 17:20:50,037 [INFO] Flag value : eye_length_flag -> 2 2023-10-17 17:20:50,038 [INFO] Flag value : eye_circularity_flag -> 0 2023-10-17 17:20:50,038 [INFO] Flag value : dist_lwind_flag -> 0 2023-10-17 17:20:50,039 [INFO] Flag value : eye_contained_flag -> 0 2023-10-17 17:20:50,039 [INFO] Flag value : distance_center_bbox_flag -> 1 2023-10-17 17:20:50,040 [INFO] Flag value : distance_track_bbox_flag -> 0 2023-10-17 17:20:50,040 [INFO] Flag value : land_flag -> 0 2023-10-17 17:20:50,041 [INFO] Flag value : track_point_flag -> 2 2023-10-17 17:20:50,041 [INFO] Flag value : percent_eye_bbox_flag -> 0 2023-10-17 17:20:50,042 [INFO] Flag value : center_quality_flag -> 3.05 2023-10-17 17:20:50,103 [INFO] Done adding attributes to the 4 datasets. 2023-10-17 17:20:50,103 [INFO] Saving to netcdf... 2023-10-17 17:20:50,103 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/rs2--owi-ca-20220414t090200-20220414t090423-00003-______sw_wp022022_geogr_gd.nc 2023-10-17 17:20:53,107 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/rs2--owi-ca-20220414t090200-20220414t090423-00003-______sw_wp022022_geogr_polar.nc 2023-10-17 17:20:54,046 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/rs2--owi-ca-20220414t090200-20220414t090423-00003-______sw_wp022022_cyclone_polar.nc 2023-10-17 17:20:54,992 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/rs2--owi-ca-20220414t090200-20220414t090423-00003-______sw_wp022022_geogr_gd.nc 2023-10-17 17:20:57,945 [INFO] Done saving. 2023-10-17 17:20:58,043 [INFO] ATCF output file exists (/home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/fix/SARFIX_bwp022022.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:20:58,352 [INFO] wrote /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/fix/SARFIX_bwp022022.dat 2023-10-17 17:20:58,486 [INFO] wrote /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/fix/SARFIX_rs2--owi-cc-20220414t090200-20220414t090423-_____-_____.dat