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

950901: NETCDF



>From: address@hidden (Chris Fischer)
>Organization: NCAR/?
>Keywords: 199509011836.AA11182 netCDF

Chris,

>   I have a question about NETCDF.  What I want to do is write cray real*8
>to a real*4 on a NETCDF file.  Is the conversion from 8 bytes to 4 bytes
>done in a library, or do I need to do it in my own code?

Why not just "copy" the REAL*8 variables to REAL*4 ones before using them
in a netCDF write?  This lets the CRAY Fortran library do all of the work.

Tom Yoksas