Replies: 1 comment
-
I realized the issue by multiplying by units.second. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello there,
I am trying to drop the units:
diva=(mpcalc.divergence(u10m,v10m,dx=dxnam,dy=dynam))*100*(1000-sfcpnam)+omgv
but I am getting this error
DimensionalityError: Cannot convert from '1 / second' to 'dimensionless'
When I tried to separate it like this:
I get this error:
AttributeError: 'DataArray' object has no attribute 'magnitude'
Any help would be great.
Beta Was this translation helpful? Give feedback.
All reactions