diff --git a/hoss/dimension_utilities.py b/hoss/dimension_utilities.py index 22c357f..f537850 100644 --- a/hoss/dimension_utilities.py +++ b/hoss/dimension_utilities.py @@ -118,13 +118,12 @@ def get_override_projected_dimension_name( """ override_variable = varinfo.get_variable(variable_name) + projected_dimension_name = None if override_variable is not None: if override_variable.is_latitude(): projected_dimension_name = 'projected_y' elif override_variable.is_longitude(): projected_dimension_name = 'projected_x' - else: - projected_dimension_name = None return projected_dimension_name