Skip to content

Commit

Permalink
add name to data
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolejkeeney committed Jan 8, 2025
1 parent d40f63b commit 3bf4a6f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions climakitae/core/data_load.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down Expand Up @@ -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


Expand Down

0 comments on commit 3bf4a6f

Please sign in to comment.