<div dir="ltr">Ciao Lu, <div><br></div><div>Yes, of course I have NULL cells... cuac! </div><div><br></div><div>So, IIUC, as <a href="http://t.rast.out.xyz">t.rast.out.xyz</a> is a wraper for <a href="http://r.out.xyz">r.out.xyz</a> it won't export cells with NULL values, and from what I learnt just by trial and error, if the time series happens to start with a NULL cell then one gets an empty output. Hence, it's only useful for time series without gaps...</div><div><br></div><div>Would that be too complicated to add support to also export NULL cells with some symbol such as "*" as other modules use??? Is this worth an enhancement ticket?</div><div><br></div><div>Anyway, this should also be mentioned in <a href="http://t.rast.out.xyz">t.rast.out.xyz</a> manual. I will send a diff later today.</div><div><br></div><div>Thanks a lot for the clarification</div><div><br></div><div>Cheers, </div><div>Vero</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-11-29 15:12 GMT+01:00 Luca Delucchi <span dir="ltr"><<a href="mailto:lucadeluge@gmail.com" target="_blank">lucadeluge@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 28 November 2016 at 14:53, Veronica Andreo <<a href="mailto:veroandreo@gmail.com">veroandreo@gmail.com</a>> wrote:<br>
> Hello devs,<br>
><br>
<br>
Hi Vero,<br>
<div><div class="h5"><br>
> I'm using the add-on <a href="http://t.rast.out.xyz" rel="noreferrer" target="_blank">t.rast.out.xyz</a> to export my raster time series to a csv<br>
> file. Here's my region definition:<br>
><br>
> GRASS 7.3.svn (latlong_wgs84):~ > g.region -p<br>
> raster=A20133052013312.L3m_8D_<wbr>CHL_chlor_a_4km_arg<br>
> projection: 3 (Latitude-Longitude)<br>
> zone:       0<br>
> datum:      wgs84<br>
> ellipsoid:  wgs84<br>
> north:      38S<br>
> south:      55S<br>
> west:       70W<br>
> east:       55W<br>
> nsres:      0:02:30<br>
> ewres:      0:02:30<br>
> rows:       408<br>
> cols:       360<br>
> cells:      146880<br>
><br>
> By running <a href="http://t.rast.out.xyz" rel="noreferrer" target="_blank">t.rast.out.xyz</a> I would expect to have a file with 146880 rows<br>
> (number of cells) and columns = the number of maps registered in the raster<br>
> time series plus x & y coordinates. The latter works, I get the expected<br>
> number of columns. However, the number of rows is much lower than expected.<br>
><br>
> GRASS 7.3.svn (latlong_wgs84):~ > <a href="http://t.rast.out.xyz" rel="noreferrer" target="_blank">t.rast.out.xyz</a> strds=cla_monthly_average |<br>
> wc -l<br>
>  100%<br>
> Space time raster dataset cla_monthly_average exported to -<br>
><br>
> 12891 << -- less than 10% of the region!! No mask applied.<br>
><br>
> I observe the same behaviour when I vary the region size and also, when I<br>
> export to a text file. Is this the expected behaviour? Am I missing<br>
> something?<br>
><br>
<br>
</div></div>Maybe yes... do you have null cells (read <a href="http://r.out.xyz" rel="noreferrer" target="_blank">r.out.xyz</a> manual ;-) )?<br>
<br>
r.univar can help you to discover the null cells ;-)<br>
<br>
><br>
> Cheers,<br>
> Vero<br>
><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
ciao<br>
Luca<br>
<br>
<a href="http://www.lucadelu.org" rel="noreferrer" target="_blank">www.lucadelu.org</a><br>
</font></span></blockquote></div><br></div>