Skip to content

Commit

Permalink
Add compat for NCDatasets.
Browse files Browse the repository at this point in the history
NCDatasets v0.13.0 seems to have introduced some behavioral changes,
breaking some tests. Compat entry restricts the version of NDDatasets
used till appropriate updates can be made to codebase.
  • Loading branch information
sriharshakandala committed Oct 17, 2023
1 parent 1eb05e6 commit c135293
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions examples/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ RRTMGP = "a01a1ee8-cea4-48fc-987c-fc7878d79da1"
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
Suppressor = "fd094767-a336-5f1f-9728-57cf17d0bbfb"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[compat]
NCDatasets = "=0.12.17"
3 changes: 3 additions & 0 deletions gpuenv/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@ RRTMGP = "a01a1ee8-cea4-48fc-987c-fc7878d79da1"
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
Suppressor = "fd094767-a336-5f1f-9728-57cf17d0bbfb"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[compat]
NCDatasets = "=0.12.17"
2 changes: 1 addition & 1 deletion src/optics/LookUpTables.jl
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ function LookUpLW(ds, ::Type{FT}, ::Type{DA}) where {FT <: AbstractFloat, DA}
end
end

key_species = IA3D(Int.(key_species))
key_species = IA3D(key_species)

kmajor = FTA4D(ds["kmajor"][:])
kminor_lower = FTA3D(ds["kminor_lower"][:])
Expand Down
3 changes: 3 additions & 0 deletions test/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@ Profile = "9abbd945-dff8-562f-b5e8-e1ebf5ef1b79"
RRTMGP = "a01a1ee8-cea4-48fc-987c-fc7878d79da1"
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[compat]
NCDatasets = "=0.12.17"

0 comments on commit c135293

Please sign in to comment.