Commit 9ab6ebd6 authored by CEVAER's avatar CEVAER
Browse files

Added radii to fix

parent ea937bb6
......@@ -269,21 +269,7 @@ def find_center_plot_save(path, sat_file, resolution, path_fix, netcdf_path, api
# api_data.iloc[0]["vmax (m/s)"], track_gdf)
#
#save_plot(sat_file, path, p, prepend="control")
save_fix_analysis(path=path_fix,
sat_file=sat_file,
atcf_filename=os.path.basename(api_data.iloc[0]["track_file"]),
lon_eye=eye_dict["lon_eye"],
lat_eye=eye_dict["lat_eye"],
rmw=0,
vmax=api_data.iloc[0]["vmax (m/s)"],
cyclone_name=api_data.iloc[0]["cyclone_name"],
sid=api_data.iloc[0]["sid"],
sub_basin=api_data.iloc[0]["sub_basin"],
sat_mission=api_data.iloc[0]["mission"],
acq_time=pd.to_datetime(api_data.iloc[0]["acquisition_start_time"]))
save_netcdf(sat_file=sat_file,
radii_quad, radii_nmi_quad = save_netcdf(sat_file=sat_file,
path=netcdf_path,
center_status=eye_dict["center_status"],
percent_outside=eye_dict["percent_outside"],
......@@ -313,6 +299,20 @@ def find_center_plot_save(path, sat_file, resolution, path_fix, netcdf_path, api
lon_algo=eye_dict["lon"],
lat_algo=eye_dict["lat"],
resolution=resolution)
save_fix_analysis(path=path_fix,
sat_file=sat_file,
atcf_filename=os.path.basename(api_data.iloc[0]["track_file"]),
lon_eye=eye_dict["lon_eye"],
lat_eye=eye_dict["lat_eye"],
radii_quad=radii_quad,
radii_nmi_quad=radii_nmi_quad,
cyclone_name=api_data.iloc[0]["cyclone_name"],
sid=api_data.iloc[0]["sid"],
sub_basin=api_data.iloc[0]["sub_basin"],
sat_mission=api_data.iloc[0]["mission"],
acq_time=pd.to_datetime(api_data.iloc[0]["acquisition_start_time"]))
#save_center_plot(path, sat_file, eye_dict["lon"], eye_dict["lat"], eye_dict["windspd_eye_masked"],
# eye_dict["cm_cyc"], eye_dict["lons_eye_shape"], eye_dict["lats_eye_shape"],
# eye_dict["lon_eye"], eye_dict["lat_eye"],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment