NuSDaS User's Guide

v1.0 DATA record

See v1.0 Record Format Tables for the record structure outside of payload.

v1.0 DATA NONE record

Table 5a: NuSDaS v1.0 DATA NONE Record Format (only Payload shown)
OffsetLengthTypeDescription
bytebyte
164charactermember name
208integer [2]valid times
2812character [2][6]plane names
406characterelement name
462---reserved
482 * 4integer[2]nx and ny: number of grid points in X and Y directions
564characterpacking scheme such as "2PAC"
604character"NONE"
64......PACKED DATA: see following description

v1.0 DATA UDVF record

Table 5b: NuSDaS v1.0 DATA UDFV Record Format (only Payload shown)
OffsetLengthTypeDescription
bytebyte
164charactermember name
208integer [2]valid times
2812character [2][6]plane names
406characterelement name
462---reserved
482 * 4integer[2]nx and ny: number of grid points in X and Y directions
564characterpacking scheme such as "2PAC"
604character"UDFV"
64(various)integer/floatingmissing value
.........PACKED DATA: see following description

v1.0 DATA MASK record

Table 5c: NuSDaS v1.0 DATA MASK Record Format (only Payload shown)
OffsetLengthTypeDescription
bytebyte
164charactermember name
208integer [2]valid times
2812character [2][6]plane names
406characterelement name
462---reserved
482 * 4integer[2]nx and ny: number of grid points in X and Y directions
564characterpacking scheme such as "2PAC"
604character"MASK"
644integern_ms: number of bytes used for mask bitmap
68n_msbitmapmask bitmap
.........PACKED DATA: see following description

v1.0 Packed Data Format

When the packing scheme is 1PAC, 2PAC, or 2UPC, two 4-byte floating-point field base and amp is followed by an array of packed type. See Reference Manual about the packed type. Unpacking is adding base after multiplying amp.

When the packing scheme is 4PAC, it is similar to 2PAC but base and amp is 8-byte floating-point value.

When the packing scheme is RLEN, three 4-byte integer field nbit, maxv, num is followed by octet stream containing compressed bit stream.

When the packing scheme is GRIB, the GRIB octet stream itself will be the packed data; although this feature is not implemented yet.

Otherwise, the packed data is array of packed type. Note that if the packing scheme is 'N1I2' the packed value is 10 times of unpacked value.