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.
Kunal, > Is there any ways to convert .txt file to .cdl format ????? There are as many way to convert text files to CDL as there are text editors. Familiarity with a text editor is necessary. Depending on what form your text data is in, it may be practical to write a small text editing script to do most of the work. Another tool named Rosetta is under development for converting text data directly into netCDF form: http://www.unidata.ucar.edu/software/rosetta/ Depending on how closely your data resembles the text output of data loggers, it may be practical to use Rosetta to achieve what you want to do. --Russ > address@hidden> wrote: > > > Hi Kunal, > > > > > Here i am using NetCDF for the conversion of .txt file to .cdl. but i am > > > getting the result. Actually i have one .txt file (not CDL format) and > > now > > > i want to convert into .nc file. By NetCDF only .cdl file can convert > > into > > > .nc file but not.txt > > > > > > So please tell me about this > > > > Here's some information on ways to convert text data into netCDF files: > > > > > > http://www.unidata.ucar.edu/software/netcdf/docs/faq.html#converttonetcdf > > > > Other than ncgen, there is no tool that comes with the netCDF C > > distribution > > to convert text to netCDF. > > > > If you can get the text data into Excel, there is a freely available > > plugin that > > can write netCDF from Excel: > > > > https://code.google.com/p/netcdf4excel/ > > > > --Russ > > > > Russ Rew UCAR Unidata Program > > address@hidden http://www.unidata.ucar.edu > > > > > > > > Ticket Details > > =================== > > Ticket ID: WUA-256764 > > Department: Support netCDF > > Priority: Normal > > Status: Closed > > > > > > Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: WUA-256764 Department: Support netCDF Priority: Normal Status: Closed