Re: [decoders] Grib File Data Extraction

NOTE: The decoders mailing list is no longer active. The list archives are made available for historical reasons.


I'm having problems spotting the necessary information in the indexer output.

I ran the indexer and got the output attached at the end.

Presumably this contains the necessary data for input to Grib1GetData,
namely the byte offset,

Grib1GetData [gribFile] [byte offset] [scale] [BMSExists]

But I can't spot the offset for the data section in the output of the indexer.
Where is it?


Indexer output:

index_version = 6.0
grid_edition = 1
location = data/seaTemp1
length = 390002
created = 2008-08-04T17:16:15Z
center = 58
sub_center = 0
table_version = 3
tiles = 1
thin = false
ensemble = false
--------------------------------------------------------------------
0 0 -1 80 78 1 0.0 255 0.0 2008-07-30T12:00:00Z 0 24011925 54 390002 2 false 58 0 3
--------------------------------------------------------------------
GDSkey = 24011925
grid_type = 0
grid_name = Latitude/Longitude Grid
grid_shape_code = 0
grid_shape = spherical
grid_radius_spherical_earth = 6367.47
Nx = 720
Ny = 361
La1 = -90.0
Lo1 = 0.0
ResCompFlag = 128
Winds = Relative
La2 = 90.0
Lo2 = -0.5
Dx = 0.5
Dy = 0.5
ScanningMode = 64


I want to extract data from the data record. Presmumably the Grib1GetData
class does this.




  • 2008 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the decoders archives: