NuSDaS User's Guide

Elementmap

Elementmap defines whether a certain element is allowed or not for certain combination of member, valid time, and plane. To understand elementmap, first think of a bitmap of size M * V * P (or Fortran logical array with DIMENSION(P, V, M)), where M, V, P are total number of members, valid times, and planes. For each bit, '1' declares that the element is allowed, and '0' does oppositely. Elementmap written in the definition file is the bitmap in a kind of run-length-encoding (RLE) compression.

The syntax of elementmap is written in BNF as follows:

They are interpreted as follows:

The author admits the rule above is far from human understanding. Indeed, terms vtime_loop or member_loop are hardly used. If you are not sure, declare elements with contiguous_line. It will look like following:

element 4
elementmap PSEA 0
elementmap T 0
elementmap U 0
elementmap V 0

Allowing too much data records does not mean increase of data file size or data access speed/latency. Thus you can safely declare elements with 'no limitation' settings.