2023-10-17 18:00:30,681 [INFO] Getting data from Cyclobs API. Req : http://derive.ifremer.fr/app/api/getData?include_cols=all&filename=20191207t023226-20191207t023357 2023-10-17 18:00:31,742 [INFO] Getting IBTRACS data from Cyclobs API. Req : http://derive.ifremer.fr/app/api/getData?include_cols=all&filename=20191207t023226-20191207t023357&track_source=ibtracs 2023-10-17 18:00:32,906 [INFO] file : /home/datawork-cersat-public/cache/public/ftp/project/sarwing/processings/c39e79a/xsardef/sentinel-1a/L2C/EW/S1A_EW_OWIM_1S/2019/341/S1A_EW_OWIM_CC_20191207T023226_20191207T023357_030236_0374DF/post_processing/nclight_L2M/s1a-ew-owi-cm-20191207t023226-20191207t023357-000003-0374DF_sw.nc 2023-10-17 18:00:32,906 [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:00:34,978 [INFO] Atcf lon/lat 47.63333333333333/-9.308333333333334 2023-10-17 18:00:38,973 [INFO] Distance to coast of track point is 44703.1522692683 meters. 2023-10-17 18:00:38,973 [INFO] Distance between aquisition border and track point is 98637.27798074804 meters. 2023-10-17 18:00:38,984 [INFO] 0.09627267894377667% of area of 100km around atcf track is outside acquisition bounding box 2023-10-17 18:00:39,044 [INFO] 0.0032811573307305153% of area of 100km around atcf track point that is inside acquisition bounding box is land. 2023-10-17 18:00:39,045 [INFO] 0.09955383627450719% of area of 100km around track point is not usable (land or outside of acquisition). 2023-10-17 18:00:39,046 [INFO] SAR image has 238799 non-masked points. 2023-10-17 18:01:03,231 [INFO] Starting creation of NetCDF products... 2023-10-17 18:01:03,233 [INFO] Getting data from Cyclobs track API. Req : http://derive.ifremer.fr/app/api/track?include_cols=all&sid=sh022020&freq=15&min_date=2019-12-05&max_date=2019-12-09 2023-10-17 18:01:03,233 [INFO] Acquisition datetime is 2019-12-07 02:33:11.500000 2023-10-17 18:01:03,338 [INFO] Found propagation angle to north is 142.1380652167354°, dir std 0.12049535193847552, speed : 3.2677903064616443 m/s, speed_std 0.39359093383020566 2023-10-17 18:01:03,439 [INFO] Creating aeqd gridded dataset... 2023-10-17 18:01:06,573 [INFO] Done creating aeqd gridded dataset. 2023-10-17 18:01:06,636 [INFO] Converting dataset to polar... 2023-10-17 18:01:07,657 [INFO] Done converting dataset to polar. 2023-10-17 18:01:07,657 [INFO] Rotating polar dataset... 2023-10-17 18:01:07,663 [INFO] Done rotating polar dataset.. 2023-10-17 18:01:07,663 [INFO] Rotating cartesian dataset... 2023-10-17 18:01:08,035 [INFO] Done rotating cartesian dataset. 2023-10-17 18:01:08,035 [INFO] Adding wind direction related variables... 2023-10-17 18:01:08,140 [INFO] Done adding wind direction related variables. 2023-10-17 18:01:08,140 [INFO] Computing radii using polar north dataset... 2023-10-17 18:01:24,908 [INFO] Done computing radii using polar north dataset. 2023-10-17 18:01:24,962 [INFO] Computing shapes from eye center research procedure results, to be added to dataset... 2023-10-17 18:01:24,965 [INFO] Done computing shapes. 2023-10-17 18:01:32,135 [INFO] Adding attributes to the 4 datasets... 2023-10-17 18:01:32,139 [INFO] Flag value : track_flag -> 0 2023-10-17 18:01:32,139 [INFO] Flag value : lwind_hwind_flag -> 0 2023-10-17 18:01:32,139 [INFO] Flag value : eye_length_flag -> 0 2023-10-17 18:01:32,140 [INFO] Flag value : eye_circularity_flag -> 0 2023-10-17 18:01:32,140 [INFO] Flag value : dist_lwind_flag -> 0 2023-10-17 18:01:32,141 [INFO] Flag value : eye_contained_flag -> 0 2023-10-17 18:01:32,141 [INFO] Flag value : distance_center_bbox_flag -> 0 2023-10-17 18:01:32,142 [INFO] Flag value : distance_track_bbox_flag -> 0 2023-10-17 18:01:32,143 [INFO] Flag value : land_flag -> 0 2023-10-17 18:01:32,143 [INFO] Flag value : track_point_flag -> 0 2023-10-17 18:01:32,144 [INFO] Flag value : percent_eye_bbox_flag -> 0 2023-10-17 18:01:32,144 [INFO] Flag value : center_quality_flag -> 0.0 2023-10-17 18:01:32,201 [INFO] Flag value : track_flag -> 0 2023-10-17 18:01:32,201 [INFO] Flag value : lwind_hwind_flag -> 0 2023-10-17 18:01:32,202 [INFO] Flag value : eye_length_flag -> 0 2023-10-17 18:01:32,202 [INFO] Flag value : eye_circularity_flag -> 0 2023-10-17 18:01:32,203 [INFO] Flag value : dist_lwind_flag -> 0 2023-10-17 18:01:32,203 [INFO] Flag value : eye_contained_flag -> 0 2023-10-17 18:01:32,204 [INFO] Flag value : distance_center_bbox_flag -> 0 2023-10-17 18:01:32,204 [INFO] Flag value : distance_track_bbox_flag -> 0 2023-10-17 18:01:32,205 [INFO] Flag value : land_flag -> 0 2023-10-17 18:01:32,205 [INFO] Flag value : track_point_flag -> 0 2023-10-17 18:01:32,206 [INFO] Flag value : percent_eye_bbox_flag -> 0 2023-10-17 18:01:32,207 [INFO] Flag value : center_quality_flag -> 0.0 2023-10-17 18:01:32,265 [INFO] Done adding attributes to the 4 datasets. 2023-10-17 18:01:32,266 [INFO] Saving to netcdf... 2023-10-17 18:01:32,266 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/s1a-ew-owi-ca-20191207t023226-20191207t023357-000003-0374DF_sw_sh022020_geogr_gd.nc 2023-10-17 18:01:34,356 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/s1a-ew-owi-ca-20191207t023226-20191207t023357-000003-0374DF_sw_sh022020_geogr_polar.nc 2023-10-17 18:01:35,207 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/s1a-ew-owi-ca-20191207t023226-20191207t023357-000003-0374DF_sw_sh022020_cyclone_polar.nc 2023-10-17 18:01:35,727 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/product/s1a-ew-owi-ca-20191207t023226-20191207t023357-000003-0374DF_sw_sh022020_geogr_gd.nc 2023-10-17 18:01:38,719 [INFO] Done saving. 2023-10-17 18:01:38,919 [INFO] ATCF output file exists (/home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/fix/SARFIX_bsh022020.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:01:39,353 [INFO] wrote /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/fix/SARFIX_bsh022020.dat 2023-10-17 18:01:39,486 [INFO] wrote /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/from_xsar/tc_center/fix/SARFIX_s1a-ew-owi-cc-20191207t023226-20191207t023357-030236-0374DF.dat