Skip to content

Commit

Permalink
related with UVZ u1u2u3
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas-Ulrich committed May 6, 2022
1 parent 08c21c9 commit b6e4d19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/io/netcdf.jl
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ module NC

# `var_name` is a name of an INPUT variable. Thus, we can know which units should be assigned.
function get_units(var_name:: String)
if match(r"[uvw]", var_name) !== nothing
if match(r"[v]", var_name) !== nothing
return vel_atts
elseif match(r"[UVW]", var_name) !== nothing
elseif match(r"[u]", var_name) !== nothing
return dist_atts
else
return no_atts
Expand Down

0 comments on commit b6e4d19

Please sign in to comment.