Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New release for some libraries #1935

Merged
merged 1 commit into from
Aug 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/ClimaCorePlots/Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "ClimaCorePlots"
uuid = "cf7c7e5a-b407-4c48-9047-11a94a308626"
authors = ["CliMA Contributors <[email protected]>"]
version = "0.2.10"
version = "0.2.11"

[deps]
ClimaComms = "3a4d1b5c-c61d-41fd-a00a-5873ba7a1b0d"
Expand Down
4 changes: 3 additions & 1 deletion lib/ClimaCorePlots/src/ClimaCorePlots.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ import RecipesBase
import TriplotBase

import ClimaComms
import ClimaCore.DataLayouts: slab_index
# Keep in sync with definition(s) in ClimaCore.DataLayouts.
@inline slab_index(i, j) = CartesianIndex(i, j, 1, 1, 1)
@inline slab_index(i) = CartesianIndex(i, 1, 1, 1, 1)
import ClimaCore:
ClimaCore,
DataLayouts,
Expand Down
2 changes: 1 addition & 1 deletion lib/ClimaCoreTempestRemap/Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "ClimaCoreTempestRemap"
uuid = "d934ef94-cdd4-4710-83d6-720549644b70"
authors = ["CliMA Contributors <[email protected]>"]
version = "0.3.15"
version = "0.3.16"

[deps]
ClimaComms = "3a4d1b5c-c61d-41fd-a00a-5873ba7a1b0d"
Expand Down
4 changes: 4 additions & 0 deletions lib/ClimaCoreTempestRemap/src/ClimaCoreTempestRemap.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ module ClimaCoreTempestRemap
export write_exodus, rll_mesh, overlap_mesh, remap_weights, apply_remap
export def_time_coord, def_space_coord

# Keep in sync with definition in DataLayouts.
@inline slab_index(i, j) = CartesianIndex(i, j, 1, 1, 1)
@inline slab_index(i) = CartesianIndex(i, 1, 1, 1, 1)
@inline vindex(v) = CartesianIndex(1, 1, 1, v, 1)

using ClimaComms
import ClimaCore
Expand Down
5 changes: 4 additions & 1 deletion lib/ClimaCoreTempestRemap/src/netcdf.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import CommonDataModel
import ClimaCore: slab, column
import ClimaCore.DataLayouts: slab_index
# Keep in sync with definition(s) in ClimaCore.DataLayouts.
@inline slab_index(i, j) = CartesianIndex(i, j, 1, 1, 1)
@inline slab_index(i) = CartesianIndex(i, 1, 1, 1, 1)


"""
def_time_coord(nc::NCDataset, length=Inf, eltype=Float64;
Expand Down
1 change: 1 addition & 0 deletions src/DataLayouts/DataLayouts.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1276,6 +1276,7 @@ type parameters.
@inline union_all(::Type{<:IH1JH2}) = IH1JH2
@inline union_all(::Type{<:IV1JH2}) = IV1JH2

# Keep in sync with definition(s) in libs.
@inline slab_index(i, j) = CartesianIndex(i, j, 1, 1, 1)
@inline slab_index(i) = CartesianIndex(i, 1, 1, 1, 1)
@inline vindex(v) = CartesianIndex(1, 1, 1, v, 1)
Expand Down
Loading