Skip to content

Commit

Permalink
add comments back
Browse files Browse the repository at this point in the history
  • Loading branch information
Courtney Peverley committed Feb 14, 2024
1 parent 81ef843 commit 076158c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/var_props.py
Original file line number Diff line number Diff line change
Expand Up @@ -975,6 +975,7 @@ def forward_transform(self, lvar_lname, rvar_lname, rvar_indices, lvar_indices,
"var2" (i.e., "vertical_layer_dimension" or
"vertical_interface_dimension").
"""
# Dimension transform (Indices handled externally)
rhs_term = f"{rvar_lname}({','.join(rvar_indices)})"
lhs_term = f"{lvar_lname}({','.join(lvar_indices)})"

Expand Down Expand Up @@ -1014,6 +1015,7 @@ def reverse_transform(self, lvar_lname, rvar_lname, rvar_indices, lvar_indices,
"var2" (i.e., "vertical_layer_dimension" or
"vertical_interface_dimension").
"""
# Dimension transforms (Indices handled externally)
lhs_term = f"{lvar_lname}({','.join(lvar_indices)})"
rhs_term = f"{rvar_lname}({','.join(rvar_indices)})"

Expand Down

0 comments on commit 076158c

Please sign in to comment.