Commit 54bb82e7 authored by CEVAER's avatar CEVAER
Browse files

Fix inversion between wind and rad

parent be3693c7
......@@ -109,8 +109,8 @@ def save_netcdf(sat_file, path, center_status, percent_outside, percent_inside_i
radii_nmi = []
for w in wind_vals:
wind_r, radius_w = radius_for_wind(wind_mean, w, idx_max)
radii.append(wind_r)
radii_nmi.append(wind_r * 0.000539957)
radii.append(radius_w)
radii_nmi.append(radius_w * 0.000539957)
ds_polar_north[f"radii_ms_{quad}"] = xr.DataArray(data=[vmax, rmax, radii[0], radii[1], radii[2]], attrs={
"long_name": f"Vmax, Rmax, R64, R50, R34 for {quad} quadrant(s) wind speed mean.",
......
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