more idiomatic use of var.ndim instead of len(var.dimensions)
more idiomatic use of var.ndim instead of len(var.dimensions)

joefutrelle/pocean-core,pyoceans/pocean-core,pyoceans/pocean-core,joefutrelle/pocean-core