Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.
Does anyone out there use netcdf? I'm having trouble understanding how to enter character data in cdl. An example follows. I understand that the values for frame_labels will get concatenated according to the documentation (and they do - even though this seems useless). How do I write what I want: a separate frame_label string for each frame? Do I pad the strings with something to a fixed length? Can I pad them with NULLs (this didn't seem to work)? Shouldn't there be something that says "fill the rest of this row with the fill value and go to the next row"? Does hdf handle string values any better? Thanks, Charles ---------------------------------------------------------------------- netcdf reference_vectors { dimensions: frame_order = unlimited, gsp_order = 34, maxstr = 256; variables: char gsp_method(maxstr); char filter_bank_name(maxstr); char frame_labels(frame_order, maxstr); float cum_occurrences(frame_order); float gsp_mean(frame_order, gsp_order); data: gsp_method = "PFV3B"; filter_bank_name = "14mel_5sf"; frame_labels = "z_20_m$F_1","z_20_m$F_2","z_20_m$F_3","z_20_m$F_4"; cum_occurrences = 36,57,70,69; gsp_mean 21.7875,7.74241,8.66473,0.388889,-5.04235,-3.08896,-1.74147,-3.61841,-5.49785,-5.34686,-4.08866,-3.07678,-2.8259,-4.12849,-2.67928,-0.503292,3.22474,0.187148,4.43205,-0.444444,-7.53654,-9.46333,-10.0224,-7.69426,-6.51814,-7.04793,-6.32303,-4.12963,-3.21826,-3.24844,-2.73068,2.74124,7.68953,7.33419, 29.5953,3.21938,14.18,0.140351,-9.7752,-9.15869,-8.63526,-8.68209,-8.95611,-8.85892,-7.79619,-6.57918,-6.68071,-6.99217,-5.50741,-1.77646,3.69807,4.15545,3.65012,0.0175439,-1.20906,-1.46468,-1.63575,-1.23916,-0.91178,-0.973545,-1.15497,-0.584048,-0.634438,-0.994669,-1.18099,-1.54242,-0.844366,1.53127, 38.872,2.4531,22.591,0.142857,-10.0106,-9.51444,-9.17773,-9.37584,-9.70053,-9.69674,-8.86966,-7.81726,-7.9155,-8.1731,-6.8747,-4.25666,2.4159,5.45804,2.37947,0.128571,0.731819,1.3149,1.77308,1.10868,0.33226,0.0872116,0.84582,1.84666,1.014,0.509124,1.60823,0.154833,-0.115888,-0.875624, 35.8214,7.28816,19.9316,0.608696,-6.57952,-4.2642,-2.31193,-4.94343,-7.55984,-8.18946,-5.67999,-1.5617,-3.9313,-6.05246,-1.91917,-1.95682,2.55915,0.801459,2.12246,0.753623,5.84431,8.95068,12.3905,7.23373,3.05967,2.0833,4.12676,8.18418,4.07087,2.14902,4.92919,0.13154,-4.17366,-8.00068; }
netcdfgroup
archives: