Skip to content

Commit 7fef166

Browse files
committed
add ROI for Agulhas and Med Sea
1 parent b18681d commit 7fef166

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

hands-on/session III/3.Tutorial_PetascaleAnalysis.ipynb

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -578,8 +578,18 @@
578578
"plt.colorbar(axp, location='right')\n",
579579
"\n",
580580
"# Define the corners of the subregion of interest\n",
581-
"x1, x2 = 4500, 6000\n",
582-
"y1, y2 = 800, 1400\n",
581+
"\n",
582+
"# For Agulhas Current, we can use the following coordinates\n",
583+
"# These coordinates are approximate and can be adjusted based on the specific area of interest\n",
584+
"# x1, x2 are longitude coordinates (in pixels)\n",
585+
"# y1, y2 are latitude coordinates (in pixels)\n",
586+
"x1, x2 = 800, 2400\n",
587+
"y1, y2 = 2500, 3500\n",
588+
"\n",
589+
"# For Strait of Gibraltar, we can use the following coordinates:\n",
590+
"x1, x2 = 400, 1600\n",
591+
"y1, y2 = 4500, 5500\n",
592+
"\n",
583593
"\n",
584594
"# Draw a red rectangle around the selected region\n",
585595
"regionRect = plt.Rectangle(\n",
@@ -686,7 +696,7 @@
686696
"\n",
687697
"- Load the `eastwest_ocean_velocity_u` dataset \n",
688698
"- Select a specific **time step**, **resolution**, and **region** covering the Agulhas leakage area \n",
689-
"- Visualize the **east-west velocity component** of ocean currents \n",
699+
"- Visualize the **east-west velocity component** of ocean currents with proper colormap\n",
690700
"- Compute and report:\n",
691701
" - The **maximum and minimum velocity values**\n",
692702
" - The **structure of eddies** and current boundaries in the region\n",

0 commit comments

Comments
 (0)