Re: NGDC binary format files
Paul Wessel <[email protected]>
| Newsgroups | gmane.comp.gis.gmt.user |
|---|---|
| Message-ID | <[email protected]> |
Well, it is just a bunch of double binary values with no header info; that is in the separate format documentation (including some roundoffing). Straightforward to make a GMT grid tnough: xyz2grd -R18/60.98/35.4/77.65 -I2580+/2536+ -r 1_arc_a.bin -ZTLd -N99999.99999 -V -Gt.nc -fg It says it is pixel registered but using -I1m -r computes a different nx, ny. So perhaps it is actually gridline registered. -p On Feb 6, 2014, at 1:18 PM, Lester Anderson <[email protected]> wrote: > I have tested the file in GMT and it is not recognised - grdreformat failed to read it even using the GDAL > > Lester > > Date: Thu, 6 Feb 2014 15:13:17 +0000 > From: [email protected] > Subject: Re: [GMT-HELP] NGDC binary format files > To: [email protected] > > Have you tried to blindly use that grid as is in GMT5 and just have faith? > > Joaquim > > Hello, > > I am looking to make GMT grids of the FSU magnetics data but I am not sure how to read it into GMT. > The header file is shown below for the binary file, and looks to be scanline > > Cheers > Lester > file_title = 1 Arc Minute Grid, Region 1 > data_type = image > palette = RAINBOW > data_byte_order = little_endian > map_projection = lat/lon > missing_flag = 99999.99999 > upper_map_y = 77.65 > lower_map_y = 35.4 > left_map_x = 18 > right_map_x = 60.98 > number_of_rows = 2536 > number_of_columns = 2580 > grid_size_y = 0.017 > grid_size_x = 0.017 > grid_unit = degrees > grid_origin = lowerleft_x > grid_cell_registration = center of cell > data_value_unit = millioersteds > mag_anomaly_min = -8849.65760 > mag_anomaly_max = 40586.58700 > mag_anomaly_units = millioersteds > > http://www.ngdc.noaa.gov/geomag/fliers/se-0102.shtml > > To unsubscribe, send the message "signoff gmt-help" to [email protected] > > To unsubscribe, send the message "signoff gmt-help" to [email protected] > To unsubscribe, send the message "signoff gmt-help" to [email protected] To unsubscribe, send the message "signoff gmt-help" to [email protected]