Re: [GRASS-user] Missing ps.map example

2021-06-15 Thread nik
Pity, is such a Great work :-)/:-/ --- On 2021-06-15 14:37, Moritz Lennert wrote: Hi Robert, Unfortunately I was not able to locate them in some archives I have here at home. I can check with some colleagues at the university when I see them next, but am not too hopeful. I was pretty sure

Re: [GRASS-user] Practical examples for t.select

2021-04-15 Thread nik
Nikos: Even the theoretically equivalent expression (to the first one) won't do: ``` ... raise SyntaxError("syntax error on line %d, position %i token %s near '%s' expression '%s'" % SyntaxError: syntax error on line 1, position 11 token T_SELECT_OPERATOR near '{:,equal}' expression 'test3

Re: [GRASS-user] Practical examples for t.select

2021-04-15 Thread nik
e()) File "/osgeo/grass/dist.x86_64-pc-linux-gnu/etc/python/grass/temporal/temporal_raster_algebra.py", line 110, in parse self.parser.parse(expression) File "/home/nik/code/miniconda3/envs/py385/lib/python3.8/site-packages/ply/yacc.py", line 333, in parse return self.

Re: [GRASS-user] How to quote temporal algebra expressions when using the inverse selection operator ! ?

2021-04-15 Thread nik
On 2021-04-15 11:23, n...@nikosalexandris.net wrote: In one of the t.rast.algebra related tests, the use of the ! operator is demonstrated [0]: t.rast.algebra", expression="R = A {!:,during} C", basename="r" [0]

[GRASS-user] How to quote temporal algebra expressions when using the inverse selection operator ! ?

2021-04-15 Thread nik
In one of the t.rast.algebra related tests, the use of the ! operator is demonstrated [0]: t.rast.algebra", expression="R = A {!:,during} C", basename="r" [0]

[GRASS-user] Practical examples for t.select

2021-04-14 Thread nik
Dears, are there real-world examples that show-case t.select? I cannot select maps from an absolute raster space-time dataset (in a local Mapset) that have the same starting dates (only, not time) as maps in another raster space-time dataset (stored however in the PERMANENT Mapset). Is the

Re: [GRASS-user] Creating a png file with multiple vector maps

2021-03-22 Thread nik
For what is worth, I have asked for help or commented maybe on this or similar subjects in the past. It is for years now that the PNG driver does not work for vector maps (for me) from the command line. I have tried various terminals but I still have no clear idea what the problem is. The

Re: [GRASS-user] error in g.extension while installing i.fusion.hpf in windows

2021-03-20 Thread nik
That's great Helmut :-) Nikos --- On 2021-03-19 22:39, Helmut Kudrnovsky wrote: ..   the script itself (downloaded from https://wingrass.fsv.cvut.cz/grass78/x86_64/addons/latest/) works.   now we have to solve the g.extension issue.   kind regards helli

Re: [GRASS-user] error in g.extension while installing i.fusion.hpf in windows

2021-03-19 Thread nik
Sorry, too fast. ...which sub-folders I don't recall anymore. N On 2021-03-19 13:15, n...@nikosalexandris.net wrote: I know well the issue(s). I don't run a WinBox currently. It should suffice to copy the source code in the correct sub-folders. Which I memorised times ago while

Re: [GRASS-user] error in g.extension while installing i.fusion.hpf in windows

2021-03-19 Thread nik
I know well the issue(s). I don't run a WinBox currently. It should suffice to copy the source code in the correct sub-folders. Which I memorised times ago while working in r.estimap.recreation. N --- On 2021-03-19 13:09, Veronica Andreo wrote: Hi Nikos I can try it because I'm using

Re: [GRASS-user] error in g.extension while installing i.fusion.hpf in windows

2021-03-19 Thread nik
Can you try this branch https://gitlab.com/NikosAlexandris/i.fusion.hpf/-/tree/encoding (commit:https://gitlab.com/NikosAlexandris/i.fusion.hpf/-/commit/86c2ae92f158c09947ae366bf20dbf3794b8f191) ? --- On 2021-03-19 12:18, Veronica Andreo wrote: I'd really appreciate Nikos! :) El vie, 19

Re: [GRASS-user] error in g.extension while installing i.fusion.hpf in windows

2021-03-19 Thread nik
Vero, I'll try to have a quick look on that during the WE (work overloaded here). Hopefully it's something trivial, like this suggestion: https://stackoverflow.com/a/60197939/1172302 Nikos --- On 2021-03-18 13:35, Veronica Andreo wrote: Hello list, A student is getting the following

Re: [GRASS-user] Problem with r. mapcalc

2021-02-28 Thread nik
I think an overview table, like https://gitlab.com/-/snippets/2083412, should be part of both the raster introduction text and the manual of r.mapcalc. Thank you, Nikos___ grass-user mailing list grass-user@lists.osgeo.org

Re: [GRASS-user] Median filtering time series in time only

2021-01-27 Thread nik
On 2021-01-27 16:59, Veronica Andreo wrote: Both r.series and t.rast.series will estimate the median per pixel in time (either for the whole series or the time period you want). Would it be possible then with so e sort of special for cycle? Sorry, I didn't pay attention. Reading more

Re: [GRASS-user] Median filtering time series in time only

