Subject: Re: NETCDF TO IEEE FORMAT
From: Peter Paul Smolka (smolka@uni-muenster.de)
Date: Thu Apr 19 2001 - 02:51:09 MDT
On Wed, 18 Apr 2001, Brian Eaton wrote:
> Date: Wed, 18 Apr 2001 16:03:34 -0600 (MDT)
> From: Brian Eaton <eaton@ncar.ucar.edu>
> To: Wolfgang Buermann <buerman@crsa.bu.edu>
> Cc: ccm-users@UCAR.EDU
> Subject: Re: NETCDF TO IEEE FORMAT
>
> Hi Wolfgang,
>
> I'm not aware of any general purpose software for converting netCDF files
> to CCM history file format. I'd suggest that your best option is to write
> a very specific Fortran code to read the netCDF data (using the netCDF
> Fortran API) and write the Fortran records in CCM history format. The
> format is documented in the CCM3 User Guide (the format is unchanged from
> CCM2 through CCM3.6.6).
Hi,
a short suggestion:
1) Apply ncdump to generate a clear ASCII file from the netCDF.
ncdump.exe and ncgen.exe is on several servers that provide the
netCDF code.
2) as well as Brian suggested: A small program.
If needed I can send you one that READS the history file format
(= not netCDF but "history format in the sense of the manual").
Then you would have to change READ to WRITE statements and make sure
your compiler is able to handle records with the attribute
"varying". Both the WATCOM and the DEC (Compaq) compilers are able
to do this; about others I don t know.
Best regards, Peter.
>
> Regards,
> Brian
>
> On Tue, 17 Apr 2001, Wolfgang Buermann wrote:
> > I need to convert the SST data (pcmdi_sst_ccm_bcT42_1977_1998.012000.nc)
> > from its netcdf format to the IEEE format in order to do model runs with
> > CCM3.2. Any help or pointing towards conversion software is highly
> > appreciated.
>
>
> Brian Eaton | email: eaton@ucar.edu
> Climate Modeling Section |
> National Center for Atmospheric Research |
> P.O. Box 3000, Boulder, CO 80307 |
>
>
>
**********************************************************************
Dr. Peter P. Smolka
University Muenster
Geological Institute
Corrensstr. 24
D-48149 Muenster
Tel.: +49/251/833-3989 +49/2533/4401
Fax: +49/251/833-3989 +49/2533/4401
E-Mail: smolka@uni-muenster.de
E-Mail: PSmolka@T-Online.de
**********************************************************************
This archive was generated by hypermail 2b27 : Tue Jan 22 2002 - 11:15:46 MST