[Kst] Contribution NetCDF-interface: --> plotting of PACKED/COMPRESSED DATA and MATRIX COMPONENTS
Rix, Patrick
Patrick.Rix at repower.de
Wed Apr 10 10:03:41 UTC 2013
Hi Nicolas,
Cool - that's a good news !
..ignoring coding conventions to some extend was what I meant by the term 'hack'. This was a quick-and-dirty solution intended as test to find out if plotting of matrix components works at all. The better and cleaner solution would have been to implement some sort of data access dialog for choosing certain components of matrices and derive a vector out of it which can be plotted. (I found in kst some matrix data accessing functionality in the View->Matrix section of the main menu showing the data in tabulated form - but unfortunately I found no way to create a vector from a single row or column of the matrix.)
Maybe you or someone else has an idea for a cleaner and more elegant implementation in the code.
Can you send me a note when the new feature appears in the official main stream, i.e. when it will be available for download in the new KST-executable release ?
I plan to announce KST on the MBDyn user mailing list as a new plot tool for the binary files of multi-body simulations.
Salut,
Patrick.
-----Ursprüngliche Nachricht-----
Von: Nicolas Brisset [mailto:nicolas.brisset at free.fr]
Gesendet: Dienstag, 9. April 2013 23:11
An: Rix, Patrick
Cc: kst
Betreff: Re: Contribution NetCDF-interface: --> plotting of PACKED/COMPRESSED DATA and MATRIX COMPONENTS
Hi Patrick,
MANY THANKS for your efforts and the contribution!
I still hadn't had time to do it myself, but reviewing your code and integrating it should be much faster than actually writing it :-) I've just had a quick look and apart from different coding conventions it looks quite OK.
Today's a good day for Kst:
- Barth seems to have more time for Kst again
- We have a very nice contribution from you, which should make it into 2.0.7
- I came across this nice blog post on planetkde.org which mentions Kst: http://knro.blogspot.de/2013/03/say-hi-to-j065143540858.html
Cheers,
Nicolas
----- Mail original -----
> De: "Patrick Rix" <Patrick.Rix at repower.de>
> À: kst at kde.org
> Cc: "nicolas brisset" <nicolas.brisset at free.fr>
> Envoyé: Mardi 9 Avril 2013 11:54:18
> Objet: Contribution NetCDF-interface: --> plotting of
> PACKED/COMPRESSED DATA and MATRIX COMPONENTS
>
> Dear KST-developers,
> dear Nicolas,
>
> I finally succeeded in compiling KST and enhancing the NetCDF data
> interface by adding support for
>
> +++ plotting of PACKED DATA (using signed short integers as data
> type in combination with scaling attributes 'scale_factor' and
> 'add_offset') and
> +++ plotting COMPONENTS of a time dependent MATRIX, X_[time,
> j_comp] as vectors x_j{time}
>
> which I wanted to contribute to the KST-project (--> attached
> ZIP-achiche) hoping that it will be useful to others, too and gets
> included into the main stream.
> The only file that has been affected to changes was :
> kst\src\datasources\netcdf\netcdfsource.cpp
>
> I also added some comments there on the main idea and strategy of the
> implementation details which needed a little bit of cheating.
> Thus it would be good if someone else could have a look on the code,
> seeing how it could be implemented in a more elegant way - so:
> any feedback will be warmly appreciated.
>
> Componets of Matrices can be selected in the Data Wizard dialog being
> shown as vectors.
> For example a matrix X_vec3[time,1..3] with the time dependend
> position vector representing the trajectory of a particle will appear
> in the field selection window as three vectors:
> X_vec3.[01] , X_vec3.[02] and X_vec3.[03] .
>
> If anyone wants to try the new interface version, I can send an achive
> (~45MB) with the Windows binary (compiled with Microsoft Visual Studio
> 10 Express) and all plugin-DLLs if you drop me a note.
>
>
> Best Regards,
> Patrick Rix.
>
>
> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese
> E-Mail irrtümlich erhalten haben, informieren Sie bitte umgehend den
> Absender und löschen Sie diese E-Mail. Das unerlaubte Kopieren sowie
> die unbefugte Weitergabe der in dieser E-Mail enthaltenen Daten ist
> nicht gestattet. Wie Sie wissen, kann die Sicherheit von
> Übermittlungen per E-Mail nicht gewährleistet werden, E-Mails können
> missbräuchlich unter fremdem Namen erstellt oder verändert werden.
> Aus diesem Grund bitten wir um Verständnis dafür, dass wir zu Ihrem
> und unserem Schutz die rechtliche Verbindlichkeit der vorstehenden
> Erklärungen ausschließen müssen. Diese Regelung gilt nur dann nicht,
> wenn wir mit Ihnen eine anderweitige schriftliche Vereinbarung über
> die Einhaltung von Sicherheits- und Verschlüsselungsstandards
> getroffen haben.
>
> This e-mail contains confidential and/or privileged information. If
> you are not the intended recipient (or have received this e-mail in
> error) please notify the sender immediately and delete this e-mail.
> Any unauthorised copying, disclosure or distribution of the material
> in this e-mail is strictly forbidden. As you know, the security of
> e-mail transmissions can not be guaranteed. E-mails can be misused to
> be written or modified under false names. For that reason, we ask you
> to understand the necessity for us to rule out the legal obligation of
> the above statement, for your protection and ours.
> This regulation is only invalid if we have concluded a special written
> agreement with you about the compliance with security and encryption
> standards.
>
> REpower Systems SE • Sitz: Hamburg • Vorstand: Andreas Nauen
> (Vorsitz), Marcus A. Wassenberg, Vinod R. Tanti •
> Aufsichtsratsvorsitzender: Tulsi Tanti • Registergericht: AG Hamburg
> (Mitte) HRB Nr.: 118644
>
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte umgehend den Absender und löschen Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe der in dieser E-Mail enthaltenen Daten ist nicht gestattet. Wie Sie wissen, kann die Sicherheit von Übermittlungen per E-Mail nicht gewährleistet werden, E-Mails können missbräuchlich unter fremdem Namen erstellt oder verändert werden. Aus diesem Grund bitten wir um Verständnis dafür, dass wir zu Ihrem und unserem Schutz die rechtliche Verbindlichkeit der vorstehenden Erklärungen ausschließen müssen. Diese Regelung gilt nur dann nicht, wenn wir mit Ihnen eine anderweitige schriftliche Vereinbarung über die Einhaltung von Sicherheits- und Verschlüsselungsstandards getroffen haben.
This e-mail contains confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden. As you know, the security of e-mail transmissions can not be guaranteed. E-mails can be misused to be written or modified under false names. For that reason, we ask you to understand the necessity for us to rule out the legal obligation of the above statement, for your protection and ours. This regulation is only invalid if we have concluded a special written agreement with you about the compliance with security and encryption standards.
REpower Systems SE • Sitz: Hamburg • Vorstand: Andreas Nauen (Vorsitz), Marcus A. Wassenberg, Vinod R. Tanti • Aufsichtsratsvorsitzender: Tulsi Tanti • Registergericht: AG Hamburg (Mitte) HRB Nr.: 118644
More information about the Kst
mailing list