Hi Celeste, On Thu, Mar 16, 2023 at 2:06 PM María Celeste Galizzi <[email protected]> wrote: > > Hi Markus! > > Yes, I installed the plugin with g.extension. > > I had already calculated those indices for that or other rasters.
Mhh - you wrote that you use GRASS GIS 7.8 (please consider to update!) but the error shows GRASS8 in the path: File "C:\Users\Cele\AppData\Roaming\GRASS8\addons\scripts\r.forestfrag.py", line 452, in <module> When using g.extension in GRASS GIS 7.8 it should fetch r.forestfrag from the grass7 branch in the addon repository. Best, Markus > Best, > > Celeste > > El mié, 15 mar 2023 a las 18:26, Markus Neteler (<[email protected]>) > escribió: >> >> Hi María Celeste, >> >> On Wed, Mar 15, 2023 at 3:24 PM María Celeste Galizzi >> <[email protected]> wrote: >> > >> > Mi nombre es Ma. Celeste Galizzi. >> > Estoy trabajando con imágenes Landsat 5 y 8. >> > >> > Hice las correcciones, apilado de bandas, kmeans y reclasificación. >> > >> > Sobre la imagen reclasificada es con la que estoy tratando de calcular los >> > índices de fragmentación en Grass gis 7.8 >> >> You are using GRASS GIS 7.8, but ... >> >> > Para ello importo la imagen raster, con la calculadora clasifico en >> > bosque-no bosque y uso r.forestfrag para calcular los indices (tamaño de >> > la ventana 15). >> > >> > En ese momento me aparece este mensaje >> > >> > WARNING: The window option is deprecated, use the option size instead >> > Traceback (most recent call last): >> > File "C:\Users\Cele\AppData\Roaming\GRASS8\addons\scripts\ >> >> ... seem to use the addon version for GRASS GIS 8 which may not be >> compatible. >> >> Did you install the addon with g.extension? >> >> Best, >> Markus >> >> > r.forestfrag.py", line 452, in <module> >> > sys.exit(main(*gs.parser())) >> > File "C:\Users\Cele\AppData\Roaming\GRASS8\addons\scripts\ >> > r.forestfrag.py", line 239, in main >> > _( >> > TypeError: %d format: a number is required, not NoneType >> > >> > >> > Ya había trabajo con la imagen con otros tamaños de ventana. >> > >> > Por favor, podrían ayudarme a solucionar el problema? >> > >> > Desde ya muchas gracias!!! >> > >> > Saludos cordiales >> > >> > Ma. Celeste Galizzi >> > ResponderReenviar >> > >> > _______________________________________________ >> > grass-user mailing list >> > [email protected] >> > https://lists.osgeo.org/mailman/listinfo/grass-user >> >> >> >> -- >> Markus Neteler, PhD >> https://www.mundialis.de - free data with free software >> https://grass.osgeo.org >> https://courses.neteler.org/blog -- Markus Neteler, PhD https://www.mundialis.de - free data with free software https://grass.osgeo.org https://courses.neteler.org/blog _______________________________________________ grass-user mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/grass-user
