[GRASS-dev] [GRASS GIS] #3979: G79: problem with i.sentinel.import and importer.write_metadata()
Stefan Blumentrath
Stefan.Blumentrath at nina.no
Wed Nov 20 14:06:57 PST 2019
Sorry, I am on it.
________________________________
Fra: grass-dev <grass-dev-bounces at lists.osgeo.org> på vegne av GRASS GIS <trac at osgeo.org>
Sendt: onsdag 20. november 2019 22:19
Kopi: grass-dev at lists.osgeo.org <grass-dev at lists.osgeo.org>
Emne: [GRASS-dev] [GRASS GIS] #3979: G79: problem with i.sentinel.import and importer.write_metadata()
#3979: G79: problem with i.sentinel.import and importer.write_metadata()
-------------------------------------------------+-------------------------
Reporter: neteler | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone:
Component: Imagery | Version: svn-trunk
Keywords: i.sentinel.import, image | CPU: Unspecified
collections |
Platform: Unspecified |
-------------------------------------------------+-------------------------
I was trying to import Sentinel-2 (S2-L1C) data into G78 in order to make
use of image collections:
{{{
i.sentinel.import input=/mnt/geodata/openeo_bolzano/
register_output=s2_t_register.csv
[...]
Processing <T32TPS_20180608T101021_B02>...
Importing raster map <T32TPS_20180608T101021_B02>...
100%
Processing <T32TPS_20180608T101021_B12>...
Importing raster map <T32TPS_20180608T101021_B12>...
100%
Processing <T32TPS_20180608T101021_B07>...
Importing raster map <T32TPS_20180608T101021_B07>...
100%
Processing <T32TPS_20180608T101021_B11>...
Importing raster map <T32TPS_20180608T101021_B11>...
100%
Processing <T32TPS_20180608T101021_B10>...
Importing raster map <T32TPS_20180608T101021_B10>...
100%
Processing <T32TPS_20180608T101021_B03>...
Importing raster map <T32TPS_20180608T101021_B03>...
100%
Writing metadata to maps...
Traceback (most recent call last):
File "/root/.grass7/addons/scripts/i.sentinel.import", line 504, in
<module>
sys.exit(main())
File "/root/.grass7/addons/scripts/i.sentinel.import", line 488, in main
importer.write_metadata()
File "/root/.grass7/addons/scripts/i.sentinel.import", line 407, in
write_metadata
meta = ip_meta[ip]
KeyError: 'S2B_MSIL1C_20180613T101019_N0206_R022_T32TPS_20180613T122213'
}}}
I am using a rasther fresh version:
{{{
g.version -rge
version=7.9.dev
date=2019
revision=exported
build_date=2019-11-19
build_platform=x86_64-pc-linux-gnu
build_off_t_size=8
libgis_revision=00000
libgis_date="?"
proj=4.9.3
gdal=2.2.3
geos=3.6.2
sqlite=3.22.0
}}}
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3979>
GRASS GIS <https://grass.osgeo.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20191120/a0c9694e/attachment-0001.html>
More information about the grass-dev
mailing list