From 0a024c764b7cc7b0085bd6596ff0ccfe776650de Mon Sep 17 00:00:00 2001 From: Gabriele Bozzola Date: Wed, 28 Aug 2024 20:48:23 -0700 Subject: [PATCH] Remove non-significant whitespaces --- src/Var.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Var.jl b/src/Var.jl index 2427747..ec35844 100644 --- a/src/Var.jl +++ b/src/Var.jl @@ -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`. """ @@ -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,