This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Mutlu Ozdogan <address@hidden> writes: > Hi Ed, > > sorry for not being clear.. Yes all I want to do is to convert my raw > binary image data to netCDF. I thought I could use the C code generated > out of ncgen to that. But I realize that ncgen with the -c option > requires an input file (which I call the cdl file) and this input file > must contain data in it already.. > > I am beginning to think that I am misunderstanding this whole ncgen and c > file idea. > > To make things clear would you be able to give me the steps (or give me > the code if you have one ) to convert a raw binary image to netCDF file? > > Thank you for your time.. > > Cheers, > > Mutlu.. > This depends on the content of you binary file. Ed -- Ed Hartnett -- address@hidden