[Kst] Sparse Ascii data

Ben Lewis egretengineering at gmail.com
Tue Dec 3 11:45:31 UTC 2013


Hi Peter,

Something seems to have broken since you added the ASCII config option "Interpret empty values as: 
Null, NaN, Previous value"

The 2013.11.20 build works fine for me but 2013.11.28 and 2013.12.01 builds do not work.

When I try to open a CSV file I get all vectors full of zeros or NaNs depending on which option I 
select.

Also, all the ASCII config settings are sticky now even when I don't select "Apply these settings as 
default"

Regards, Ben


On 29/11/2013 6:11 AM, Peter Kümmel wrote:
> I added a configure option how empty values should be handled:
> null, nan, or the previous value should be used.
>
> Peter
>
> On 20.11.2013 10:04, David McMinn wrote:
>> Hi Nicolas,
>>
>> When you say that Kst skips the point you should perhaps make it clear that it causes a gap in 
>> the line (it stops drawing at the previous point and starts drawing at the next point), rather 
>> than drawing a line directly from the previous to the next point.
>>
>> Cheers.
>>
>> -----Original Message-----
>> From: kst-bounces at kde.org [mailto:kst-bounces at kde.org] On Behalf Of Brisset, Nicolas
>> Sent: 20 November 2013 08:41
>> To: kst at kde.org
>> Subject: Re: [Kst] Sparse Ascii data
>>
>> Peter,
>>
>> It is indeed the responsibility of the data source to decide what to do with missing data. The 
>> nice way to handle it is to return a NaN value, so that Kst skips the point when drawing the 
>> curve. I think we used to do this in Kst 1.x, and that's what we should do here.
>>
>> Nicolas
>>
>> -----Ursprüngliche Nachricht-----
>> Von: kst-bounces at kde.org [mailto:kst-bounces at kde.org] Im Auftrag von Peter Kümmel
>> Gesendet: Mittwoch, 20. November 2013 08:33
>> An: kst at kde.org
>> Betreff: [Kst] Sparse Ascii data
>>
>> Is there already a way to handle sparse Ascii data (data with missing values at some rows)?
>>
>> N, Col1, Col2
>> 1,    1,    2
>> 2,     ,    2
>> 3,    1,    2
>>
>> The idea is to a have a plot for Col1 which is a horizontal line at 1 which does not draw down to 
>> zero at row 2.
>>
>> Is it possible to set a "ignore this value" in the vector, or is it the responsibility of the 
>> data source plugin to not add a zero-value at such a entry when reading the file?
>>
>> Thanks,
>> Peter
>> _______________________________________________
>> Kst mailing list
>> Kst at kde.org
>> https://mail.kde.org/mailman/listinfo/kst
>> EUROCOPTER DEUTSCHLAND GmbH
>> Sitz der Gesellschaft / Registered Office: Donauwörth Registergericht / Registration Court: 
>> Amtsgericht Augsburg HRB 16508 Vorsitzender des Aufsichtsrates / Chairman of the Supervisory 
>> Board: Guillaume Faury Geschäftsführung / Board of Management:
>> Dr. Wolfgang Schoder, Vorsitzender / CEO; Friedrich-Wilhelm Hormel; Ralf Barnscheidt; Oliver 
>> Schenzle
>>
>>
>> CONFIDENTIALITY NOTICE
>>
>> This communication and the information it contains is intended for the addressee ( s ) named 
>> above and for no other persons or organizations.
>> It is confidential and may be legally privileged and protected by law. The unauthorized use, 
>> copying or disclosure of this communication or any part of it is prohibited and may be unlawful.
>> If you have received this communication in error, kindly notify us by return e-mail and discard 
>> and/or delete the communication.
>> Thank you very much.
>> It is possible for e-mails to be intercepted or affected by viruses. Whilst we maintain virus 
>> checks on our e-mails, we accept no liability for viruses or other material which might be 
>> introduced with this message.
>> _______________________________________________
>> Kst mailing list
>> Kst at kde.org
>> https://mail.kde.org/mailman/listinfo/kst
>>
>>
>>
>>
>> _______________________________________________
>> Kst mailing list
>> Kst at kde.org
>> https://mail.kde.org/mailman/listinfo/kst
>>
>
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst



More information about the Kst mailing list