[GRASS-user] FW: Temporal + export

Matías Alejandro Castillo Moine matialecastillo at hotmail.com
Tue Jul 5 14:00:08 PDT 2016


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: lucadeluge at gmail.com
> Date: Thu, 9 Jun 2016 15:19:20 +0200
> Subject: Re: [GRASS-user] FW: Temporal + export
> To: veroandreo at gmail.com
> CC: matialecastillo at hotmail.com; grass-user at lists.osgeo.org
> 
> On 13 May 2016 at 20:07, Veronica Andreo <veroandreo at gmail.com> 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
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20160705/5c1998e5/attachment.html>


More information about the grass-user mailing list