2023-10-17 17:58:25,361 [INFO] Getting data from Cyclobs API. Req : http://derive.ifremer.fr/app/api/getData?include_cols=all&filename=20200802t231913-20200802t232034 2023-10-17 17:58:26,234 [INFO] Getting IBTRACS data from Cyclobs API. Req : http://derive.ifremer.fr/app/api/getData?include_cols=all&filename=20200802t231913-20200802t232034&track_source=ibtracs 2023-10-17 17:58:27,123 [INFO] file : /home/datawork-cersat-public/cache/public/ftp/project/sarwing/processings/c39e79a/xsardef/sentinel-1b/L2C/IW/S1B_IW_OWIH_1S/2020/215/S1B_IW_OWIH_CC_20200802T231913_20200802T232034_022751_02B2DB/post_processing/nclight_L2M/s1b-iw-owi-cm-20200802t231913-20200802t232034-000003-02B2DB_sw.nc 2023-10-17 17:58:27,123 [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:58:29,237 [INFO] Atcf lon/lat -79.6875/28.1 2023-10-17 17:58:33,651 [INFO] Distance to coast of track point is 79722.2568940183 meters. 2023-10-17 17:58:33,721 [INFO] Distance between aquisition border and track point is 79861.25072949381 meters. 2023-10-17 17:58:33,740 [INFO] 5.32723517885924% of area of 100km around atcf track is outside acquisition bounding box 2023-10-17 17:58:33,764 [INFO] 1.051786367568194% of area of 100km around atcf track point that is inside acquisition bounding box is land. 2023-10-17 17:58:33,764 [INFO] 6.379021546427435% of area of 100km around track point is not usable (land or outside of acquisition). 2023-10-17 17:58:33,765 [INFO] SAR image has 124149 non-masked points. 2023-10-17 17:59:02,583 [INFO] Starting creation of NetCDF products... 2023-10-17 17:59:02,586 [INFO] Getting data from Cyclobs track API. Req : http://derive.ifremer.fr/app/api/track?include_cols=all&sid=al092020&freq=15&min_date=2020-07-31&max_date=2020-08-04 2023-10-17 17:59:02,586 [INFO] Acquisition datetime is 2020-08-02 23:19:53.500000 2023-10-17 17:59:02,691 [INFO] Found propagation angle to north is 8.372939143524448°, dir std 0.03091432246572151, speed : 4.358559868011289 m/s, speed_std 0.2494358883088385 2023-10-17 17:59:02,734 [INFO] Creating aeqd gridded dataset... 2023-10-17 17:59:05,637 [INFO] Done creating aeqd gridded dataset. 2023-10-17 17:59:05,637 [INFO] Converting dataset to polar... 2023-10-17 17:59:06,963 [INFO] Done converting dataset to polar. 2023-10-17 17:59:06,964 [INFO] Rotating polar dataset... 2023-10-17 17:59:06,970 [INFO] Done rotating polar dataset.. 2023-10-17 17:59:06,970 [INFO] Rotating cartesian dataset... 2023-10-17 17:59:07,290 [INFO] Done rotating cartesian dataset. 2023-10-17 17:59:07,290 [INFO] Adding wind direction related variables... 2023-10-17 17:59:07,386 [INFO] Done adding wind direction related variables. 2023-10-17 17:59:07,387 [INFO] Computing radii using polar north dataset... 2023-10-17 17:59:24,377 [INFO] Done computing radii using polar north dataset. 2023-10-17 17:59:24,435 [INFO] Computing shapes from eye center research procedure results, to be added to dataset... 2023-10-17 17:59:24,438 [INFO] Done computing shapes. 2023-10-17 17:59:31,327 [INFO] Adding attributes to the 4 datasets... 2023-10-17 17:59:31,331 [INFO] Flag value : track_flag -> 0 2023-10-17 17:59:31,331 [INFO] Flag value : lwind_hwind_flag -> 2 2023-10-17 17:59:31,332 [INFO] Flag value : eye_length_flag -> 1 2023-10-17 17:59:31,332 [INFO] Flag value : eye_circularity_flag -> 0 2023-10-17 17:59:31,333 [INFO] Flag value : dist_lwind_flag -> 0 2023-10-17 17:59:31,333 [INFO] Flag value : eye_contained_flag -> 0 2023-10-17 17:59:31,334 [INFO] Flag value : distance_center_bbox_flag -> 0 2023-10-17 17:59:31,335 [INFO] Flag value : distance_track_bbox_flag -> 0 2023-10-17 17:59:31,335 [INFO] Flag value : land_flag -> 2 2023-10-17 17:59:31,336 [INFO] Flag value : track_point_flag -> 0 2023-10-17 17:59:31,336 [INFO] Flag value : percent_eye_bbox_flag -> 0 2023-10-17 17:59:31,337 [INFO] Flag value : center_quality_flag -> 3.1 2023-10-17 17:59:31,396 [INFO] Flag value : track_flag -> 0 2023-10-17 17:59:31,396 [INFO] Flag value : lwind_hwind_flag -> 2 2023-10-17 17:59:31,397 [INFO] Flag value : eye_length_flag -> 1 2023-10-17 17:59:31,397 [INFO] Flag value : eye_circularity_flag -> 0 2023-10-17 17:59:31,398 [INFO] Flag value : dist_lwind_flag -> 0 2023-10-17 17:59:31,398 [INFO] Flag value : eye_contained_flag -> 0 2023-10-17 17:59:31,399 [INFO] Flag value : distance_center_bbox_flag -> 0 2023-10-17 17:59:31,399 [INFO] Flag value : distance_track_bbox_flag -> 0 2023-10-17 17:59:31,400 [INFO] Flag value : land_flag -> 2 2023-10-17 17:59:31,400 [INFO] Flag value : track_point_flag -> 0 2023-10-17 17:59:31,401 [INFO] Flag value : percent_eye_bbox_flag -> 0 2023-10-17 17:59:31,401 [INFO] Flag value : center_quality_flag -> 3.1 2023-10-17 17:59:31,460 [INFO] Done adding attributes to the 4 datasets. 2023-10-17 17:59:31,460 [INFO] Saving to netcdf... 2023-10-17 17:59:31,460 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/s1b-iw-owi-ca-20200802t231913-20200802t232034-000003-02B2DB_sw_al092020_geogr_gd.nc 2023-10-17 17:59:34,006 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/s1b-iw-owi-ca-20200802t231913-20200802t232034-000003-02B2DB_sw_al092020_geogr_polar.nc 2023-10-17 17:59:34,932 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/s1b-iw-owi-ca-20200802t231913-20200802t232034-000003-02B2DB_sw_al092020_cyclone_polar.nc 2023-10-17 17:59:35,788 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/s1b-iw-owi-ca-20200802t231913-20200802t232034-000003-02B2DB_sw_al092020_geogr_gd.nc 2023-10-17 17:59:40,906 [INFO] Done saving. 2023-10-17 17:59:41,064 [INFO] ATCF output file exists (/home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/fix/SARFIX_bal092020.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:59:41,354 [INFO] wrote /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/fix/SARFIX_bal092020.dat 2023-10-17 17:59:41,384 [INFO] wrote /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/fix/SARFIX_s1b-iw-owi-cc-20200802t231913-20200802t232034-022751-02B2DB.dat