isce-framework / isce2

InSAR Scientific Computing Environment version 2
Other
513 stars 252 forks source link

Bugs in alosStack #537

Open Dani-Lindsay opened 2 years ago

Dani-Lindsay commented 2 years ago

In share/isce2/alosStack/create_cmds.py

Line 116 original if (sdate not in dates) or (mdate not in dates):

Fixed to if (sdate not in dates) or (rdate not in dates):

Also cmd_3.sh fails during alosStack/ion_check.py because I didn't have imagemagick and the default fonts.

I first installed package with conda (conda install -c conda-forge imagemagick) then fixed to specify a default font.

Line 106 in alosStack/ion_check.py From runCmd("montage -pointsize {} -label 'original' {} -label 'ionosphere' {} -label 'corrected' {} -geometry +{} -compress LZW{} {}.tif".format(

Fixed to specify one of the default font. runCmd("montage -font DejaVu-Sans -pointsize {} -label 'original' {} -label 'ionosphere' {} -label 'corrected' {} -geometry +{} -compress LZW{} {}.tif".format(

Hope this is helpful! :)

EJFielding commented 2 years ago

Thanks, Dani! Do you know how to send these changes as a Pull Request to the ISCE2 repository?