yumorishita / LiCSBAS2

GNU General Public License v3.0
26 stars 4 forks source link

invalid value encountered in cast cc = cc.astype(np.uint8) ##nan->0, max255, auto-floored #20

Open yumorishita opened 1 year ago

yumorishita commented 1 year ago
LiCSBAS02_ml_prep.py ver1.7.4 20201119 Y. Morishita
LiCSBAS02_ml_prep.py -i GEOC -n 10

Create E.geo
  E.geo created

Create N.geo
  N.geo created

Create U.geo
  U.geo created

Create slc.mli
  slc.mli[.png] created

Create hgt
  hgt[.png] created

Create unw and cc
  6 parallel processing...
    0/ 39th IFG...
   10/ 39th IFG...
/home/morishita/software/LiCSBAS2/bin/LiCSBAS02_ml_prep.py:440: RuntimeWarning: invalid value encountered in cast
  cc = cc.astype(np.uint8) ##nan->0, max255, auto-floored
/home/morishita/software/LiCSBAS2/bin/LiCSBAS02_ml_prep.py:440: RuntimeWarning: invalid value encountered in cast
  cc = cc.astype(np.uint8) ##nan->0, max255, auto-floored
/home/morishita/software/LiCSBAS2/bin/LiCSBAS02_ml_prep.py:440: RuntimeWarning: invalid value encountered in cast
  cc = cc.astype(np.uint8) ##nan->0, max255, auto-floored
HamedAmirkhani1378 commented 1 year ago

Hello I also received this comment in step 2. Is this a bug and will it cause problems in further processing?

yumorishita commented 1 year ago

This is just a warning and should cause no problem in further processing. I will fix this warning later.