[Kst] Contribution NetCDF-interface: --> plotting of PACKED/COMPRESSED DATA and MATRIX COMPONENTS

Rix, Patrick Patrick.Rix at repower.de
Tue Apr 9 09:54:18 UTC 2013


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kst-src-datasources-netcdf_PRIX-2013-04.09.zip
Type: application/x-zip-compressed
Size: 27975 bytes
Desc: kst-src-datasources-netcdf_PRIX-2013-04.09.zip
URL: <http://mail.kde.org/pipermail/kst/attachments/20130409/8c8ba4bb/attachment-0001.bin>


More information about the Kst mailing list