2024-11-16 15:52:33,094 [INFO] Getting data from Cyclobs API. Req : https://cyclobs.ifremer.fr/app/api/getData?include_cols=all&filename=20231022t095844-20231022t095938 2024-11-16 15:52:34,463 [INFO] Getting IBTRACS data from Cyclobs API. Req : https://cyclobs.ifremer.fr/app/api/getData?include_cols=all&filename=20231022t095844-20231022t095938&track_source=ibtracs 2024-11-16 15:52:35,841 [INFO] file : /home/datawork-cersat-public/cache/public/ftp/project/sarwing/processings/c39e79a/default/sentinel-1a/L2C/IW/S1A_IW_OWIH_1S/2023/295/S1A_IW_OWIH_CC_20231022T095844_20231022T095938_050876_0621D7/post_processing/nclight_L2M/s1a-iw-owi-cm-20231022t095844-20231022t095938-000003-0621D7_sw.nc 2024-11-16 15:52:35,843 [INFO] extracting SAR image info for file nclight_L2M... /home/datawork-cersat-public/cache/project/cyclobs/tc_center/tc_center_37/lib/python3.7/site-packages/tc_center/functions.py:790: RuntimeWarning: invalid value encountered in sqrt grad = np.sqrt((np.gradient(wspdcop)[0] ** 2 + np.gradient(wspdcop)[1] ** 2)) 2024-11-16 15:52:38,792 [INFO] Atcf lon/lat -62.56666666666666/18.46666666666667 2024-11-16 15:52:45,398 [INFO] Distance to coast of track point is 42696.48314696657 meters. 2024-11-16 15:52:45,415 [INFO] Distance between aquisition border and track point is 6743.61978174319 meters. 2024-11-16 15:52:45,444 [INFO] 71.09105809424305% of area of 100km around atcf track is outside acquisition bounding box 2024-11-16 15:52:45,529 [INFO] 0.0% of area of 100km around atcf track point that is inside acquisition bounding box is land. 2024-11-16 15:52:45,530 [INFO] 71.09105809424305% of area of 100km around track point is not usable (land or outside of acquisition). 2024-11-16 15:52:45,537 [INFO] SAR image has 82760 non-masked points. 2024-11-16 15:53:01,278 [WARNING] Re-center procedure found the eye out of the image. 2024-11-16 15:53:01,504 [INFO] Starting creation of NetCDF products... 2024-11-16 15:53:01,725 [INFO] Getting data from Cyclobs track API. Req : https://cyclobs.ifremer.fr/app/api/track?include_cols=all&sid=al202023&freq=15&min_date=2023-10-20&max_date=2023-10-24 2024-11-16 15:53:01,877 [INFO] Acquisition datetime is 2023-10-22 09:59:11 2024-11-16 15:53:02,410 [INFO] Found propagation angle to north is 40.324731819514994°, dir std 0.051832278848560835, speed : 4.7842292336307795 m/s, speed_std 0.32501125378197054 2024-11-16 15:53:02,480 [INFO] Creating aeqd gridded dataset... 2024-11-16 15:53:06,759 [INFO] Done creating aeqd gridded dataset. 2024-11-16 15:53:06,761 [INFO] Converting dataset to polar... 2024-11-16 15:53:08,383 [INFO] Done converting dataset to polar. 2024-11-16 15:53:08,538 [INFO] Rotating polar dataset... /home/datawork-cersat-public/cache/project/cyclobs/tc_center/tc_center_37/lib/python3.7/site-packages/tc_center/polar.py:511: RuntimeWarning: invalid value encountered in remainder polar_ds[var_diff].values + round(direction_angle)), 360) 2024-11-16 15:53:08,820 [INFO] Done rotating polar dataset.. 2024-11-16 15:53:08,974 [INFO] Rotating cartesian dataset... /home/datawork-cersat-public/cache/project/cyclobs/tc_center/tc_center_37/lib/python3.7/site-packages/tc_center/polar.py:573: RuntimeWarning: invalid value encountered in remainder ds_cyclone_gd[var_diff][:] = np.mod(np.where(nan_mask, np.nan, ds_cyclone_gd[var_diff].values + angle), 360) 2024-11-16 15:53:10,448 [INFO] Done rotating cartesian dataset. 2024-11-16 15:53:10,636 [INFO] Adding wind direction related variables... 2024-11-16 15:53:12,830 [INFO] Done adding wind direction related variables. 2024-11-16 15:53:12,832 [INFO] Computing radii using polar north dataset... 2024-11-16 15:53:31,768 [INFO] Done computing radii using polar north dataset. 2024-11-16 15:53:31,774 [INFO] Computing shapes from eye center research procedure results, to be added to dataset... 2024-11-16 15:53:31,784 [INFO] Done computing shapes. 2024-11-16 15:53:40,176 [INFO] Adding attributes to the 4 datasets... 2024-11-16 15:53:40,443 [INFO] Flag value : track_flag -> 0 2024-11-16 15:53:40,605 [INFO] Flag value : lwind_hwind_flag -> 0 2024-11-16 15:53:40,962 [INFO] Flag value : eye_length_flag -> 1 2024-11-16 15:53:40,968 [INFO] Flag value : eye_circularity_flag -> 0 2024-11-16 15:53:40,971 [INFO] Flag value : dist_lwind_flag -> 0 2024-11-16 15:53:40,973 [INFO] Flag value : eye_contained_flag -> 2 2024-11-16 15:53:40,977 [INFO] Flag value : distance_center_bbox_flag -> 2 2024-11-16 15:53:40,980 [INFO] Flag value : distance_track_bbox_flag -> 2 2024-11-16 15:53:41,468 [INFO] Flag value : land_flag -> 1 2024-11-16 15:53:41,472 [INFO] Flag value : track_point_flag -> 2 2024-11-16 15:53:41,476 [INFO] Flag value : percent_eye_bbox_flag -> 2 2024-11-16 15:53:41,479 [INFO] Flag value : center_quality_flag -> 4.800000000000001 2024-11-16 15:53:41,667 [INFO] Flag value : track_flag -> 0 2024-11-16 15:53:41,669 [INFO] Flag value : lwind_hwind_flag -> 0 2024-11-16 15:53:41,672 [INFO] Flag value : eye_length_flag -> 1 2024-11-16 15:53:41,675 [INFO] Flag value : eye_circularity_flag -> 0 2024-11-16 15:53:41,678 [INFO] Flag value : dist_lwind_flag -> 0 2024-11-16 15:53:41,681 [INFO] Flag value : eye_contained_flag -> 2 2024-11-16 15:53:41,684 [INFO] Flag value : distance_center_bbox_flag -> 2 2024-11-16 15:53:41,687 [INFO] Flag value : distance_track_bbox_flag -> 2 2024-11-16 15:53:41,690 [INFO] Flag value : land_flag -> 1 2024-11-16 15:53:41,694 [INFO] Flag value : track_point_flag -> 2 2024-11-16 15:53:41,697 [INFO] Flag value : percent_eye_bbox_flag -> 2 2024-11-16 15:53:41,700 [INFO] Flag value : center_quality_flag -> 4.800000000000001 2024-11-16 15:53:42,124 [INFO] Done adding attributes to the 4 datasets. 2024-11-16 15:53:42,253 [INFO] Saving to netcdf... 2024-11-16 15:53:42,404 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/tc_center/product/s1a-iw-owi-ca-20231022t095844-20231022t095938-000003-0621D7_sw_al202023_geogr_gd.nc 2024-11-16 15:53:48,683 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/tc_center/product/s1a-iw-owi-ca-20231022t095844-20231022t095938-000003-0621D7_sw_al202023_geogr_polar.nc 2024-11-16 15:53:51,798 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/tc_center/product/s1a-iw-owi-ca-20231022t095844-20231022t095938-000003-0621D7_sw_al202023_cyclone_polar.nc 2024-11-16 15:53:57,032 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/tc_center/product/s1a-iw-owi-ca-20231022t095844-20231022t095938-000003-0621D7_sw_al202023_geogr_gd.nc 2024-11-16 15:54:04,866 [INFO] Done saving. 2024-11-16 15:54:04,948 [INFO] ATCF output file exists (/home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/tc_center/fix/SARFIX_bal202023.dat). Reading and merging. /home/datawork-cersat-public/cache/project/cyclobs/tc_center/tc_center_37/lib/python3.7/site-packages/tc_center/fix.py:172: 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") 2024-11-16 15:54:04,955 [ERROR] Exception: strptime() argument 1 must be str, not None Traceback (most recent call last): File "/home/datawork-cersat-public/cache/project/cyclobs/tc_center/tc_center_37/lib/python3.7/site-packages/tc_center/__init__.py", line 368, in find_center_save quality_flag=math.trunc(final_flag)) File "/home/datawork-cersat-public/cache/project/cyclobs/tc_center/tc_center_37/lib/python3.7/site-packages/tc_center/fix.py", line 172, in save_fix_analysis existing_fix = atcf.read(atcf_outfile, model="fix") File "/home/datawork-cersat-public/cache/project/cyclobs/tc_center/tc_center_37/lib/python3.7/site-packages/atcf/__init__.py", line 143, in read engine='python') File "/home/datawork-cersat-public/cache/project/cyclobs/tc_center/tc_center_37/lib/python3.7/site-packages/pandas/util/_decorators.py", line 311, in wrapper return func(*args, **kwargs) File "/home/datawork-cersat-public/cache/project/cyclobs/tc_center/tc_center_37/lib/python3.7/site-packages/pandas/io/parsers/readers.py", line 586, in read_csv return _read(filepath_or_buffer, kwds) File "/home/datawork-cersat-public/cache/project/cyclobs/tc_center/tc_center_37/lib/python3.7/site-packages/pandas/io/parsers/readers.py", line 488, in _read return parser.read(nrows) File "/home/datawork-cersat-public/cache/project/cyclobs/tc_center/tc_center_37/lib/python3.7/site-packages/pandas/io/parsers/readers.py", line 1047, in read index, columns, col_dict = self._engine.read(nrows) File "/home/datawork-cersat-public/cache/project/cyclobs/tc_center/tc_center_37/lib/python3.7/site-packages/pandas/io/parsers/python_parser.py", line 283, in read data = self._convert_data(data) File "/home/datawork-cersat-public/cache/project/cyclobs/tc_center/tc_center_37/lib/python3.7/site-packages/pandas/io/parsers/python_parser.py", line 352, in _convert_data clean_dtypes, File "/home/datawork-cersat-public/cache/project/cyclobs/tc_center/tc_center_37/lib/python3.7/site-packages/pandas/io/parsers/base_parser.py", line 559, in _convert_to_ndarrays values = lib.map_infer(values, conv_f) File "pandas/_libs/lib.pyx", line 2859, in pandas._libs.lib.map_infer File "/home/datawork-cersat-public/cache/project/cyclobs/tc_center/tc_center_37/lib/python3.7/site-packages/atcf/__init__.py", line 134, in 'date': lambda x: dt.datetime.strptime(x, '%Y%m%d%H%M'), TypeError: strptime() argument 1 must be str, not None