Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
malmans2 committed Apr 10, 2024
1 parent 6cdb7e9 commit dff724c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions notebooks/wp5/satellite_sea_ice_type.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
" da_nersc = da_nersc.drop_vars([\"xc\", \"yc\"])\n",
"\n",
" # Fill variables\n",
" units = (\"$10^6$km$^2$\",)\n",
" units = \"$10^6$km$^2$\"\n",
" dataarrays = {}\n",
" dataarrays[\"mysi_extent\"] = compute_spatial_sum(da_cds, grid_cell_area)\n",
" dataarrays[\"mysi_extent\"].attrs = {\n",
Expand All @@ -181,7 +181,7 @@
" dataarrays[\"mysi_extent_age\"] = compute_spatial_sum(da_nersc, grid_cell_area)\n",
" dataarrays[\"mysi_extent_age\"].attrs = {\n",
" \"standard_name\": \"multi_year_sea_ice_extent_age\",\n",
" \"units\": \"$10^6$km$^2$\",\n",
" \"units\": units,\n",
" \"long_name\": \"Multi-year sea ice extent from NERSC sea ice age product\",\n",
" }\n",
"\n",
Expand All @@ -190,14 +190,14 @@
" dataarrays[\"mysi_extent_bias\"] = over - under\n",
" dataarrays[\"mysi_extent_bias\"].attrs = {\n",
" \"standard_name\": \"multi_year_sea_ice_extent_bias\",\n",
" \"units\": \"$10^6$km$^2$\",\n",
" \"units\": units,\n",
" \"long_name\": \"Multi-year sea ice extent bias\",\n",
" }\n",
"\n",
" dataarrays[\"iite\"] = over + under\n",
" dataarrays[\"iite\"].attrs = {\n",
" \"standard_name\": \"integrated_ice_type_error\",\n",
" \"units\": \"$10^6$km$^2$\",\n",
" \"units\": units,\n",
" \"long_name\": \"Integrated ice type error\",\n",
" }\n",
" return xr.Dataset(dataarrays)"
Expand Down

0 comments on commit dff724c

Please sign in to comment.