B.2.1.5 Base

bases Count number of bases
nbases:I=bases()
  $\rightarrow$ The 'nbases' attribute has the same contents. 
baseread Get infos about a given base
(base-idx:I,base-name:S,cell-dim:I,phys-dim:I)=baseread(base-idx:I)
  $\rightarrow$ Arg is base id, returns a tuple with base information. 
basewrite Create a new base in an existing CGNS file
base-idx:I=basewrite(base-name:S,cell-dim:I,phys-dim:I)
  $\rightarrow$ Args are base name, cell and physical dimensions.Returns the new id of the created base