mirror of
https://github.com/Unidata/python-awips.git
synced 2025-02-23 14:57:56 -05:00
use == instead of is
This commit is contained in:
parent
215bbc2815
commit
1df14e605b
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@
|
|||
"wpres = (wpres/100) * units.mbar\n",
|
||||
"u,v = wind_components(spd * units.knots, np.deg2rad(direc))\n",
|
||||
"\n",
|
||||
"if tpUnit is 'K':\n",
|
||||
"if tpUnit == 'K':\n",
|
||||
" T = (tpSig-273.15) * units.degC\n",
|
||||
" Td = (tdSig-273.15) * units.degC\n",
|
||||
" tman = tman * units.degC\n",
|
||||
|
|
Loading…
Add table
Reference in a new issue