Skip to content

Commit

Permalink
SWMT with MOM5 and MOM examples and corrections, v2
Browse files Browse the repository at this point in the history
  • Loading branch information
Wilton Filho committed Aug 15, 2024
1 parent e97fa4f commit ab2610a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Examples/Surface_Water_Mass_Transformation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1409,10 +1409,10 @@
"metadata": {},
"outputs": [],
"source": [
"swmt_shelf, shelf_mask = shelf_mask_isobath(swmt,model_dict)\n",
"heat_shelf, shelf_mask = shelf_mask_isobath(heat,model_dict)\n",
"salt_shelf, shelf_mask = shelf_mask_isobath(salt,model_dict)\n",
"area_t_shelf, shelf_mask = shelf_mask_isobath(area_t,model_dict)\n",
"swmt_shelf, shelf_mask = shelf_mask_isobath(swmt, model_dict)\n",
"heat_shelf, shelf_mask = shelf_mask_isobath(heat, model_dict)\n",
"salt_shelf, shelf_mask = shelf_mask_isobath(salt, model_dict)\n",
"area_t_shelf, shelf_mask = shelf_mask_isobath(area_t, model_dict)\n",
"swmt_shelf_sum = (swmt_shelf * area_t_shelf / 1e6).sum([shelf_mask.cf['longitude'].name, shelf_mask.cf['latitude'].name]).values\n",
"heat_shelf_sum = (heat_shelf * area_t_shelf / 1e6).sum([shelf_mask.cf['longitude'].name, shelf_mask.cf['latitude'].name]).values\n",
"salt_shelf_sum = (salt_shelf * area_t_shelf / 1e6).sum([shelf_mask.cf['longitude'].name, shelf_mask.cf['latitude'].name]).values"
Expand Down

0 comments on commit ab2610a

Please sign in to comment.