Hi everyone!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. Thanks you!!!
> From: [email protected] > Date: Thu, 9 Jun 2016 15:19:20 +0200 > Subject: Re: [GRASS-user] FW: Temporal + export > To: [email protected] > CC: [email protected]; [email protected] > > On 13 May 2016 at 20:07, Veronica Andreo <[email protected]> wrote: > > Hey, Mati! Hola! > > > > Hi Vero, Matias > > > > > @Luca, might the error and/or message be related to [2]? > > > > I don't think so > > >> ERROR: La exportación raster puede resultar en una pérdida completa de > >> datos, cancelando. > >> Traceback (most recent call last): > >> File "C:\OSGEO4~1\apps\grass\grass-7.0.4/scripts/t.rast.ex > >> port.py", line 87, in <module> > >> main() > >> File "C:\OSGEO4~1\apps\grass\grass-7.0.4/scripts/t.rast.ex > >> port.py", line 82, in main > >> _input, output, compression, directory, where, _format, > >> "strds") > >> File "C:\OSGEO4~1\apps\grass\grass-7.0.4\etc\python\grass\ > >> temporal\stds_export.py", line 298, in export_stds > >> rows, tar, list_file, new_cwd, fs, format_) > >> File "C:\OSGEO4~1\apps\grass\grass-7.0.4\etc\python\grass\ > >> temporal\stds_export.py", line 97, in > >> _export_raster_maps_as_gdal > >> shutil.rmtree(new_cwd) > >> File "C:\OSGEO4~1\apps\Python27\lib\shutil.py", line 252, > >> in rmtree > >> onerror(os.remove, fullname, sys.exc_info()) > >> File "C:\OSGEO4~1\apps\Python27\lib\shutil.py", line 250, > >> in rmtree > >> os.remove(fullname) > >> WindowsError: [Error 32] El proceso no tiene acceso al > >> archivo porque está siendo utilizado por otro proceso: > >> 'C:\\SIG\\Grass\\tmp883adw\\archive' > >> (Fri May 13 13:09:21 2016) Comando finalizado. (2 segundos) > >> (Fri May 13 13:14:02 2016) > >> > > it seems related to r.out.gdal, Matias could you try again the command? > > >> Some new idea? > >> > >> Thanks!!! > >> > > Does r.out.gdal for only one map works? Something like > > > > r.out.gdal input=LST output=LST.tif format=GTiff type=UInt16 > > > > Matias is this working for you? > > > Let us know :) > > > > Vero > > > > > -- > ciao > Luca > > www.lucadelu.org
_______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
