Skip to content

Commit 70bd0af

Browse files
add using DataStructures
1 parent 9e28256 commit 70bd0af

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/dimension.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dimnames(ds::Union{AbstractDataset,AbstractVariable}) = ()
1212
1313
Return the length of the dimension `dimname` in the data set `ds`.
1414
"""
15-
function dim(v::AbstractVariable,name::AbstractString)
15+
function dim(v::AbstractVariable,dimname::AbstractString)
1616
if !(dimname in dimnames(v))
1717
error("$dimname is not among the dimensions of $(name(v))")
1818
end

test/test_conversion.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import NCDatasets
22
import GRIBDatasets
33
import CommonDataModel as CDM
44
using Test
5-
using OrderedDict
5+
using DataStructures
66

77
datadir = joinpath(dirname(pathof(GRIBDatasets)),"..","test","sample-data")
88
filename = joinpath(datadir,"era5-levels-members.grib")

0 commit comments

Comments
 (0)