From 3bf4a6f6d0d781d0255853d314311c35e660f188 Mon Sep 17 00:00:00 2001 From: nicolejkeeney Date: Wed, 8 Jan 2025 23:24:10 +0000 Subject: [PATCH] add name to data --- climakitae/core/data_load.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/climakitae/core/data_load.py b/climakitae/core/data_load.py index 9416bb74..754b803a 100644 --- a/climakitae/core/data_load.py +++ b/climakitae/core/data_load.py @@ -745,6 +745,9 @@ def _get_Uearth(selections): # Compute Uearth Uearth = u10_da * cosalpha - v10_da * sinalpha + # Add variable name + Uearth.name = selections.variable + return Uearth @@ -785,6 +788,9 @@ def _get_Vearth(selections): # Compute Uearth Vearth = v10_da * cosalpha + u10_da * sinalpha + # Add variable name + Vearth.name = selections.variable + return Vearth