Commit fe425adb authored by CEVAER's avatar CEVAER
Browse files

Removed plot generation from TC analysis process

parent 120fa6a9
......@@ -251,16 +251,16 @@ def find_center_plot_save(path, sat_file, resolution, path_fix, netcdf_path, api
else:
logger.info("Saving plot...")
p = create_control_plot(sat_file, eye_dict["lon"], eye_dict["lat"],
eye_dict["lons_eye_shape"], eye_dict["lats_eye_shape"],
eye_dict["lon_eye"], eye_dict["lat_eye"],
eye_dict["lon_eye_old"], eye_dict["lat_eye_old"],
eye_dict["lon_eye_fg"], eye_dict["lat_eye_fg"], eye_dict["lon_eye_hwnd"],
eye_dict["lat_eye_hwnd"], eye_dict["i_hwind"], eye_dict["j_hwind"], eye_dict["msk_lwind"],
eye_dict["msk_hwind"], api_data.iloc[0]["cyclone_name"],
api_data.iloc[0]["vmax (m/s)"], track_gdf)
save_plot(sat_file, path, p, prepend="control")
#p = create_control_plot(sat_file, eye_dict["lon"], eye_dict["lat"],
# eye_dict["lons_eye_shape"], eye_dict["lats_eye_shape"],
# eye_dict["lon_eye"], eye_dict["lat_eye"],
# eye_dict["lon_eye_old"], eye_dict["lat_eye_old"],
# eye_dict["lon_eye_fg"], eye_dict["lat_eye_fg"], eye_dict["lon_eye_hwnd"],
# eye_dict["lat_eye_hwnd"], eye_dict["i_hwind"], eye_dict["j_hwind"], eye_dict["msk_lwind"],
# eye_dict["msk_hwind"], api_data.iloc[0]["cyclone_name"],
# 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,
......
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