[GRASS-user] i.sentinel.import imports empty maps

Hi all,

I’m using i.sentinel.import with -r flag to import sentinel scenes into a latlong location. No matter if I use, extent=region or extent=input, I get empty maps imported.

Estimated target resolution for input band
<T21JYM_20200126T134201_B8A_20m>: 0.00018570053194443554
Using given resolution for input band <T21JYM_20200126T134201_B8A_20m>:
20.0
Reprojecting <T21JYM_20200126T134201_B8A_20m>…
ERROR: The reprojected raster <T21JYM_20200126T134201_B8A_20m> is empty

Meanwhile a normal r.import with input and output, imports the map properly. Is it possible that i.sentinel.import tries to set a 20 resolution also in a lat long location???That would be degrees then, and hence the empty maps…

BTW, I noted that grass-addons repo does not have the issues activated. With trac closed for new tickets, I think it is necessary to activate issues in grass-addons too

Thanks much in advance

Vero

Suspicion confirmed, this was a map imported with i.sentinel.import in latlong location. It forces a resolution of 20 degrees, instead of the equivalent of 20m in degrees

GRASS 7.9.dev (latlong_wgs84):~ > r.info T21JYM_20200126T134201_B11_20m
±---------------------------------------------------------------------------+
| Map: T21JYM_20200126T134201_B11_20 Date: Wed Jan 29 11:09:18 2020 |
| Mapset: sentinel2 Login of Creator: vandreo |
| Location: latlong_wgs84 |
| DataBase: /home/vandreo/grassdata |
| Title: |

Timestamp: 26 Jan 2020 13:49:32.751425
Type of Map: raster Number of Categories: 0
Data Type: FCELL
Rows: 1
Columns: 1
Total Cells: 1
Projection: Latitud - Longitud.
N: 20S S: 40S Res: 20
E: 40W W: 60W Res: 20
Range of data: min = NULL max = NULL
Data Description:
generado por r.proj
Comments:
r.proj --quiet location=“temp_import_location_97485” mapset="PERMANE\
NT" input=“T21JYM_20200126T134201_B11_20m” method=“bilinear” memory=\
500 resolution=20.0
±---------------------------------------------------------------------------+

El mié., 29 ene. 2020 a las 11:20, Veronica Andreo (<veroandreo@gmail.com>) escribió:

Hi all,

I’m using i.sentinel.import with -r flag to import sentinel scenes into a latlong location. No matter if I use, extent=region or extent=input, I get empty maps imported.

Estimated target resolution for input band
<T21JYM_20200126T134201_B8A_20m>: 0.00018570053194443554
Using given resolution for input band <T21JYM_20200126T134201_B8A_20m>:
20.0
Reprojecting <T21JYM_20200126T134201_B8A_20m>…
ERROR: The reprojected raster <T21JYM_20200126T134201_B8A_20m> is empty

Meanwhile a normal r.import with input and output, imports the map properly. Is it possible that i.sentinel.import tries to set a 20 resolution also in a lat long location???That would be degrees then, and hence the empty maps…

BTW, I noted that grass-addons repo does not have the issues activated. With trac closed for new tickets, I think it is necessary to activate issues in grass-addons too

Thanks much in advance

Vero

Same issue!

Veronica Andreo <veroandreo@gmail.com> escreveu no dia quarta, 29/01/2020 à(s) 14:31:

···

Cumprimentos,
Valter Albino - Geógrafo Físico, M.Sc.

Modelação H&H / Riscos ambientais / OT&U

www.valteralbino.wixsite.com/hydrodynamics

Hi Vero,

On Wed, Jan 29, 2020 at 3:20 PM Veronica Andreo <veroandreo@gmail.com> wrote:
...

BTW, I noted that grass-addons repo does not have the issues activated. With trac closed for new tickets, I think it is necessary to activate issues in grass-addons too

Sorry for that, I have activated it now.

Please open a ticket at
https://github.com/OSGeo/grass-addons/issues

Best
Markus