<div dir="ltr">Thank you very much! <br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El mié, 22 mar 2023 a las 18:42, Markus Neteler (<<a href="mailto:neteler@osgeo.org">neteler@osgeo.org</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Celeste,<br>
<br>
On Thu, Mar 16, 2023 at 2:06 PM María Celeste Galizzi<br>
<<a href="mailto:celegalizzi@gmail.com" target="_blank">celegalizzi@gmail.com</a>> wrote:<br>
><br>
> Hi Markus!<br>
><br>
> Yes,  I installed the plugin with g.extension.<br>
><br>
> I had already calculated those indices for that or other rasters.<br>
<br>
Mhh - you wrote that you use GRASS GIS 7.8 (please consider to<br>
update!) but the error shows GRASS8 in the path:<br>
<br>
File "C:\Users\Cele\AppData\Roaming\GRASS8\addons\scripts\<a href="http://r.forestfrag.py" rel="noreferrer" target="_blank">r.forestfrag.py</a>",<br>
line 452, in <module><br>
<br>
When using g.extension in GRASS GIS 7.8 it should fetch r.forestfrag<br>
from the grass7 branch in the addon repository.<br>
<br>
Best,<br>
Markus<br>
<br>
> Best,<br>
><br>
> Celeste<br>
><br>
> El mié, 15 mar 2023 a las 18:26, Markus Neteler (<<a href="mailto:neteler@osgeo.org" target="_blank">neteler@osgeo.org</a>>) escribió:<br>
>><br>
>> Hi María Celeste,<br>
>><br>
>> On Wed, Mar 15, 2023 at 3:24 PM María Celeste Galizzi<br>
>> <<a href="mailto:celegalizzi@gmail.com" target="_blank">celegalizzi@gmail.com</a>> wrote:<br>
>> ><br>
>> > Mi nombre es Ma. Celeste Galizzi.<br>
>> > Estoy trabajando con imágenes Landsat 5 y 8.<br>
>> ><br>
>> > Hice las correcciones, apilado de bandas, kmeans y reclasificación.<br>
>> ><br>
>> > Sobre la imagen reclasificada es con la que estoy tratando de calcular los índices de fragmentación en Grass gis 7.8<br>
>><br>
>> You are using GRASS GIS 7.8, but ...<br>
>><br>
>> > 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).<br>
>> ><br>
>> > En ese momento me aparece este mensaje<br>
>> ><br>
>> > WARNING: The window option is deprecated, use the option size instead<br>
>> > Traceback (most recent call last):<br>
>> > File "C:\Users\Cele\AppData\Roaming\GRASS8\addons\scripts\<br>
>><br>
>> ... seem to use the addon version for GRASS GIS 8 which may not be compatible.<br>
>><br>
>> Did you install the addon with g.extension?<br>
>><br>
>> Best,<br>
>> Markus<br>
>><br>
>> > <a href="http://r.forestfrag.py" rel="noreferrer" target="_blank">r.forestfrag.py</a>", line 452, in <module><br>
>> > sys.exit(main(*gs.parser()))<br>
>> > File "C:\Users\Cele\AppData\Roaming\GRASS8\addons\scripts\<br>
>> > <a href="http://r.forestfrag.py" rel="noreferrer" target="_blank">r.forestfrag.py</a>", line 239, in main<br>
>> > _(<br>
>> > TypeError: %d format: a number is required, not NoneType<br>
>> ><br>
>> ><br>
>> > Ya había trabajo con la imagen con otros tamaños de ventana.<br>
>> ><br>
>> > Por favor, podrían ayudarme a solucionar el problema?<br>
>> ><br>
>> > Desde ya muchas gracias!!!<br>
>> ><br>
>> > Saludos cordiales<br>
>> ><br>
>> > Ma. Celeste Galizzi<br>
>> > ResponderReenviar<br>
>> ><br>
>> > _______________________________________________<br>
>> > grass-user mailing list<br>
>> > <a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a><br>
>> > <a href="https://lists.osgeo.org/mailman/listinfo/grass-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
>><br>
>><br>
>><br>
>> --<br>
>> Markus Neteler, PhD<br>
>> <a href="https://www.mundialis.de" rel="noreferrer" target="_blank">https://www.mundialis.de</a> - free data with free software<br>
>> <a href="https://grass.osgeo.org" rel="noreferrer" target="_blank">https://grass.osgeo.org</a><br>
>> <a href="https://courses.neteler.org/blog" rel="noreferrer" target="_blank">https://courses.neteler.org/blog</a><br>
<br>
<br>
<br>
-- <br>
Markus Neteler, PhD<br>
<a href="https://www.mundialis.de" rel="noreferrer" target="_blank">https://www.mundialis.de</a> - free data with free software<br>
<a href="https://grass.osgeo.org" rel="noreferrer" target="_blank">https://grass.osgeo.org</a><br>
<a href="https://courses.neteler.org/blog" rel="noreferrer" target="_blank">https://courses.neteler.org/blog</a><br>
</blockquote></div>