Re: [GRASS-user] Temporal Analysis

2010-06-09 Thread Markus Neteler
On Wed, Jun 9, 2010 at 6:30 PM, Nikos Dumakis  wrote:
> Now I'm a bit lost on this versions stuff :)
>>
>> > - Do you have that specific code available?
>>
>> See SVN :)
>>
> What is the name of the module? r.series?

Yes.

>> > About: "Find it in GRASS 6.5 and 7 (also 6.4.1 once 6.4.0 is out):
>> > http://grass.osgeo.org/grass70/manuals/html70_user/r.series.html ";
>> > - You are saying that r.series function at GRASS6.5 and 7 includes that
>> > possibility?
>>
>> Yes.
>>
>> > And can it be back-ported to 6.4?
>>
>> Yes, but only for 6.4.1.
>
> What is the 6.4.1 release? I only heard about 6.4.0RC6, GRASS6.5 and 7 never
> 6.4.1... Is it as stable as GRASS6.4.0RC6?

- 6.4.0RC6 is the 6th release candidate of 6.4.0.
- 6.4.1 will be the successor of 6.4.0 (likely there will be release
candidates, too).
- etc.

>> > And about "6.4.0 out": Isn't Out already? :D
>>
> Isn't it 6.4.0RC6 the GRASS6.4.0 ?

No, it is just a release candidate. We found bugs therein which have
been subsequently
fixed (available via SVN, will be in 6.4.0[final]). Still some blocker
bugs need to be
fixed before releasing 6.4.0.

Markus
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Temporal Analysis

2010-06-09 Thread Nikos Dumakis
Now I'm a bit lost on this versions stuff :)

>
> > - Do you have that specific code available?
>
> See SVN :)
>
> What is the name of the module? r.series?



> > About: "Find it in GRASS 6.5 and 7 (also 6.4.1 once 6.4.0 is out):
> > http://grass.osgeo.org/grass70/manuals/html70_user/r.series.html "
> > - You are saying that r.series function at GRASS6.5 and 7 includes that
> > possibility?
>
> Yes.
>
> > And can it be back-ported to 6.4?
>
> Yes, but only for 6.4.1.
>
What is the 6.4.1 release? I only heard about 6.4.0RC6, GRASS6.5 and 7 never
6.4.1... Is it as stable as GRASS6.4.0RC6?



>
> > And about "6.4.0 out": Isn't Out already? :D
>
> Isn't it 6.4.0RC6 the GRASS6.4.0 ?
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Temporal Analysis

2010-06-07 Thread Markus Neteler
On Mon, Jun 7, 2010 at 6:38 PM, Nikos Dumakis  wrote:
> Thank you Martin.
> I realized that one of the functions that I need, (counter of values bellow
> a certain threshold) is not available in r.series.

I have implemented it some time ago for this article

http://www.mdpi.com/2072-4292/2/1/333
  Estimating Daily Land Surface Temperatures in
  Mountainous Environments by Reconstructed MODIS LST Data

I have implemented it for growing degree days (GDD) thresholding for
insect development.

Find it in GRASS 6.5 and 7 (also 6.4.1 once 6.4.0 is out):
http://grass.osgeo.org/grass70/manuals/html70_user/r.series.html

Hope this helps,
Markus
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Temporal Analysis

2010-06-07 Thread Martin Wegmann
hello Nikos,

I would combine r.mapcalc and r.series. With r.mapcalc you could extract 
values below a certain threshold and do the r.series analysis based on this 
new dataset.

e.g.
for i in `g.mlist pattern='pattern_of_your_raster*'` ; do 
r.mapcalc "$i_new = if($i < threshold, $i, null())"
; done

r.series input="`g.mlist pattern='*_new' sep=,`"  output=results method=sum

regards, Martin

