Skip to content

Commit f7eb5f2

Browse files
Merge pull request #1935 from CliMA/ck/lib_release
New release for some libraries
2 parents 230d4a2 + 1783368 commit f7eb5f2

File tree

6 files changed

+14
-4
lines changed

6 files changed

+14
-4
lines changed

lib/ClimaCorePlots/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "ClimaCorePlots"
22
uuid = "cf7c7e5a-b407-4c48-9047-11a94a308626"
33
authors = ["CliMA Contributors <clima-software@caltech.edu>"]
4-
version = "0.2.10"
4+
version = "0.2.11"
55

66
[deps]
77
ClimaComms = "3a4d1b5c-c61d-41fd-a00a-5873ba7a1b0d"

lib/ClimaCorePlots/src/ClimaCorePlots.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ import RecipesBase
44
import TriplotBase
55

66
import ClimaComms
7-
import ClimaCore.DataLayouts: slab_index
7+
# Keep in sync with definition(s) in ClimaCore.DataLayouts.
8+
@inline slab_index(i, j) = CartesianIndex(i, j, 1, 1, 1)
9+
@inline slab_index(i) = CartesianIndex(i, 1, 1, 1, 1)
810
import ClimaCore:
911
ClimaCore,
1012
DataLayouts,

lib/ClimaCoreTempestRemap/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "ClimaCoreTempestRemap"
22
uuid = "d934ef94-cdd4-4710-83d6-720549644b70"
33
authors = ["CliMA Contributors <clima-software@caltech.edu>"]
4-
version = "0.3.15"
4+
version = "0.3.16"
55

66
[deps]
77
ClimaComms = "3a4d1b5c-c61d-41fd-a00a-5873ba7a1b0d"

lib/ClimaCoreTempestRemap/src/ClimaCoreTempestRemap.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ module ClimaCoreTempestRemap
33
export write_exodus, rll_mesh, overlap_mesh, remap_weights, apply_remap
44
export def_time_coord, def_space_coord
55

6+
# Keep in sync with definition in DataLayouts.
7+
@inline slab_index(i, j) = CartesianIndex(i, j, 1, 1, 1)
8+
@inline slab_index(i) = CartesianIndex(i, 1, 1, 1, 1)
9+
@inline vindex(v) = CartesianIndex(1, 1, 1, v, 1)
610

711
using ClimaComms
812
import ClimaCore

lib/ClimaCoreTempestRemap/src/netcdf.jl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
import CommonDataModel
22
import ClimaCore: slab, column
3-
import ClimaCore.DataLayouts: slab_index
3+
# Keep in sync with definition(s) in ClimaCore.DataLayouts.
4+
@inline slab_index(i, j) = CartesianIndex(i, j, 1, 1, 1)
5+
@inline slab_index(i) = CartesianIndex(i, 1, 1, 1, 1)
6+
47

58
"""
69
def_time_coord(nc::NCDataset, length=Inf, eltype=Float64;

src/DataLayouts/DataLayouts.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1276,6 +1276,7 @@ type parameters.
12761276
@inline union_all(::Type{<:IH1JH2}) = IH1JH2
12771277
@inline union_all(::Type{<:IV1JH2}) = IV1JH2
12781278

1279+
# Keep in sync with definition(s) in libs.
12791280
@inline slab_index(i, j) = CartesianIndex(i, j, 1, 1, 1)
12801281
@inline slab_index(i) = CartesianIndex(i, 1, 1, 1, 1)
12811282
@inline vindex(v) = CartesianIndex(1, 1, 1, v, 1)

0 commit comments

Comments
 (0)