Skip to content

Commit

Permalink
Merge pull request #39 from JuliaGeo/isue35
Browse files Browse the repository at this point in the history
pin eccodes_jll=2.36 and update variable names
  • Loading branch information
tcarion authored Oct 14, 2024
2 parents 856353c + 9271d20 commit ea6cf66
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

2 comments on commit ea6cf66

@tcarion
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register

Release notes:

Breaking change

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/117247

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.4.0 -m "<description of version>" ea6cf66147fd4c930b5b7744e5e416285c76ada5
git push origin v0.4.0

Please sign in to comment.