[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDF #CVX-510046]: convert netcdf to dat
- Subject: [netCDF #CVX-510046]: convert netcdf to dat
- Date: Wed, 21 Nov 2012 10:41:43 -0700
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