[Thread Prev][Thread Next][Index]
Re: [ferret_users] saving files: real*4 saved as real*8
Hi Bob,
It is only the netCDF coordinate variables that are saved as REAL*8.
There is no way to alter that behavior. However, if it is vital for you
to have these coordinates stored also as REAL*4, you need only define a
dependent variable (for example)
LET my_real4_longitudes = X[g=<my_variable>]
and add this variable to the list of variables that you SAVE in your
netCDF file from Ferret.
- steve
=================================================
Bob Tomas wrote:
Hello
I am reading in binary data, real*4, and saving the data using
save/file = netCDF_file.nc phi
where phi is my data. When I do an ncdump -h of netCDF_file.nc I see
that ferret saved the data as real*8 values. Is there someway
to have ferret save the data as real*4's?
Bob
-------------------------------------------------------------
Robert A. Tomas
National Center for Atmospheric Research
Climate and Global Dynamics Division - Paleoclimatology
1850 Table Mesa Drive
Boulder, CO 80305-3000
e-mail: tomas@ucar.edu tel: 303-497-1342 fax: 303-497-1348
--
--
Steve Hankin, NOAA/PMEL -- Steven.C.Hankin@noaa.gov
7600 Sand Point Way NE, Seattle, WA 98115-0070
ph. (206) 526-6080, FAX (206) 526-6744
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement