Importing RAW BATHYMETRY error

reaper7reaper7 Global Mapper UserPosts: 1
edited April 2013 in Elevation Data
Hi I'm trying to import the following bin file gebco_bathy.21601x10801.bin from:
http://visibleearth.nasa.gov/view.php?id=73963

BMNG file repository are made of 8bit unsigned binary files, structured as 3 Channels X 86400 columns X 43200 lines. No header data, no ASCII text data in these files. You read the files as a byte array with 3 dimensions: 3x86400x43200 where the first dimension are the RGB (Red Green Blue) color triplets of the image, the second dimension are the number of columns (X dimension) and the third dimension are the number of lines (Y dimension). The image starts with 3 bytes of the RGB values of the northernmost and westernmost pixel. The next 3 values are the RGB values of the one pixel to the east of the first pixel. And so on. Geographic projection with a regular grid spacing of 0.004166667 degrees per pixel.

Using the following but not sure if its correct in a .hdr file located in the same directory:

BYTEORDER M
LAYOUT BIL
NROWS 43200
NCOLS 86400
NBANDS 1
NBITS 8
ULXMAP -180
ULYMAP +90
XDIM 0.00416666666667
YDIM 0.00416666666667

Gives the following error:

Error loading C:\Users\John\Downloads\Compressed\gebco_bathy.21601x10801.bin\gebco_bathy.21601x10801.bin
GRIBOverlay.cpp - 787

Comments

Sign In or Register to comment.