2024-11-16 18:40:21,800 [INFO] Getting data from Cyclobs API. Req : https://cyclobs.ifremer.fr/app/api/getData?include_cols=all&filename=20241107t214556-20241107t214715 2024-11-16 18:40:40,177 [INFO] Getting IBTRACS data from Cyclobs API. Req : https://cyclobs.ifremer.fr/app/api/getData?include_cols=all&filename=20241107t214556-20241107t214715&track_source=ibtracs 2024-11-16 18:40:46,368 [INFO] file : /home/datawork-cersat-public/cache/public/ftp/project/sarwing/processings/c39e79a/default/sentinel-1a/L2C/IW/S1A_IW_OWIH_1S/2024/312/S1A_IW_OWIH_CC_20241107T214556_20241107T214715_056454_06EB42/post_processing/nclight_L2M/s1a-iw-owi-cm-20241107t214556-20241107t214715-000003-06EB42_sw.nc 2024-11-16 18:40:46,370 [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 18:40:49,378 [INFO] Atcf lon/lat 119.675/18.2 2024-11-16 18:40:56,717 [INFO] Distance to coast of track point is 84912.40367326283 meters. 2024-11-16 18:40:56,719 [INFO] Distance between aquisition border and track point is 85871.42085537876 meters. 2024-11-16 18:40:56,748 [INFO] 96.86340055228506% of area of 100km around atcf track is outside acquisition bounding box 2024-11-16 18:40:56,779 [INFO] 2.6496249768801805% of area of 100km around atcf track point that is inside acquisition bounding box is land. 2024-11-16 18:40:56,782 [INFO] 99.51302552916523% of area of 100km around track point is not usable (land or outside of acquisition). 2024-11-16 18:40:56,789 [INFO] SAR image has 58206 non-masked points. 2024-11-16 18:41:49,637 [WARNING] Procedure OK but many points are masked... TC might be on land 2024-11-16 18:41:49,650 [INFO] Starting creation of NetCDF products... 2024-11-16 18:41:49,685 [INFO] Getting data from Cyclobs track API. Req : https://cyclobs.ifremer.fr/app/api/track?include_cols=all&sid=wp242024&freq=15&min_date=2024-11-05&max_date=2024-11-09 2024-11-16 18:41:49,687 [INFO] Acquisition datetime is 2024-11-07 21:46:35.500000 2024-11-16 18:41:50,064 [INFO] Found propagation angle to north is 89.29749412558625°, dir std 0.08612442703702376, speed : 5.186009983035007 m/s, speed_std 0.5076413614254629 2024-11-16 18:41:50,138 [INFO] Creating aeqd gridded dataset... 2024-11-16 18:41:55,170 [INFO] Done creating aeqd gridded dataset. 2024-11-16 18:41:55,173 [INFO] Converting dataset to polar... 2024-11-16 18:41:57,136 [INFO] Done converting dataset to polar. 2024-11-16 18:41:57,138 [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 18:41:57,184 [INFO] Done rotating polar dataset.. 2024-11-16 18:41:57,186 [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 18:41:58,530 [INFO] Done rotating cartesian dataset. 2024-11-16 18:41:58,532 [INFO] Adding wind direction related variables... 2024-11-16 18:42:00,757 [INFO] Done adding wind direction related variables. 2024-11-16 18:42:00,760 [INFO] Computing radii using polar north dataset... 2024-11-16 18:42:33,084 [INFO] Done computing radii using polar north dataset. 2024-11-16 18:42:33,090 [INFO] Computing shapes from eye center research procedure results, to be added to dataset... 2024-11-16 18:42:33,103 [INFO] Done computing shapes. 2024-11-16 18:42:42,968 [INFO] Adding attributes to the 4 datasets... 2024-11-16 18:42:42,977 [INFO] Flag value : track_flag -> 2 2024-11-16 18:42:43,011 [INFO] Flag value : lwind_hwind_flag -> 0 2024-11-16 18:42:43,014 [INFO] Flag value : eye_length_flag -> 0 2024-11-16 18:42:43,018 [INFO] Flag value : eye_circularity_flag -> 0 2024-11-16 18:42:43,021 [INFO] Flag value : dist_lwind_flag -> 0 2024-11-16 18:42:43,024 [INFO] Flag value : eye_contained_flag -> 0 2024-11-16 18:42:43,027 [INFO] Flag value : distance_center_bbox_flag -> 0 2024-11-16 18:42:43,030 [INFO] Flag value : distance_track_bbox_flag -> 0 2024-11-16 18:42:43,034 [INFO] Flag value : land_flag -> 2 2024-11-16 18:42:43,039 [INFO] Flag value : track_point_flag -> 2 2024-11-16 18:42:43,042 [INFO] Flag value : percent_eye_bbox_flag -> 0 2024-11-16 18:42:43,046 [INFO] Flag value : center_quality_flag -> 4.0 2024-11-16 18:42:43,182 [INFO] Flag value : track_flag -> 2 2024-11-16 18:42:43,187 [INFO] Flag value : lwind_hwind_flag -> 0 2024-11-16 18:42:43,190 [INFO] Flag value : eye_length_flag -> 0 2024-11-16 18:42:43,192 [INFO] Flag value : eye_circularity_flag -> 0 2024-11-16 18:42:43,195 [INFO] Flag value : dist_lwind_flag -> 0 2024-11-16 18:42:43,198 [INFO] Flag value : eye_contained_flag -> 0 2024-11-16 18:42:43,201 [INFO] Flag value : distance_center_bbox_flag -> 0 2024-11-16 18:42:43,204 [INFO] Flag value : distance_track_bbox_flag -> 0 2024-11-16 18:42:43,207 [INFO] Flag value : land_flag -> 2 2024-11-16 18:42:43,210 [INFO] Flag value : track_point_flag -> 2 2024-11-16 18:42:43,213 [INFO] Flag value : percent_eye_bbox_flag -> 0 2024-11-16 18:42:43,216 [INFO] Flag value : center_quality_flag -> 4.0 2024-11-16 18:42:43,351 [INFO] Done adding attributes to the 4 datasets. 2024-11-16 18:42:43,354 [INFO] Saving to netcdf... 2024-11-16 18:42:43,356 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/tc_center/product/s1a-iw-owi-ca-20241107t214556-20241107t214715-000003-06EB42_sw_wp242024_geogr_gd.nc 2024-11-16 18:42:45,957 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/tc_center/product/s1a-iw-owi-ca-20241107t214556-20241107t214715-000003-06EB42_sw_wp242024_geogr_polar.nc 2024-11-16 18:42:47,497 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/tc_center/product/s1a-iw-owi-ca-20241107t214556-20241107t214715-000003-06EB42_sw_wp242024_cyclone_polar.nc 2024-11-16 18:42:49,434 [INFO] Writing netCDF product to /home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/tc_center/product/s1a-iw-owi-ca-20241107t214556-20241107t214715-000003-06EB42_sw_wp242024_geogr_gd.nc 2024-11-16 18:42:55,036 [INFO] Done saving. 2024-11-16 18:42:55,143 [INFO] ATCF output file exists (/home/datawork-cersat-public/cache/public/ftp/project/cyclobs/data/tc_center/fix/SARFIX_bwp242024.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 18:42:55,150 [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