Skip to content

Commit 17ab2de

Browse files
committed
Avoids dual titles in CDFs which trips up SPEDAS
1 parent 62af9e3 commit 17ab2de

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

utilities/das3_cdf.c

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1014,13 +1014,11 @@ DasErrCode writeGlobalProp(struct context* pCtx, const DasProp* pProp)
10141014

10151015
sName = DasProp_cdfGlobalName(pProp);
10161016

1017-
/* Prop filtering,
1018-
1. For global props that start with inst just skip past that part
1019-
2. After that if a prop doesn't start with a papitol letter ignore it
1020-
3. Some
1021-
*/
1017+
/* Prop filtering:
1018+
* If a prop doesn't start with a capitol letter ignore it
10221019
if((strncmp(sName, "inst", 4) == 0)&&(sName[4] != '\0'))
10231020
sName += 4;
1021+
*/
10241022

10251023
if( (sName[0] != toupper(sName[0])) && (strncmp(sName, "spase", 5)!=0) ){
10261024
daslog_debug_v("Ignoring lower-case property '%s' in global area.", sName);

0 commit comments

Comments
 (0)