Elaheh, > Thanks for your reply. Yes, I would like to convert netcdf to .dat format. I > need this format (.dat) to make calculation in fortran. Could you please tell > me how can I use the netcdf file (ex.omega) Âfor calculation in fortran? To use netCDF data for calculation in a Fortran program, we provide a netCDF Fortran programming interface and library. You need to install the netCDF Fortran library and then call netCDF Fortran functions to read the data into Fortran arrays. There are some example programs for writing and reading netCDF data in Fortran by following links on this page: http://www.unidata.ucar.edu/netcdf/examples/programs/ You will see examples in Fortran-77 and Fortran-90, corresponding to the two Fortran library interfaces we provide. The full documentation for the two Fortran netCDF libraries is here: http://www.unidata.ucar.edu/netcdf/docs/netcdf-f77.html http://www.unidata.ucar.edu/netcdf/docs/netcdf-f90.html To download, build, and install the netCDF Fortran libraries, you will need to follow these instructions: http://www.unidata.ucar.edu/netcdf/docs/netcdf-fortran-install.html Just to repeat what I said in the earlier response, I don't know of any software to convert netCDF data to .dat format, and I don't believe such software exists. --Russ > From: Unidata netCDF Support <address@hidden> > To: address@hidden > Cc: address@hidden > Sent: Tuesday, November 20, 2012 8:50 AM > Subject: [netCDF #CVX-510046]: convert netcdf to dat > > Hi Elaheh, > > > Could you pleaseÂ tell me how I can convert netcdf to dat? I wantÂ to > > convert the daily data of Âvertical velocity (omega) to dat. I really > > appreciate for your help. > > Sorry, but I don't understand what you mean by "dat".Â Wikipedia says this > about files with > a ".dat" extension: > > Â .dat â not specific file type, often generic extension for "data" files > for a variety of applications > Â http://en.wikipedia.org/wiki/List_of_file_formats > > I don't think converting netcdf to dat, is a well-defined conversion. > > If you just want to see text versions of netCDF data, see this FAQ: > > Â How do I convert netCDF data to ASCII or text? > Â http://www.unidata.ucar.edu/software/netcdf/docs/faq.html#converttotext > > --Russ > > Russ RewÂ Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â UCAR > Unidata Program > address@hidden Â Â Â Â Â Â Â Â Â Â http://www.unidata.ucar.edu > > > > Ticket Details > =================== > Ticket ID: CVX-510046 > Department: Support netCDF > Priority: Normal > Status: Closed > Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: CVX-510046 Department: Support netCDF Priority: Normal Status: Closed
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.