[Kst] CDF support for kst2
Alexander V Zahn
avzahn at ad.ucsd.edu
Thu Aug 14 17:17:22 UTC 2014
Thanks for all the responses. I've gotten a bit tied up in collaboration meetings at the moment, but I appreciate the help. Hopefully I'll have time to make a serious attempt next week.
From: Nicolas Brisset [nicolas.brisset at free.fr]
Sent: Wednesday, August 13, 2014 2:28 PM
To: Alexander V Zahn
Cc: kst at kde.org
Subject: Re: [Kst] CDF support for kst2
I believe NetCDF has support for HDF5 if compiled with the right options, though I never tried it myself. I'd be interested to know if it works, if you make the test.
If you do want to port the CDF datasource to kst2, I'd strongly encourage you to start from the existing netCDF datasource for kst2, and only look at the kst1 source to see how querying properties and data from CDF is done (::read() method mainly, plus the init part). There have been many changes in the datasources for kst2, and NetCDF implements a lot of stuff. And the format has a logic close to that of CDF, even though the NetCDF API is more modern, at least its C++ incarnation.
Having written most of those 2 sources, I should be able to help you if you get into trouble. I also wrote a HOWTO which is part of the sources the last time I created a datasource. You should definitely read it, it's much better than the obsolete datasource template.
Hope this helps,
----- Mail original -----
> De: "Alexander V Zahn" <avzahn at ad.ucsd.edu>
> À: kst at kde.org
> Envoyé: Mercredi 6 Août 2014 12:57:07
> Objet: [Kst] CDF support for kst2
> Hi all,
> I'm just starting out with kst, and was wondering how to go about
> porting kst1 support for the CDF format to kst2.
> If all goes well, I was going to try experimenting with HDF5 support
> too. HDF5 is definitely starting to supplant the other data formats,
> at least in the physics and astronomy communities.
> -Alex Zahn
> Kst mailing list
> Kst at kde.org
More information about the Kst