Discussion:
netCDF on Windows
Butler, Timothy
2018-03-02 16:12:43 UTC
Permalink
Hello,

When I open a netCDF file in the Data Wizard, it indicates that it is an ASCII file.

I'm running the following version of KST on Windows 7 (64 bit):

Kst Kst-2.0.x-2017.12.13-23.44 Revision 6d33b142ec339c7571b71dea4a85eba199275b7d

which was downloaded from https://github.com/Kst-plot/kst-build/tree/Kst-32bit-3rdparty-plugins-Qt5.

The Debug Dialog 'Data Sources' tab indicates that the netcdf datasource DLL is loaded.

Any suggestions as to why a .nc file is being interpreted as ASCII?

Thanks,
Tim Butler
Nicolas Brisset
2018-03-05 21:53:22 UTC
Permalink
Hi Tim,

I believe the netCDF library used in the Windows build does not have support for the HDF5 backend format.
Could it be that your .nc files use this?
If so, I fear the only option is to recompile Kst2 with a netCDF lib itself recompiled to include support for HDF5 backend storage. You should not need to touch much code, but plan with some fiddling around to get all the dependencies compiled under Windows.

Nicolas

----- Mail original -----
Envoyé: Vendredi 2 Mars 2018 17:12:43
Objet: netCDF on Windows
Hello,
When I open a netCDF file in the Data Wizard, it indicates that it is
an ASCII file.
Kst Kst-2.0.x-2017.12.13-23.44 Revision
6d33b142ec339c7571b71dea4a85eba199275b7d
which was downloaded from
https://github.com/Kst-plot/kst-build/tree/Kst-32bit-3rdparty-plugins-Qt5
.
The Debug Dialog ‘Data Sources’ tab indicates that the netcdf
datasource DLL is loaded.
Any suggestions as to why a .nc file is being interpreted as ASCII?
Thanks,
Tim Butler
Butler, Timothy
2018-03-05 22:47:02 UTC
Permalink
Hi Nicolas,

I’m trying to read a netCDF-4 file, so it would indeed appear that the lack of HDF5 support is the issue. I’ll try to look into rebuilding from source.

In the meantime, do the linux builds typically have such support? As an experiment, I have an RHEL 7 system available with netCDF and HDF5 libraries installed, so I installed the KST CentOS 7 RPM. But It unfortunately does not recognize my netCDF-4 files either. From the Debug Dialog, it’s clear that the netCDF Reader plugin was not installed.

Thanks for the help,
Tim

From: Nicolas Brisset [mailto:***@free.fr]
Sent: Monday, March 05, 2018 4:53 PM
To: ***@kde.org
Cc: Butler, Timothy <***@umich.edu>
Subject: Re: netCDF on Windows

Hi Tim,

I believe the netCDF library used in the Windows build does not have support for the HDF5 backend format.
Could it be that your .nc files use this?
If so, I fear the only option is to recompile Kst2 with a netCDF lib itself recompiled to include support for HDF5 backend storage. You should not need to touch much code, but plan with some fiddling around to get all the dependencies compiled under Windows.

Nicolas
________________________________
De: "Timothy Butler" <***@umich.edu<mailto:***@umich.edu>>
À: ***@kde.org<mailto:***@kde.org>
Envoyé: Vendredi 2 Mars 2018 17:12:43
Objet: netCDF on Windows
Hello,

When I open a netCDF file in the Data Wizard, it indicates that it is an ASCII file.

I’m running the following version of KST on Windows 7 (64 bit):

Kst Kst-2.0.x-2017.12.13-23.44 Revision 6d33b142ec339c7571b71dea4a85eba199275b7d

which was downloaded from https://github.com/Kst-plot/kst-build/tree/Kst-32bit-3rdparty-plugins-Qt5.

The Debug Dialog ‘Data Sources’ tab indicates that the netcdf datasource DLL is loaded.

Any suggestions as to why a .nc file is being interpreted as ASCII?

Thanks,
Tim Butler

Loading...