Skip to content

Commit

Permalink
Remove non-significant whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Sbozzolo committed Aug 29, 2024
1 parent e77641d commit 52416ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Var.jl
Original file line number Diff line number Diff line change
Expand Up @@ -477,14 +477,14 @@ If not available, return an empty string.
function dim_units(var::OutputVar, dim_name)
!haskey(var.dims, dim_name) &&
error("Var does not have dimension $dim_name, found $(keys(var.dims))")
# Double get because var.dim_attributes is a dictionry whose values are dictionaries
# Double get because var.dim_attributes is a dictionry whose values are dictionaries
get(get(var.dim_attributes, dim_name, Dict()), "units", "")
end

"""
range_dim(var::OutputVar, dim_name)
Return the range of the dimension `dim_name` in `var`.
Return the range of the dimension `dim_name` in `var`.
Range here is a tuple with the minimum and maximum of `dim_name`.
"""
Expand All @@ -500,7 +500,7 @@ end
_update_long_name_average!(reduced_var::OutputVar, var::OutputVar, dim_name)
Used by averaging functions to update the long name of `reduced_var` by describing what the
average is being taken over and the associated units.
average is being taken over and the associated units.
"""
function _update_long_name_average!(
reduced_var::OutputVar,
Expand Down

0 comments on commit 52416ea

Please sign in to comment.