<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi everyone!<div>I solved this generating a .tif file with the target SRC, and then reading their SCR from .tif file when the grass location is created. Then I import all the .tif files (-o flag is not activated) and finally t.rast.export works correctly. </div><div><br></div><div>Thanks you!!!<br><br><div>> From: lucadeluge@gmail.com<br>> Date: Thu, 9 Jun 2016 15:19:20 +0200<br>> Subject: Re: [GRASS-user] FW: Temporal + export<br>> To: veroandreo@gmail.com<br>> CC: matialecastillo@hotmail.com; grass-user@lists.osgeo.org<br>> <br>> On 13 May 2016 at 20:07, Veronica Andreo <veroandreo@gmail.com> wrote:<br>> > Hey, Mati! Hola!<br>> ><br>> <br>> Hi Vero, Matias<br>> <br>> ><br>> > @Luca, might the error and/or message be related to [2]?<br>> ><br>> <br>> I don't think so<br>> <br>> >> ERROR: La exportación raster puede resultar en una pérdida completa de<br>> >> datos, cancelando.<br>> >> Traceback (most recent call last):<br>> >> File "C:\OSGEO4~1\apps\grass\grass-7.0.4/scripts/t.rast.ex<br>> >> port.py", line 87, in <module><br>> >> main()<br>> >> File "C:\OSGEO4~1\apps\grass\grass-7.0.4/scripts/t.rast.ex<br>> >> port.py", line 82, in main<br>> >> _input, output, compression, directory, where, _format,<br>> >> "strds")<br>> >> File "C:\OSGEO4~1\apps\grass\grass-7.0.4\etc\python\grass\<br>> >> temporal\stds_export.py", line 298, in export_stds<br>> >> rows, tar, list_file, new_cwd, fs, format_)<br>> >> File "C:\OSGEO4~1\apps\grass\grass-7.0.4\etc\python\grass\<br>> >> temporal\stds_export.py", line 97, in<br>> >> _export_raster_maps_as_gdal<br>> >> shutil.rmtree(new_cwd)<br>> >> File "C:\OSGEO4~1\apps\Python27\lib\shutil.py", line 252,<br>> >> in rmtree<br>> >> onerror(os.remove, fullname, sys.exc_info())<br>> >> File "C:\OSGEO4~1\apps\Python27\lib\shutil.py", line 250,<br>> >> in rmtree<br>> >> os.remove(fullname)<br>> >> WindowsError: [Error 32] El proceso no tiene acceso al<br>> >> archivo porque está siendo utilizado por otro proceso:<br>> >> 'C:\\SIG\\Grass\\tmp883adw\\archive'<br>> >> (Fri May 13 13:09:21 2016) Comando finalizado. (2 segundos)<br>> >> (Fri May 13 13:14:02 2016)<br>> >><br>> <br>> it seems related to r.out.gdal, Matias could you try again the command?<br>> <br>> >> Some new idea?<br>> >><br>> >> Thanks!!!<br>> >><br>> > Does r.out.gdal for only one map works? Something like<br>> ><br>> > r.out.gdal input=LST output=LST.tif format=GTiff type=UInt16<br>> ><br>> <br>> Matias is this working for you?<br>> <br>> > Let us know :)<br>> ><br>> > Vero<br>> ><br>> <br>> <br>> -- <br>> ciao<br>> Luca<br>> <br>> www.lucadelu.org<br></div></div> </div></body>
</html>