Commit 8cde4f03 authored by CEVAER's avatar CEVAER
Browse files

Fixed bug creating research contour in analysis_product.py

parent b3b00d6c
......@@ -92,7 +92,7 @@ def save_netcdf(sat_file, path, center_status, percent_outside, percent_inside_i
lon_hwind, lat_hwind = research_contour(msk_hwind, lon_algo, lat_algo)
hwind_contour_coords = []
for c_i in range(0, len(lon_lwind)):
for c_i in range(0, len(lon_hwind)):
hwind_contour_coords.append((lon_hwind[c_i], lat_hwind[c_i]))
hwind_contour = LineString(hwind_contour_coords)
ds_polar_north["high_wind_research"] = xr.DataArray(data=hwind_contour.wkt,
......
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