2021-01-27 Thread nik
An example: In [1]: from scipy.signal import medfilt In [4]: ts = [1, 2, 2, 6, 3, 3, 4, 4, 3, 2, 2, 1] In [5]: medfilt(ts, kernel_size=3) Out[5]: array([1., 2., 2., 3., 3., 3., 4., 4., 3., 2., 2., 1.])___ grass-user mailing list

Re: [GRASS-user] Median filtering time series in time only

2021-01-27 Thread nik
Yes, I have tried `r.series.fiter` with winsize=3 and winsize=9 for a year of MODIS products. It seems it works. But I want to ensure I am not filtering in space too.- Vero, it feels nice to read you understand what I am trying to describe. As usual there is an excuse/justification: workload

Re: [GRASS-user] Median filtering time series in time only

2021-01-27 Thread nik
Thank you Vero. Consider the following time series [1, 2, 2, 6, 3, 3, 4, 4, 3, 2, 2, 1] <- evolution of a pixel in time. Say this is always the same pixel indexed at [0, 0] in each of 12 raster maps registered in a GRASS GIS STRDS. Median filtering pixel-wise in time, only, with a

[GRASS-user] Median filtering time series in time only

2021-01-27 Thread nik
I am trying to median-filter time series in time and not in space. Not sure `r.series.filter` is the right tool. I skimmed through the manual, the paper and the source code. Yet I am asking for a confirmation. Its (odd integer) parameter `winsize=` implies a moving window (of size winsize^2).

Re: [GRASS-user] r.stats.zonal output raster type

2021-01-24 Thread nik
Try with `r.statistics`. Unfortunately, there are a few modules with similar functionality, yet they work on different raster data types. Nikos --- On 2021-01-24 21:25, ming han wrote: Hi everyone Is it possible to let r.stats.zonal output raster to be CELL? Thanks Ming

Re: [GRASS-user] Missing ps.map example

2021-01-05 Thread nik
Danke Moritz. Und... Frohes Neues wuensche ich Dir und Deine Familie. Nikos --- On 2021-01-05 19:22, Moritz Lennert wrote: On 5/01/21 10:34, n...@nikosalexandris.net wrote: In http://homepages.ulb.ac.be/~mlennert/grass/psmap/index.html there is this nice example

Re: [GRASS-user] Missing ps.map example

2021-01-05 Thread nik
On 2021-01-05 11:34, n...@nikosalexandris.net wrote: And, by the way, is there another way (besides `g.gui.psmap`) to script the generation of ps.map scripts for multiple rasters on the same 'page'? Note: as we know, g.gui.psmap works with single map frames on the same page. Nikos

[GRASS-user] Missing ps.map example

2021-01-05 Thread nik
In http://homepages.ulb.ac.be/~mlennert/grass/psmap/index.html there is this nice example http://homepages.ulb.ac.be/~mlennert/grass/psmap/ages.png. The source code for it is missing. Any chance to get hands on it? And, by the way, is there another way (besides `g.gui.psmap`) to script the

Re: [GRASS-user] Appropriate input/output range for i.atcorr WorldView2?

2020-04-08 Thread nik
On 2020-04-08 15:17, Markus Neteler wrote: .. I believe that you need to apply the formula along with the respective band calibration values ABSCALFACTOR and EFFECTIVEBANDWIDTH (the same is also stored in the IMD files) from the XML metadata files: grep 'ABSCALFACTOR\|EFFECTIVEBANDWIDTH'

Re: [GRASS-user] r.proj ERROR

2020-01-12 Thread nik
pen element file <> for and I tested it from an other location too but its the same problem: r.proj location=ASTER_lat-long mapset=PERMANENT input=DHM_SRTM30m_Aut-plus-Umgebung output=dhm_30m_ASTER_dachstein method=bilinear resolution=30 ERROR: Unable to open element file <> for What ca

[GRASS-user] r.proj ERROR

2020-01-11 Thread nik
=dhm_10m_ogd_dachstein_NEU method=bilinear resolution=10 ERROR: Unable to open element file <> for (Sat Jan 11 14:24:16 2020) Befehl ausgeführt (0 Sek) The WIND file is ok. When I open it there are the correct region settings. Whats wrong? thx! Nik -- Sent from: http://osgeo-org.1560.x6.nabble.com

Re: [GRASS-user] r.in.wms2: should this work on GRASS 6.4.3RC3?

2013-07-02 Thread nik
Hamish: Is the original r.in.wms also not working for you, or did you just want to try out the new improved version? Richard: Unfortunately I cannot get it to work. For example, attempting to connect to the following URL gives the following error on attempting to connect:

Re: [GRASS-user] handling raster resolution with r.reclass

2013-07-02 Thread nik
Chiara Scaini wrote: Hello! my name is Chiara, I'm currently using grass to postprocess netcdf data and peroform spatial analysis Hello Chiara! I import netcdf bands separately, then reclassify the values (with external tables) and finally convert the area that i'm interested in into

Re: [GRASS-user] Converting Vector to Raster

2013-07-01 Thread nik
Pedro Camargo wrote: Hi, Hello Pedro, I am trying to convert a vector file (areas for FAF (Freight Analysis framework) regions in the US) to raster, but the results I get are quite weird. The results are attached. I think that the issue is that I’d have to set a resolution for the