This writeup describes the format of tapes containing grid analysis data from the U.S. Navy Fleet Numerical Oceanography Center (formerly Fleet Numerical Weather Central). These analyses include the following types of grids:
| Grid Name | Dimensions | Number of Points | Grid Coverage |
|---|---|---|---|
| Northern Hemisphere | 63 x 63 | 3969 | north pole to about 0.2N |
| Southern Hemisphere | 63 x 63 | 3969 | south pole to about 0.2S |
| Northern Hemisphere | 125 x 125 | 15625 | double resolution of 63x63 |
| Southern Hemisphere | 125 x 125 | 15625 | double resolution of 63x63 |
| Global Spherical | 144 x 73 | 10512 | entire globe |
| Global Band | 144 x 49 | 7056 | tropical band 40.9S to 59.7N |
They are packed according to the format given below. The routine GBYTES has been written for several computers, is documented in NCAR TN/IA-93, and makes the unpacking of binary data a simple task.
These grids have not been converted to a standard set of units, partly because of lack of time, and partly because of the loss of precision during such conversions.
| FIELD | form | year | mon | day | hour | pres | var | fore | misca | phys rec | source | stat | bias | scale | miscb |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| BITS PRIOR TO FIELD | 0 | 6 | 13 | 17 | 22 | 27 | 37 | 46 | 55 | 65 | 67 | 73 | 78 | 94 | 110 |
| FIELD WIDTH (BITS) | 6 | 7 | 4 | 5 | 5 | 10 | 9 | 9 | 10 | 2 | 6 | 5 | 16 | 16 | 10 |
where:
| Field | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| form |
|
||||||||||||
| year | year without century, e.g. 65 = 1965 | ||||||||||||
| mon | month, 1 to 12 for January to December | ||||||||||||
| day | day of month, 1 to 31. On a monthly mean grid, this value is 0 - see miscb. | ||||||||||||
| hour | Greenwich mean time of analysis, 00Z, 06Z, 12Z or 18Z | ||||||||||||
| pres | pressure level in millibars. Levels with higher pressure values generally appear first on the tape. Sea level pressure uses 1013. Surface oceanographical is 1013. Surface meteorological is 1001. Upper air levels are: 1000, 925, 850, 700, 500, 400, 300, 250, 200, 100, 50, 30 & 10. See Table 1. | ||||||||||||
| var | variable code such as 1 for heights, 10 for temperatures See Tables 1 and 2 for availability, codes, and units. | ||||||||||||
| fore | 0 for an analysis, non-zero for forecast | ||||||||||||
| misca | unused (intended for second pressure of thickness fields) | ||||||||||||
| phys rec | unused (artifact from old three-record format, the presence of which requires modification of RGRID type inventory) | ||||||||||||
| source | source of the analysis, 3 = U.S. Navy F.N.O.C. | ||||||||||||
| stat | on daily grids this is the grid status or quality:
|
||||||||||||
| bias | the bias value used in packing the data so that all packed values are positive. 32768 for most grids. | ||||||||||||
| scale | scale value used in packing grid values, packed as bias + scale, so that -6 for SST is packed as 32762 | ||||||||||||
| miscb | unused on daily grids. On monthly mean grids this value is the number of days used to make the mean grid. |
| Grid | Number of Points | In Words 4 Through | Unused Bits (0 Padding) |
|---|---|---|---|
| 63 x 63 | 3969 | 1062 | 36 |
| 125 x 125 | 15625 | 4170 | 20 |
| 144 x 73 | 10512 | 2807 | 48 |
| 144 x 49 | 7056 | 1885 | 24 |
The data can be unpacked with the folowing equation, which is used in the RUNAVY routines:
Figures 1 through 6 show the general layout of the grid data points. The indexing for the grids is as follows:
| 63 X 63 | 125 X 125 | |||
|---|---|---|---|---|
| Packed Point | Grid I,J | Packed Point | Grid I,J | |
| 1 | 1,1 | 1 | 1,1 | |
| 2 | 2,1 | 2 | 2,1 | |
| 3 | 3,1 | 3 | 3,1 | |
| ... | ... | ... | ... | |
| 63 | 63,1 | 125 | 125,1 | |
| 64 | 1,2 | 126 | 1,2 | |
| ... | ... | ... | ... | |
| 1985 | 32,32 | 7813 | 63,63 | (Pole) |
| ... | ... | ... | ... | |
| 3967 | 61,63 | 15623 | 123,125 | |
| 3968 | 62,63 | 15624 | 124,125 | |
| 3969 | 63,63 | 15625 | 125,125 | |
| 144 X 73 | 144 X 49 | ||||
|---|---|---|---|---|---|
| Packed Point | Grid I,J | Lat/Lon | Packed Point | Grid I,J | Lat/Lon |
| 1 | 1,1 | 90.0 N, 60.0 E | 1 | 1,1 | 59.7 N, 60.0 E |
| 2 | 2,1 | 87.5 N, 60.0 E | 2 | 2,1 | 58.6 N, 60.0 E |
| 3 | 3,1 | 85.0 N, 60.0 E | 3 | 3,1 | 57.4 N, 60.0 E |
| ... | ... | ... | ... | ||
| 37 | 37,1 | 0.0 N, 60.0 E | 31,1 | 0.0 N, 60.0 E | |
| ... | ... | ... | ... | ||
| 72 | 72,1 | 87.5 S, 60.0 E | 48 | 48,1 | 39.0 S, 60.0 E |
| 73 | 73,1 | 90.0 S, 60.0 E | 49 | 49,1 | 40.9 S, 60.0 E |
| 74 | 1,2 | 90.0 N, 62.5 E | 50 | 1,2 | 59.7 N, 62.5 E |
| ... | ... | ... | ... | ||
| 8759 | 72,120 | 87.5 S, 357.5 E | 5879 | 48,120 | 39.0 S,357.5 E |
| 8760 | 73,120 | 90.0 S, 357.5 E | 5880 | 49,120 | 40.9 S,357.5 E |
| 8761 | 1,121 | 90.0 N, 0.0 E | 5881 | 1,121 | 59.7 N, 0.0 E |
| ... | ... | ... | ... | ||
| 10510 | 71,144 | 85.0 S, 57.5 E | ... | ... | |
| 10511 | 72,144 | 87,5 S, 57.5 E | 7055 | 48,144 | 39.0 S, 57.5 E |
| 10512 | 73,144 | 90.0 S, 57.5 E | 7056 | 49,144 | 40.9.S, 57.5 E |
| Data | Packed Binary Value | Octal | Base 10 | Meaning |
|---|---|---|---|---|
| form | 00011 | 3 | 3 | 63 x 63 grid |
| year | 1000001 | 101 | 65 | 1965 |
| mon | 0110 | 6 | 6 | June |
| day | 11101 | 35 | 29 | 29th |
| hour | 01100 | 14 | 12 | 12Z |
| pres | 0000001010 | 12 | 10 | 1023 - 173 = 850mbs |
| var | 000111010 | 71 | 57 | sea surface temperature |
| fore | 000000000 | 0 | 0 | an analysis |
| misca | 0000000000 | not used | ||
| phys rec | 00 | no longer used | ||
| source | 000011 | 3 | 3 | U.S. Navy |
| stat | 00000 | 0 | 0 | no known problems with the grid |
| bias | 1000000000000000 | 100000 | 32768 | see unpacking formula |
| scale | 0111111111111010 | 77772 | 32762 | Scale = 32762 - 32768 = -6 |
| miscb | 0000000000 | not used on a daily | ||
| base | 60 bits of zero | 0 | 0 | see unpacking formula |
| DP#1 | 1000011001000111 | 103107 | 34375 | = 0 + (34375 - 32768) * 2**(-6) = 25.109 |
The base value in Word 3 will be in the form:
BITS 1 2 12 13 60 ----------------------------------- MEANING sign exponent magnitude -----------------------------------
| Value | 7600 Representation (Octal) |
|---|---|
| -2.000 | 60563777777777777777 |
| -1.000 | 60573777777777777777 |
| 0.0 | 00000000000000000000 |
| 1.000 | 17204000000000000000 |
| 2.000 | 17214000000000000000 |
| 3.125 | 17216200000000000000 |
| 301100.000 | 17424460260000000000 |
| 11300.000 | 17355411000000000000 |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||