On Montag, 7. Juni 2010 18:38:38 Nikos Dumakis wrote:
> Thank you Martin.
> 
> I realized that one of the functions that I need, (counter of values bellow
> a certain threshold) is not available in r.series. Do you know, or do you
> have any suggestion, how to perform this?
> Thanks
> 
> Best regards
> Nikos
> 
> On Mon, Jun 7, 2010 at 1:12 PM, Martin Wegmann <
> 
> martin.wegm...@uni-wuerzburg.de> wrote:
> > Hello Nikos,
> > 
> > just give r.series a try.
> > 
> > regards, Martin
> > 
> > On Montag, 7. Juni 2010 14:06:17 Nikos Dumakis wrote:
> > > Greetings
> > > 
> > > 
> > > I have to do some simple-statistical TEMPORAL analysis between a long
> > > data-series. I mean, I have do some temporal average for each pixel,
> > > minimum and max. Instead of doing this statistical- analysis for all
> > > pixels in an image, I have to do this analysis for each image-pixel
> > > along its temporal series.
> > > 
> > > Is there any function to do this? Or as anyone tried ?
> > > Thanks
> > > Nikos
> > 
> > --
> > Dr. Martin Wegmann
> > 
> > University of Wuerzburg
> > Institute of Geography
> > Department of Remote Sensing
> > Remote Sensing and Ecosystem Research
> > Am Hubland
> > 97074 Wuerzburg, Germany
> > @
> > German Aerospace Center (DLR)
> > German Remote Sensing Data Center (DFD)
> > 
> > Phone:  +49-(0)931-31-83446
> > Fax:   +49-(0)931-31-84961
> > Email:  martin.wegm...@uni-wuerzburg.de
> > url: http://www.remote-sensing.uni-wuerzburg.de
> > url: http://www.dlr.de/caf
> > url: http://www.global-change-ecology.de

-- 
Dr. Martin Wegmann

University of Wuerzburg
Institute of Geography
Department of Remote Sensing
Remote Sensing and Ecosystem Research
Am Hubland
97074 Wuerzburg, Germany
@
German Aerospace Center (DLR)
German Remote Sensing Data Center (DFD)

Phone:  +49-(0)931-31-83446
Fax:   +49-(0)931-31-84961
Email:  martin.wegm...@uni-wuerzburg.de
url: http://www.remote-sensing.uni-wuerzburg.de
url: http://www.dlr.de/caf
url: http://www.global-change-ecology.de

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Temporal Analysis

2010-06-07 Thread Dylan Beaudette
On Monday 07 June 2010, Nikos Dumakis wrote:
> Thank you Martin.
>
> I realized that one of the functions that I need, (counter of values bellow
> a certain threshold) is not available in r.series. Do you know, or do you
> have any suggestion, how to perform this?
> Thanks
>
> Best regards
> Nikos

Hi Nikos,

I can't seem to find it right now, but there was a discussion a while back 
regarding user-defined functions for r.series. I don't think anything came 
out of it, but one of the Martins or Markus' (I think) was able to put some 
nice working into a more consolidated stats library. Others may recall more 
details.

The basic premise: implement a mechanism by which a vector (i.e. the array of 
values defined by a single cell but sliced through a time series of rasters) 
could be passed to an R function, python function, etc. that would do its 
work and return a scalar to GRASS. This seems like it would be hard to 
implement, but would add tremendous flexibility to time series analysis. 

Another approach might be to use the 'raster' package for R. 

Cheers,
Dylan


> On Mon, Jun 7, 2010 at 1:12 PM, Martin Wegmann <
>
> martin.wegm...@uni-wuerzburg.de> wrote:
> > Hello Nikos,
> >
> > just give r.series a try.
> >
> > regards, Martin
> >
> > On Montag, 7. Juni 2010 14:06:17 Nikos Dumakis wrote:
> > > Greetings
> > >
> > >
> > > I have to do some simple-statistical TEMPORAL analysis between a long
> > > data-series. I mean, I have do some temporal average for each pixel,
> > > minimum and max. Instead of doing this statistical- analysis for all
> > > pixels in an image, I have to do this analysis for each image-pixel
> > > along its temporal series.
> > >
> > > Is there any function to do this? Or as anyone tried ?
> > > Thanks
> > > Nikos
> >
> > --
> > Dr. Martin Wegmann
> >
> > University of Wuerzburg
> > Institute of Geography
> > Department of Remote Sensing
> > Remote Sensing and Ecosystem Research
> > Am Hubland
> > 97074 Wuerzburg, Germany
> > @
> > German Aerospace Center (DLR)
> > German Remote Sensing Data Center (DFD)
> >
> > Phone:  +49-(0)931-31-83446
> > Fax:   +49-(0)931-31-84961
> > Email:  martin.wegm...@uni-wuerzburg.de
> > url: http://www.remote-sensing.uni-wuerzburg.de
> > url: http://www.dlr.de/caf
> > url: http://www.global-change-ecology.de



