[GRASS-dev] [GRASS GIS] #3027: i.atcorr's create_iwave.py broken
GRASS GIS
trac at osgeo.org
Thu Sep 8 07:12:39 PDT 2016
#3027: i.atcorr's create_iwave.py broken
----------------------+---------------------------------
Reporter: neteler | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.5
Component: Imagery | Version: svn-releasebranch70
Resolution: | Keywords: i.atcorr
CPU: x86-64 | Platform: All
----------------------+---------------------------------
Comment (by neteler):
ok cleanup helped :)
{{{
cd imagery/i.atcorr/
rm -f create_iwave.py
svn up
wget https://trac.osgeo.org/grass/raw-
attachment/ticket/3027/create_iwave_patch.diff
dos2unix create_iwave_patch.diff
patch -p0 -i create_iwave_patch.diff
# test
python create_iwave.py sensors_csv/landsat_8.csv
> Getting sensor name from csv file: landsat_8
> Number of bands found: 9
> Filter functions exported to landsat_8_cpp_template.txt
> Please check file for possible errors before inserting into IWave.cpp
> Don't forget to add the necessary data to IWave.h
# perfect.
# run on all files:
for i in `ls sensors_csv/*.csv` ; do python create_iwave.py $i ; done
}}}
Perhaps all sensors should be regenerated and compared to the current
content in iwave.cpp/iwave.h.
'''Wish''': also generate the HTML snippet and iwave.h code as a by-
product.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3027#comment:12>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list