[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20040926: netCDF Fortran (77 + 90) - help with reading netcdf files



>From: "venkatasivaram" <address@hidden>
>Organization: ?
>Keywords: 200409262302.i8QN2xCl006532  netCDFNCAR reanalysis

Hi,

>Institution: western michigan university
>Package Version: latest
>Operating System: windows xp, sun microsystems
>Hardware Information: pentium 4, 2.80 GHZ
>Inquiry: I ahve downloaded u-wind component files via ftp fronm your website
>(NCEP/NCAR reanalysis files) for 1980-2000.

Actually, that is not a Unidata web site, but, rather an NCAR/SCD one.

>I am interested in opening them to see ASCII values of those files, but i am 
>unable to run the fortran and other programs which are supposed to open those
>netcdf files and show them in ascii format( show the actual values)
>please could you help me, as i am running out of time for my research

Which Fortran program(s) are you trying to run?

The quickest way for you to get a listing of data from a netCDF in
ASCII format is by using the netCDF utility 'ncdump'.  'ncdump' is
contained in all binary distributions of the netCDF, so you should be
able to simply download a binary distribution for the platform you want
to run on (e.g., Sun Solaris and/or Windows), unpack the distribution,
adjust the search PATH for your environment so that 'ncdump' will be
found, and then use 'ncdump' to list out the contents of your netCDF
files in ASCII format.  The lists you get from 'ncdump' may not be in
the form that you are most interested in, but the listing(s) should get
you moving in the right direction.

>thank you

No worries.

Cheers,

Tom Yoksas
--
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.