Commit 7a2e8df5 authored by CEVAER's avatar CEVAER
Browse files

Fix distance_to_coast variable

parent 98e742bd
......@@ -60,7 +60,7 @@ def save_netcdf(sat_file, path, center_status, percent_outside, percent_inside_i
"flag_meanings": "inside: track point is inside "
"satellite acquisition. outside : track"
" point is outside acquisition."})
ds_polar_north["track_point_flag"] = xr.DataArray(data=distance_to_coast,
ds_polar_north["distance_to_coast"] = xr.DataArray(data=distance_to_coast,
attrs={"long_name": "Distance of track point to nearest coast",
"units": "meters"})
ds_polar_north["percent_outside"] = xr.DataArray(data=percent_outside,
......
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