Open Dani-Lindsay opened 2 years ago
In share/isce2/alosStack/create_cmds.py
share/isce2/alosStack/create_cmds.py
Line 116 original if (sdate not in dates) or (mdate not in dates):
if (sdate not in dates) or (mdate not in dates):
Fixed to if (sdate not in dates) or (rdate not in dates):
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.
cmd_3.sh
alosStack/ion_check.py
I first installed package with conda (conda install -c conda-forge imagemagick) then fixed to specify a default font.
conda install -c conda-forge imagemagick
Line 106 in alosStack/ion_check.py From runCmd("montage -pointsize {} -label 'original' {} -label 'ionosphere' {} -label 'corrected' {} -geometry +{} -compress LZW{} {}.tif".format(
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(
runCmd("montage -font DejaVu-Sans -pointsize {} -label 'original' {} -label 'ionosphere' {} -label 'corrected' {} -geometry +{} -compress LZW{} {}.tif".format(
Hope this is helpful! :)
Thanks, Dani! Do you know how to send these changes as a Pull Request to the ISCE2 repository?
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 duringalosStack/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
FromrunCmd("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! :)