Binary File Conversion: Big Endian to Small Endian
Utility to Convert Binary Files from Big Endian to Small Endian
Most of the EGM2008-derived products have been created on a computer that employs Big Endian internal binary representation. To accommodate users who wish to use these products on computers that employ Small Endian binary representation, we provide the FORTRAN program "make_SE.f" below, which may be used to convert sequential binary files containing words that are 4-bytes long, from Big Endian to Small Endian representation. Before using any of the files and programs on this web page, please read the disclaimer.
- make_SE.f (12 KB) - FORTRAN program to convert sequential binary files containing words that are 4-bytes long, from Big Endian to Small Endian representation. When compiled and run, this program prompts the user for the pathname/filename of the Big Endian file, then converts the file to a file in the same directory with the "_SE" extension attached to it. The converted Small Endian file will have the same number of bytes. The program ends with statistics of the geographic region entered. This version of the code is setup to convert a global BIG Endian binary file at 2.5x2.5 minute center of cell locations, and will require slight modification to run using a file of different cell size (e.g. 5.0x5.0 minutes).
- make.Dg01_cnt2.5x2.5_EGM08_to2190_WGS84_ell_nh_SE (12 KB) - Output from the execution of "make_SE.f" program using a 2.5x2.5 minute global grid, which can be downloaded from the page: EGM2008 Gravity Anomalies & DOV Data.
- make.Dg01_mean5.0x5.0_EGM08_to2190_WGS84_ell_nh_SE (12 KB) - Output from the execution of "make_SE.f" program using a 5.0x5.0 minute global grid, which can be downloaded from the page: EGM2008 Gravity Anomalies & DOV Data.
- The development and evaluation of the Earth Gravitational Model 2008 (EGM2008) - Nikolaos K. Pavlis, Simon A. Holmes, Steve C. Kenyon, John K. Factor; Journal of Geophysical Research: Solid Earth (1978-2012) Volume 117, Issue B4, April 2012
- EGM2008 JGR Erratum
- An Earth Gravitational Model to Degree 2160: EGM2008 (NPavlis&al_EGU2008.ppt - 18.5 MB) - Presentation given at the 2008 European Geosciences Union General Assembly held in Vienna, Austria, April13-18, 2008.
- Background Papers from Earlier Symposiums on the New EGM
Please provide comments, suggestions, and feedback to the contacts below as we strive to improve our EGM2008 products. Thank you!
|Dr. Nikolaos Pavlis
NGA, Geodesy and Geophysics Basic and Applied Research
|NGA Office of Geomatics (SN)
EGM2008 Development Team
phone (314) 676-9127, DSN 846-9127
Document last modified April 29, 2013