-- 
Dylan Beaudette
Soil Resource Laboratory
http://casoilresource.lawr.ucdavis.edu/
University of California at Davis
530.754.7341
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Temporal Analysis

2010-06-07 Thread Nikos Dumakis
Thank you Martin.

I realized that one of the functions that I need, (counter of values bellow
a certain threshold) is not available in r.series. Do you know, or do you
have any suggestion, how to perform this?
Thanks

Best regards
Nikos

On Mon, Jun 7, 2010 at 1:12 PM, Martin Wegmann <
martin.wegm...@uni-wuerzburg.de> wrote:

> Hello Nikos,
>
> just give r.series a try.
>
> regards, Martin
>
> On Montag, 7. Juni 2010 14:06:17 Nikos Dumakis wrote:
> > Greetings
> >
> >
> > I have to do some simple-statistical TEMPORAL analysis between a long
> > data-series. I mean, I have do some temporal average for each pixel,
> > minimum and max. Instead of doing this statistical- analysis for all
> > pixels in an image, I have to do this analysis for each image-pixel along
> > its temporal series.
> >
> > Is there any function to do this? Or as anyone tried ?
> > Thanks
> > Nikos
>
> --
> Dr. Martin Wegmann
>
> University of Wuerzburg
> Institute of Geography
> Department of Remote Sensing
> Remote Sensing and Ecosystem Research
> Am Hubland
> 97074 Wuerzburg, Germany
> @
> German Aerospace Center (DLR)
> German Remote Sensing Data Center (DFD)
>
> Phone:  +49-(0)931-31-83446
> Fax:   +49-(0)931-31-84961
> Email:  martin.wegm...@uni-wuerzburg.de
> url: http://www.remote-sensing.uni-wuerzburg.de
> url: http://www.dlr.de/caf
> url: http://www.global-change-ecology.de
>
>
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Temporal Analysis

2010-06-07 Thread Martin Wegmann
Hello Nikos, 

just give r.series a try.

regards, Martin

On Montag, 7. Juni 2010 14:06:17 Nikos Dumakis wrote:
> Greetings
> 
> 
> I have to do some simple-statistical TEMPORAL analysis between a long
> data-series. I mean, I have do some temporal average for each pixel,
> minimum and max. Instead of doing this statistical- analysis for all
> pixels in an image, I have to do this analysis for each image-pixel along
> its temporal series.
> 
> Is there any function to do this? Or as anyone tried ?
> Thanks
> Nikos

-- 
Dr. Martin Wegmann

University of Wuerzburg
Institute of Geography
Department of Remote Sensing
Remote Sensing and Ecosystem Research
Am Hubland
97074 Wuerzburg, Germany
@
German Aerospace Center (DLR)
German Remote Sensing Data Center (DFD)

Phone:  +49-(0)931-31-83446
Fax:   +49-(0)931-31-84961
Email:  martin.wegm...@uni-wuerzburg.de
url: http://www.remote-sensing.uni-wuerzburg.de
url: http://www.dlr.de/caf
url: http://www.global-change-ecology.de

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Temporal Analysis

2010-06-07 Thread Nikos Dumakis
Greetings


I have to do some simple-statistical TEMPORAL analysis between a long
data-series. I mean, I have do some temporal average for each pixel, minimum
and max. Instead of doing this statistical- analysis for all pixels in an
image, I have to do this analysis for each image-pixel along its temporal
series.

Is there any function to do this? Or as anyone tried ?
Thanks
Nikos
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user