Skip to content

Commit

Permalink
pin eccodes_jll=2.36 and update variable names
Browse files Browse the repository at this point in the history
  • Loading branch information
tcarion authored Oct 14, 2024
1 parent 856353c commit 9271d20
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "GRIBDatasets"
uuid = "82be9cdb-ee19-4151-bdb3-b400788d9abc"
authors = ["tcarion <tristan.carion@gmail.com> and contributors"]
version = "0.3.3"
version = "0.4.0"

[deps]
CommonDataModel = "1fbeeb36-5f17-413c-809b-666fb144f157"
Expand All @@ -15,7 +15,7 @@ eccodes_jll = "b04048ba-5ccd-5610-b3f6-85129a548705"
CommonDataModel = "0.3.4"
DataStructures = "0.18"
DiskArrays = "0.3, 0.4"
eccodes_jll = "~2.28"
eccodes_jll = "~2.36"
GRIB = "0.3, 0.4"
julia = "1"

Expand Down
4 changes: 2 additions & 2 deletions test/dataset.jl
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,9 @@ using GRIBDatasets: CDM
u = ds2["u"]
@test u[:,:, 1, 1] isa AbstractArray{<:Any, 2}
@test_throws BoundsError u[:,:,1,2]
u10 = ds2["u10"]
u10 = ds2["avg_10u"]
@test GDS._dim_values(GDS._get_dim(u10, "heightAboveGround_2")) == [10]
t2m = ds2["t2m"]
t2m = ds2["mean2t"]
@test GDS._dim_values(GDS._get_dim(t2m, "heightAboveGround")) == [2]
end

Expand Down
2 changes: 1 addition & 1 deletion test/dimensions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ using Test

@test keys(vertdims) == ["hybrid", "heightAboveGround", "heightAboveGround_2"]

u10 = filter_messages(index, cfVarName = "u10")
u10 = filter_messages(index, cfVarName = "avg_10u")
indices = messages_indices(u10, _alldims(u10))

@test indices[1] == [1, 1]
Expand Down

0 comments on commit 9271d20

Please sign in to comment.