[GRASS-user] Question about GRASS raster temporal data

Thomas Adams tea3rd at gmail.com
Sat Jan 17 11:04:24 PST 2015


Stefan,

Thank you for your response -- it looks like I'll have to do a bit of
scripting, which is OK... I just did not want to needlessly re-invent the
wheel. Having such a capability built into the tools is a great idea,
however.

Best,
Tom

On Sat, Jan 17, 2015 at 11:44 AM, Blumentrath, Stefan <
Stefan.Blumentrath at nina.no> wrote:

>  Hi Thomas,
>
>
>  The "out of the box"- option would be to use
> t.vect.observe.strds
>
> However, "r.what" is significantly faster, but requires with > 400 maps
> a little bit of scripting.
>
>
>  My approach is this one (there you can find a little shell-script:
>
> https://www.mail-archive.com/grass-dev@lists.osgeo.org/msg38802.html
>
>
>  (the "transpose" command i the script is nothing but a little
> awk-command, like e.g. here:
> http://stackoverflow.com/questions/13634816/using-awk-to-transpose-column-to-row
> )
>
>
>  Hopefully there will e some development in that direction soon...
>
>
>  Cheers
>
> Stefan
>
>
>  ------------------------------
> *Von:* grass-user-bounces at lists.osgeo.org <
> grass-user-bounces at lists.osgeo.org> im Auftrag von Thomas Adams <
> tea3rd at gmail.com>
> *Gesendet:* Samstag, 17. Januar 2015 17:06
> *An:* grass-user at lists.osgeo.org
> *Betreff:* [GRASS-user] Question about GRASS raster temporal data
>
>   All:
>
>  I am just getting started using GRASS raster temporal data analysis
> capabilities (both GRASS 7.0 and 7.1svn as of this AM) -- pretty cool, with
> some nice features. I have looked through the wiki:
>
> http://grasswiki.osgeo.org/wiki/Temporal_data_processing
>
>  and saw the use of g.gui.tplot
> <http://grass.osgeo.org/grass71/manuals/g.gui.tplot.html> which worked
> for my small data set (see t.info output below) -- what I need, however,
> are the values and dates extracted by g.gui.tplot exported to a text file.
> How do I get these? I have looked through all the modules and can not find
> what I need.
>
>  Best,
>  Tom
>
>
> GRASS 7.0.0beta3 (newster):~/grass/data > t.info type=strds
> input=ann_max_flow
>  +-------------------- Space Time Raster Dataset
> -----------------------------+
>  |
> |
>  +-------------------- Basic information
> -------------------------------------+
>  | Id: ........................ ann_max_flow at adams
>  | Name: ...................... ann_max_flow
>  | Mapset: .................... adams
>  | Creator: ................... teaiii
>  | Temporal type: ............. absolute
>  | Creation time: ............. 2015-01-17 05:28:15.023686
>  | Modification time:.......... 2015-01-17 05:38:10.846286
>  | Semantic type:.............. mean
>  +-------------------- Absolute time
> -----------------------------------------+
>  | Start time:................. 1997-01-01 00:00:00
>  | End time:................... 2014-01-01 00:00:00
>  | Granularity:................ 1 year
>  | Temporal type of maps:...... interval
>  +-------------------- Spatial extent
> ----------------------------------------+
>  | North:...................... -4895850.0
>  | South:...................... -5224462.5
>  | East:.. .................... 2695575.0
>  | West:....................... 2424112.5
>  | Top:........................ 0.0
>  | Bottom:..................... 0.0
>  +-------------------- Metadata information
> ----------------------------------+
>  | Raster register table:......
> raster_map_register_9d88390c739741bbb43e68759f90c4c9
>  | North-South resolution min:. 4762.499512
>  | North-South resolution max:. 4762.5
>  | East-west resolution min:... 4762.499512
>  | East-west resolution max:... 4762.5
>  | Minimum value min:.......... 0.209504
>  | Minimum value max:.......... 2.55081
>  | Maximum value min:.......... 856.120972
>  | Maximum value max:.......... 5188.450195
>  | Aggregation type:........... None
>  | Number of registered maps:.. 17
>  |
>  | Title:
>  | Potomac annual maximum flows
>  | Description:
>  | Potomac annual maximum flows derived from NOAA/NWS RDHM DHMTF analysis
> 1996-2013
>  | Command history:
>  | # 2015-01-17 05:28:15
>  | t.create type="strds" temporaltype="absolute"
>  |     output="ann_max_flow" title="Potomac annual maximum flows"
>  |     description="Potomac annual maximum flows derived from NOAA/NWS
> RDHM DHMTF analysis 1996-2013"
>  | # 2015-01-17 05:38:10
>  | t.register -i type="rast" input="ann_max_flow"
>  |     file="potomac_max_flow_list.txt" start="1997-01-01" increment="1
> year"
>  |
>
>  +----------------------------------------------------------------------------+
>
>
>
>


-- 
Thomas E Adams, III
718 McBurney Drive
Lebanon, OH 45036

1 (513) 739-9512 (cell)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20150117/aae90986/attachment.html>


More information about the grass-user mailing list