[Kst] branches/work/kst/portto4/kst/src/datasources/netcdf
Peter Kümmel
syntheticpp at gmx.net
Tue Apr 24 00:49:44 UTC 2012
SVN commit 1291324 by kuemmel:
first save then commit
M +1 -1 netcdfsource.cpp
--- branches/work/kst/portto4/kst/src/datasources/netcdf/netcdfsource.cpp #1291323:1291324
@@ -221,7 +221,7 @@
for (int i=0; i<var->num_atts(); ++i) {
NcAtt *att = var->get_att(i);
// Only handle char/unspecified attributes as fieldStrings, the others as fieldScalars
- if (att->type() == ncChar || att->type() == NC_UNSPECIFIED) {
+ if (att->type() == ncChar || att->type() == ncNoType) {
fieldStrings[att->name()] = QString(att->values()->as_string(0));
}
// qDebug() << att->name() << ": " << att->values()->num() << endl;
More information about the Kst
mailing list