How to read files "DAF" (double-precision file) "transfer"?

I downloaded some data in the DAF “transfer” format, which NASA does not fully explain here:

http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/req/daf.html#Conversion%20and%20Transfer%20of%20DAF%27s

How to read this file. Here are the first few lines I'm trying to understand:

 
DAFETF NAIF DAF ENCODED TRANSFER FILE 
'DAF/SPK ' 
'2' 
'6' 
'NIO2SPK                                                     ' 
BEGIN_ARRAY 1 3895604 
'URA111                                  ' 
'-BC186A96D0E76^8' 
'BC0DDF032F041^8' 
'2BD' 
'7' 
'1' 
'3' 
1024 
'-BC18166^8' 
'FD2^4' 
'-DA4A19AC2BCD18^4' 
'-4D5E7E1A67739^4' 
'1D46248537C30E^5' 
'EBA587DFA5E3B^3' 
'-26885CE73CB0D^4' 
'-BF0DC6EDB5B2C8^2' 
'129C1CFEABE48^3' 
'5594FC676368^1' 
'-472EBF2225A^1' 
'-2198AE1963D^0' 
'79CC4CA0C^-1' 
'FDD9792D82^-2' 
'2001D81A^-2' 
'333BCEE2BDD724^4' 
'-D78AA10831D9C8^4' 
'-6D712677574DF8^4' 
'283A14783CDC^4' 
'90AC22194ABF6^3' 
'-1DEF6219F664FE^3' 
'-47318F604096^2' 
'9B805F405B1C^1' 
'1275B947E2AC^1' 
'-16A664664D^0' 
'-2F614B9F5^-1' 
'-B7C3E41D^-3' 
'2F3D71F8^-3' 

According to NASA, this / was a popular format for Fortran programs, but google didn't help at all (wikipedia has no entry or).

+4
source share
2 answers

This document (located on ucla.edu) has a full description of the file format.

, python Github. , DAFTB, .

. () , - , , . , .

, . , ( , , ), , , .

, , (. ), .

+1

, , , , , , . , ( 162 ) ura111.bsp :

http://naif.jpl.nasa.gov/pub/naif/generic_kernels/spk/satellites/

ura111.xsp toxfr :

http://naif.jpl.nasa.gov/pub/naif/utilities/SunIntel_32bit/

:

http://naif.jpl.nasa.gov/pub/naif/generic_kernels/spk/satellites/ura111.cmt

http://naif.jpl.nasa.gov/pub/naif/generic_kernels/spk/satellites/ura111.inp

.

, "-BC18166 ^ 8", , IEEE-754. :

http://en.wikipedia.org/wiki/IEEE-754

IEEE-754-to-decimal-, :

http://www.h-schmidt.net/FloatConverter/ ( )

/ NASA, .

"-BC18166 ^ 8" :

  • "BC18166" - 197230950

  • 16 , 1 ( , 16 ^ ( "BC18166" )), 0.734742544591427

  • "^ 8" , 16 ** 8, 3155695200

  • "-" , , -3155695200

, 2 3 197230950 16.

@klugerama, , , , Perl, , .

NASA, ( Earth ) :

ftp://ssd.jpl.nasa.gov/pub/eph/planets/ascii/

.

+1

Source: https://habr.com/ru/post/1524930/


All Articles