Re: [GRASS-user] New AddOns for downloading and importing Sentinel products

2018-02-19 Thread Vaclav Petras
On Mon, Feb 19, 2018 at 4:49 PM, Moritz Lennert < mlenn...@club.worldonline.be> wrote: > > and the module would only use it if it is chmod 600, i.e. only readable > by the owner. > ...and the code to test that (user behaves safely) should be somewhere in g.cloud and/or g.remote:

Re: [GRASS-user] New AddOns for downloading and importing Sentinel products

2018-02-19 Thread Moritz Lennert
Le Mon, 19 Feb 2018 20:13:51 +0100, Martin Landa a écrit : > Hi, > > 2018-02-19 14:22 GMT+01:00 Moritz Lennert > : > > I consider it unideal practice to write passwords in clear on the > > command line. I don't know if it would be very

Re: [GRASS-user] New AddOns for downloading and importing Sentinel products

2018-02-19 Thread Martin Landa
Hi, 2018-02-19 14:22 GMT+01:00 Moritz Lennert : > I consider it unideal practice to write passwords in clear on the command > line. I don't know if it would be very complicated to work with a sentinel > scihub password file... what is a structure of such file?

Re: [GRASS-user] python parse_command

2018-02-19 Thread Pietro
Thank you Anna I did not noticed the underscor... On 19 Feb 2018 4:41 p.m., "Jonathan Reith" wrote: print(compregion) g.region(compregion,res="1", flags="p") you are hassling the dictionary to a region, but you have to unpack the dictionary just write: ...

Re: [GRASS-user] python parse_command

2018-02-19 Thread Jonathan Reith
Ok, now I understood the problem, thanks a lot Anna But I'm still struggling with the parse_command and r.in.xyz code-example:   compregion = grass.parse_command("r.in.xyz",input="tmp.xyz", separator="space", flags="sg", output="bbox", parse=(grass.parse_key_val,

Re: [GRASS-user] New AddOns for downloading and importing Sentinel products

2018-02-19 Thread Helmut Kudrnovsky
>Has anyone else tried this on Windows ? ok, tested also the dowload itself: r.sentinel.download user=myuser password=mypwd output=D:\dl\sentinel map=myriver@data start=2018-01-20 end=2018-01-27 limit=1 1 Sentinel product(s) found Downloading data into ...

Re: [GRASS-user] python parse_command

2018-02-19 Thread Anna Petrášová
On Mon, Feb 19, 2018 at 4:36 AM, Jonathan Reith wrote: > thanks for the answers, but this did not work. > > Again, here is my code, this time not just the minimum version: > > #!/usr/bin/env python > import os > from grass_session import Session > from grass.script import core

Re: [GRASS-user] New AddOns for downloading and importing Sentinel products

2018-02-19 Thread Helmut Kudrnovsky
>Has anyone else tried this on Windows ? tested here with - GRASS version: 7.4.0 GRASS SVN revision: r72154 Build date: 2018-01-27

Re: [GRASS-user] New AddOns for downloading and importing Sentinel products

2018-02-19 Thread Moritz Lennert
On 19/02/18 14:12, Moritz Lennert wrote: On 16/02/18 19:12, Martin Landa wrote: Hi, 2018-02-16 16:17 GMT+01:00 Moritz Lennert : Shouldn't these be better called i.sentinel.* ? They are clearly imagery related. you are probably right. Than we should also rename

Re: [GRASS-user] New AddOns for downloading and importing Sentinel products

2018-02-19 Thread Helmut Kudrnovsky
>- installing GRASS using osgeo4w gives you sentinelsat, but pandas >doesn't seem to be installed in the correct version as with > >import pandas > >you get an error message about a missing natype module (something like >that, am not at the windows computer, now). > >quick test here on my OSGeo4W

Re: [GRASS-user] New AddOns for downloading and importing Sentinel products

2018-02-19 Thread Moritz Lennert
On 16/02/18 19:12, Martin Landa wrote: Hi, 2018-02-16 16:17 GMT+01:00 Moritz Lennert : Shouldn't these be better called i.sentinel.* ? They are clearly imagery related. you are probably right. Than we should also rename r.modis and probably also other modules.

Re: [GRASS-user] installing grass 7.4 and grass-qgis plugin under fedora 27

2018-02-19 Thread Markus Metz
On Mon, Feb 19, 2018 at 10:15 AM, Laura Poggio wrote: > > Dear Markus, > thank you very much for your help. > > In the error message, I used dnf install qgis* and it was trying to install both versions. But the same error happens with 64 bits. > > Regarding QGIS not

Re: [GRASS-user] python parse_command

2018-02-19 Thread Jonathan Reith
thanks for the answers, but this did not work. Again, here is my code, this time not just the minimum version: #!/usr/bin/env python import os from grass_session import Session from grass.script import core as gcore from grass.pygrass.modules.shortcuts import general as g from

Re: [GRASS-user] installing grass 7.4 and grass-qgis plugin under fedora 27

2018-02-19 Thread Laura Poggio
Dear Markus, thank you very much for your help. In the error message, I used dnf install qgis* and it was trying to install both versions. But the same error happens with 64 bits. Regarding QGIS not recognising grass7.4, could it be related with this other thread?