comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » CDF question
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
CDF question [message #5405] Wed, 27 December 1995 00:00 Go to previous message
thompson is currently offline  thompson
Messages: 584
Registered: August 1991
Senior Member
Please excuse me if this is a little outside the scope of this newsgroup, but I
couldn't find one specifically for Common Data Format.

I'm reading some FITS binary table files that were converted from CDF format.
The original CDF files have descriptions such as

!----------------------------------------------------------- --
! Variable Data Number Record Dim
! Name Type Elements Variance Variance
! ------- ---- -------- -------- --------
"LAT_SPACE" CDF_REAL8 1 T F

! Attribute Data Value
! Name Type
!----------- ----- ------
"FIELDNAM" CDF_CHAR { "Heliographic Lat of the Craft" }
"VALIDMIN" CDF_REAL8 { -1.570796327 }
"VALIDMAX" CDF_REAL8 { 1.570796327 }
"SCALEMIN" CDF_REAL8 { -1.570796327 }
"SCALEMAX" CDF_REAL8 { 1.570796327 }
"LABLAXIS" CDF_CHAR { "Helio Lat" }
"UNITS" CDF_CHAR { "rad" }
"FORMAT" CDF_CHAR { "F7.3" }
"DEPEND_0" CDF_CHAR { "Epoch" }
"FILLVAL" CDF_REAL8 { -1.0E31 }
"VAR_TYPE" CDF_CHAR { "data" }
"DICT_KEY" CDF_CHAR { " " }.

It appears that the data in the FITS binary table file has the same resolution
as that given in the FORMAT statement, rather than the full resolution of the
Real*8 data type. In the above example, the numbers are quantized to 0.001
radians, even though the double precision numbers are theoretically much more
precise than this.

I'm not very familiar with CDF, so I have some simple questions:

1. Are all CDF files written out to the resolution given by the FORMAT
statement? Or is there a mode of writing CDF files that automatically
applies this quantization?

2. If not, is it possible that the process of reading the CDF file
unintentionally quantized the values? In other words, is there a mode of
reading CDF files that automatically applies this quantization?

3. Failing the above two possibilities, is it standard practice for CDF files
written by some of the groups here at Goddard to write out data to a
quantization given by the FORMAT specification.

Please excuse these possibly naive questions.

Thank you,

Bill Thompson
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: spline_p help
Next Topic: CW_PDMENU, changing

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 07:22:13 PDT 2025

Total time taken to generate the page: 0.96144 seconds