Skip to content

Commit

Permalink
fix grid_mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaqz committed Mar 23, 2024
1 parent 23a9e69 commit 013252c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sources/commondatamodel.jl
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ function _layermetadata(ds::AbstractDataset; layers)
map(layers.attrs) do attr
md = _metadatadict(_sourcetype(ds), attr)
if haskey(attr, "grid_mapping")
md["grid_mapping"] = Dict(attr["grid_mapping"])
md["grid_mapping"] = Dict(CDM.attribs(ds[attr["grid_mapping"]]))
end
md
end
Expand Down

0 comments on commit 013252c

Please sign in to comment.