use == instead of is

This commit is contained in:
srcarter3 2020-09-03 13:34:50 -06:00 committed by GitHub
parent 215bbc2815
commit 1df14e605b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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",