Discussion:
[Kst] kst2 can not open netcdf files
Alexander Poddey
2016-07-23 19:21:59 UTC
Permalink
Hi all,
I made a small test with the default code from netcdf examples:
http://www.unidata.ucar.edu/software/netcdf/docs/simple_xy_wr_8c-example.html

When I open that file using the wizard, available data is empty except the
auto-created INDEX.
This happens to me for every .nc file I'm writing, independet of old or new
(netcdf4) format.

However, the example file (netcdf4) from here:
http://www.unidata.ucar.edu/software/netcdf/examples/OMI-Aura_L2-example.nc
can be opened.

When I try to open the hgroup example file:
http://www.unidata.ucar.edu/software/netcdf/examples/test_hgroups.nc
kst crashes.

Any guess why I can't see the data in the file written by the example code?

Thx
Alex

my kst version is kst2.0.3 which is included in debian wheezy.
Brisset, Nicolas
2016-07-25 07:22:32 UTC
Permalink
Hi Alex,

I'm not 100% sure, but I guess the netcdf library you're using may be compiled without support for HDF5, which is required for some netcdf files using this as backend.
Generally speaking, if the netcdf utilities packaged by your distribution see the variables (try ncdump -h) then Kst should see them too. If it's not the case, you may have to find other packages or compile Kst yourself. Note that 2.0.3 is quite old and it is highly recommended to use a newer version (2.0.8).

Nicolas

-----Message d'origine-----
De : Kst [mailto:kst-***@kde.org] De la part de Alexander Poddey
Envoyé : samedi 23 juillet 2016 21:22
À : ***@kde.org
Objet : [Kst] kst2 can not open netcdf files

Hi all,
I made a small test with the default code from netcdf examples:
http://www.unidata.ucar.edu/software/netcdf/docs/simple_xy_wr_8c-example.html

When I open that file using the wizard, available data is empty except the auto-created INDEX.
This happens to me for every .nc file I'm writing, independet of old or new
(netcdf4) format.

However, the example file (netcdf4) from here:
http://www.unidata.ucar.edu/software/netcdf/examples/OMI-Aura_L2-example.nc
can be opened.

When I try to open the hgroup example file:
http://www.unidata.ucar.edu/software/netcdf/examples/test_hgroups.nc
kst crashes.

Any guess why I can't see the data in the file written by the example code?

Thx
Alex

my kst version is kst2.0.3 which is included in debian wheezy.
_______________________________________________
Kst mailing list
***@kde.org
https://mail.kde.org/mailman/listinfo/kst

This mail has originated outside your organization, either from an external partner or the Global Internet.
Keep this in mind if you answer this message.



The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other than the addressee. Access to this e-mail by anyone else is unauthorised.
If you are not the intended recipient, please notify Airbus immediately and delete this e-mail.
Airbus cannot accept any responsibility for the accuracy or completeness of this e-mail as it has been sent over public networks. If you have any concerns over the content of this message or its Accuracy or Integrity, please contact Airbus immediately.
All outgoing e-mails from Airbus are checked using regularly updated virus scanning software but you should take whatever measures you deem to be appropriate to ensure that this message and any attachments are virus free.
Loading...