[GRASS-user] profile tool csv export

Markus Neteler neteler at osgeo.org
Sat Aug 27 03:50:28 EDT 2011


On Fri, Aug 19, 2011 at 1:29 PM, Moritz Lennert
<mlennert at club.worldonline.be> wrote:
> On 19/08/11 12:17, Hamish wrote:
>>
>> Rebecca wrote:
>>>
>>> I'd like to use the CSV export from the profile analysis tool to
>>> quickly compare profile data for a number of rasters, however
>>> when I export the profile the z data are always integer (rather
>>> than the float data of the original raster).
>>> Is there a way to change the output to CSV to float?
>>
>> Hi,
>>
>> I see the same thing with spearfish's elevation.10m FP raster
>> with GRASS 6.4.1. A quick look at the profile tool's python shows
>> it as treating the array elements as float, I'm not sure where it
>> is losing the precision.
>
> --- profile.py  2011-08-19 13:28:17.000000000 +0200
> +++ profile_new.py      2011-08-19 13:28:43.000000000 +0200
> @@ -598,7 +598,7 @@
...

Has this been fixed in SVN? Now working ok?

Markus


More information about the grass-user mailing list