Skip to content
Peter Teuben edited this page Apr 7, 2024 · 2 revisions

The table V2 I/O library has made it a lot easier to interact with tables, though there remains a difference between in-memory and streaming tables.

Recently both tabcols and tabrows have been converted to use in-memory table I/O, but needs some work:

  • tabrows still needs an nmax= to work around the parsing of select=

  • tabcols has a similar restriction, but uses MAX_COL internally. We need a generic nemoinp style parser but without the restriction of having to know the max number of elements. See also nemoinp with a similar restriction.

  • select= contains a comma separated series of strings that look like 'num2', or 'num1:num2', or 'num1:num2:num3', or 'num2::num4' The simple way is to find the max of the possible "num2" values, and allocate that array to contain the select values. More compact is to count each of these ways and parse them directly into this array. This is likely to not work well with nemoinp

Clone this wiki locally