Skip to content

Commit 29f15d8

Browse files
committed
lat-lon rebuild piece by piece
1 parent ba7306c commit 29f15d8

1 file changed

Lines changed: 29 additions & 5 deletions

File tree

Tutorials_as_Jupyter_Notebooks/ECCO_v4_Interpolating_to_latlon.ipynb

Lines changed: 29 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,39 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"# ECCOv4 Loading llc binary files in the 'compact' format\n",
7+
"# Interpolating fields from the model llc grid to lat-lon\n",
88
"\n",
9-
"## Objective\n",
9+
"## Objectives\n",
10+
"\n",
11+
"1. Learn how to interpolate scalar and vector fields from ECCOv4's lat-lon-cap 90 (llc90) model grid to the more common regular latitude-longitude grid. \n",
12+
"\n",
13+
"2. Learn how to save these interpolated fields as netCDF for later analysis \n",
14+
"\n"
15+
]
16+
},
17+
{
18+
"cell_type": "markdown",
19+
"metadata": {},
20+
"source": [
21+
"## Introduction\n",
22+
"\n",
23+
"Recall the orientations of the 13 tiles of the ECCOv4 native llc90 model grid.\n",
24+
"\n",
25+
"![llc90 tile layout](../figures/llc90_0.png)\n",
26+
"\n",
27+
"Tiles 7-12 are rotated 90 degrees counter-clockwise relative to tiles 0-5.\n",
28+
"\n",
29+
"In this tutorial we demonstrate two methods for mapping scalar and vector fields from the llc90 model grid to \"regular\" latitude-longitude grids of arbitrary resolution. \n",
30+
"\n",
31+
"> **Note:** *There are many methods on can use to map between the grids (e.g., nearest neighbor, bilinear interpolation, bin-averaging, etc.), each with its own advantages and disadvantages.)*\n",
32+
"\n",
33+
"## How to interpolate scalar ECCO fields to a lat-lon grid\n",
1034
"\n",
11-
"To teach how to loading ECCO binary files written by the MITgcm in the llc 'compact' format. \n",
35+
"Scalar fields are the most straightforward fields to interpolate.\n",
1236
"\n",
13-
"## Introduciton\n",
37+
"### Preliminaries: Load fields\n",
1438
"\n",
15-
"When the MITgcm saves diagnostic and other fields to files it does so using the so-called 'compact' format. The compact format distributes the arrays from the 13 lat-lon-cap tiles in a somewhat unintuitive manner. Fortunately, it is not difficult to extract the 13 tiles from 'compact' format files. This tutorial will show you how to use the 'read_llc_to_tiles' subroutine to read and re-organize MITgcm's files written in compact format into a more familiar 13-tile layout."
39+
"First, let's load the all 13 tiles for sea surface height and the model grid parameters."
1640
]
1741
},
1842
{

0 commit comments

Comments
 (0)