Fractal Terrains 3 header format with ETOPO1
Hello all,
I'm attempting to use the ETOPO1 data in FT3, but I must be missing or incorrectly defining some parameters. Is there some documentation on the .hdr format, or has somebody successfully been able to import this data? I've gotten ETOPO2 to work (and ETOPO5 that comes with FT3, obviously), but I can't seem to transfer that information. The best I get is just a giant 0 height map.
Here's what I'm using so far:
BYTEORDER I
LAYOUT BIL
NROWS 10800
NCOLS 21600
NBANDS 1
NBITS 16
BANDROWBYTES 43200
TOTALROWBYTES 43200
BANDGAPBYTES 0
NODATA -32768
ULXMAP -180.000000
ULYMAP 90.000000
XDIM 0.01666666667
YDIM 0.01666666667
I'm attempting to use the ETOPO1 data in FT3, but I must be missing or incorrectly defining some parameters. Is there some documentation on the .hdr format, or has somebody successfully been able to import this data? I've gotten ETOPO2 to work (and ETOPO5 that comes with FT3, obviously), but I can't seem to transfer that information. The best I get is just a giant 0 height map.
Here's what I'm using so far:
BYTEORDER I
LAYOUT BIL
NROWS 10800
NCOLS 21600
NBANDS 1
NBITS 16
BANDROWBYTES 43200
TOTALROWBYTES 43200
BANDGAPBYTES 0
NODATA -32768
ULXMAP -180.000000
ULYMAP 90.000000
XDIM 0.01666666667
YDIM 0.01666666667
Comments
The HDR format in FT is something that came with the original ETOPO5 data files from the USGS, I think. I can't recall where it came from, though. As you have no doubt noticed, it's not quite the same format as the HDR files that ship with the ETOPO1 data.
Your HDR file looks good, with the exception that BANDROWBYTES and TOTALROWBYTES should be 43202 and NCOLS should be 21601 (possibly NROWS should be 10801 as well, but I didn't look at it that closely). When FT asks you to load the HDR file, you'll need to set the right and bottom values to +180 and -90, respectively (the slight overage from the roundoff error for XDIM and YDIM causes all manner of havoc internally). Using these settings I was able to get the 16-bit integer bedrock ETOPO1 to load.
Thanks again!