|
94 | 94 |
|
95 | 95 | # ╔═╡ 4a3f3b75-1c75-4ce5-8e75-f4dd263199cd |
96 | 96 | let |
97 | | - γ=GridSpec("LatLonCap",MeshArrays.GRID_LLC90) |
| 97 | + γ=GridSpec(ID=:LLC90()) |
98 | 98 |
|
99 | 99 | a=fill(2.0,MeshArray(γ)) |
100 | 100 | aa=write(a) |
@@ -158,15 +158,15 @@ md"""## 2. Cube Sphere Grid |
158 | 158 |
|
159 | 159 | Now, let's instead use a grid that has 6 subdomains, 32x32 points each, covering the six faces of a cube. This _cube sphere_ grid has connections between subdomains that are slightly more complicated than in the first example. |
160 | 160 |
|
161 | | -Here, grid variables are read from the `MeshArrays.GRID_CS32` folder by the `GridLoad` function. The `GridSpec` function provides the corresponding subdomain sizes. Again we call `comp()` which combines steps 2 and 3, and `viz()` to visualize. |
| 161 | +Here, grid variables are read from the `GRID_CS32` folder by the `GridLoad` function. The `GridSpec` function provides the corresponding subdomain sizes. Again we call `comp()` which combines steps 2 and 3, and `viz()` to visualize. |
162 | 162 | """ |
163 | 163 |
|
164 | 164 | # ╔═╡ d37ae153-8646-44ae-abd9-7e0e7d479275 |
165 | 165 | md"""## 3. LLC90 grid |
166 | 166 |
|
167 | 167 | The [Lat-Lon-Cap grid](http://www.geosci-model-dev.net/8/3071/2015/) (or LLC) is a global ocean model grid which is widely used in the [MITgcm user community](https://mitgcm.readthedocs.io/en/latest/). It has 5 uneven subdomains, variable grid spacing, and continents [(Forget et al 2015)](http://www.geosci-model-dev.net/8/3071/2015/). LLC90's resolution is one degree albeit with modications in the Arctic and along the Equator. |
168 | 168 |
|
169 | | -Here, grid variables are read from the `MeshArrays.GRID_LLC90` folder by the `GridLoad` function. The `GridSpec` function provides the corresponding subdomain sizes. Again we call `comp()` which combines steps 2 and 3, and `viz()` to visualize. |
| 169 | +Here, grid variables are read from the `GRID_LLC90` folder by the `GridLoad` function. The `GridSpec` function provides the corresponding subdomain sizes. Again we call `comp()` which combines steps 2 and 3, and `viz()` to visualize. |
170 | 170 | """ |
171 | 171 |
|
172 | 172 | # ╔═╡ 0865dd0f-c43e-43a7-aa65-74aba4f4460d |
|
248 | 248 |
|
249 | 249 | # ╔═╡ dacc2261-1d75-4d68-b82c-174e4fae3631 |
250 | 250 | begin |
251 | | - γ_b=GridSpec("CubeSphere",MeshArrays.GRID_CS32) |
| 251 | + γ_b=GridSpec("CubeSphere",MeshArrays.Dataset("GRID_CS32")) |
252 | 252 | Γ_b=GridLoad(γ_b;option="full") |
253 | 253 |
|
254 | 254 | Rini_b,Rend_b=smoothing_example(Γ_b) |
|
265 | 265 |
|
266 | 266 | # ╔═╡ 23198b8d-6bf0-4af9-91d0-7886c9574f81 |
267 | 267 | begin |
268 | | - γ_c=GridSpec("LatLonCap",MeshArrays.GRID_LLC90) |
| 268 | + γ_c=GridSpec(ID=:LLC90) |
269 | 269 | Γ_c=GridLoad(γ_c;option="full") |
270 | 270 | Rini_c,Rend_c=smoothing_example(Γ_c) |
271 | 271 | PlutoUI.with_terminal() do |
@@ -777,18 +777,36 @@ git-tree-sha1 = "7a214fdac5ed5f59a22c2d9a885a16da1c74bbc7" |
777 | 777 | uuid = "559328eb-81f9-559d-9380-de523a88c83c" |
778 | 778 | version = "1.0.17+0" |
779 | 779 |
|
| 780 | +[[deps.GeoFormatTypes]] |
| 781 | +git-tree-sha1 = "7528a7956248c723d01a0a9b0447bf254bf4da52" |
| 782 | +uuid = "68eda718-8dee-11e9-39e7-89f7f65f511f" |
| 783 | +version = "0.4.5" |
| 784 | +
|
| 785 | +[[deps.GeoInterface]] |
| 786 | +deps = ["DataAPI", "Extents", "GeoFormatTypes"] |
| 787 | +git-tree-sha1 = "b7c5cdf45298877bb683bdda3f871ff7070985c4" |
| 788 | +uuid = "cf35fbd7-0cd7-5166-be24-54bfbe79505f" |
| 789 | +version = "1.6.0" |
| 790 | +
|
| 791 | + [deps.GeoInterface.extensions] |
| 792 | + GeoInterfaceMakieExt = ["Makie", "GeometryBasics"] |
| 793 | + GeoInterfaceRecipesBaseExt = "RecipesBase" |
| 794 | +
|
| 795 | + [deps.GeoInterface.weakdeps] |
| 796 | + GeometryBasics = "5c1252a2-5f33-56bf-86c9-59e7332b4326" |
| 797 | + Makie = "ee78f7c6-11fb-53f2-987a-cfe4a2b5a57a" |
| 798 | + RecipesBase = "3cdcf5f2-1ef4-517c-9805-6587b60abb01" |
| 799 | +
|
780 | 800 | [[deps.GeometryBasics]] |
781 | 801 | deps = ["EarCut_jll", "Extents", "IterTools", "LinearAlgebra", "PrecompileTools", "Random", "StaticArrays"] |
782 | 802 | git-tree-sha1 = "1f5a80f4ed9f5a4aada88fc2db456e637676414b" |
783 | 803 | uuid = "5c1252a2-5f33-56bf-86c9-59e7332b4326" |
784 | 804 | version = "0.5.10" |
| 805 | +weakdeps = ["GeoInterface"] |
785 | 806 |
|
786 | 807 | [deps.GeometryBasics.extensions] |
787 | 808 | GeometryBasicsGeoInterfaceExt = "GeoInterface" |
788 | 809 |
|
789 | | - [deps.GeometryBasics.weakdeps] |
790 | | - GeoInterface = "cf35fbd7-0cd7-5166-be24-54bfbe79505f" |
791 | | -
|
792 | 810 | [[deps.GettextRuntime_jll]] |
793 | 811 | deps = ["Artifacts", "CompilerSupportLibraries_jll", "JLLWrappers", "Libdl", "Libiconv_jll"] |
794 | 812 | git-tree-sha1 = "45288942190db7c5f760f59c04495064eedf9340" |
@@ -1221,10 +1239,10 @@ uuid = "0a4f8689-d25c-4efe-a92b-7142dfc1aa53" |
1221 | 1239 | version = "0.6.7" |
1222 | 1240 |
|
1223 | 1241 | [[deps.MeshArrays]] |
1224 | | -deps = ["CatViews", "Dates", "Distributed", "Glob", "LazyArtifacts", "NearestNeighbors", "Pkg", "Printf", "SharedArrays", "SparseArrays", "Statistics", "Unitful"] |
1225 | | -git-tree-sha1 = "3ea2dc9aaaa4f4aa8799d568a4fef5abcfd2b7bf" |
| 1242 | +deps = ["CatViews", "Dates", "Distributed", "GeoInterface", "Glob", "LazyArtifacts", "NearestNeighbors", "Pkg", "Printf", "SharedArrays", "SparseArrays", "Statistics", "Unitful"] |
| 1243 | +git-tree-sha1 = "bc4820b8c8648fc0d60503562a6acae0aeef312d" |
1226 | 1244 | uuid = "cb8c808f-1acf-59a3-9d2b-6e38d009f683" |
1227 | | -version = "0.3.24" |
| 1245 | +version = "0.4.0" |
1228 | 1246 |
|
1229 | 1247 | [deps.MeshArrays.extensions] |
1230 | 1248 | MeshArraysDataDepsExt = ["DataDeps"] |
|
0 commit comments