original_docstring: 
      Reads a gr3 file and return a Gr3 dict object.
  
      Does not through error if elems are missing.
      
docstring: Reads a gr3 file and return a Gr3 dict object.
  Does not through error if elems are missing.
docstring_tokens: Reads a gr3 file and return a Gr3 dict object . Does not through error if elems are missing .
code: def read_gr3(fname: str) -> Gr3:
      """
      Reads a gr3 file and return a Gr3 dict object.
  
      Does not through error if elems are missing.
      """
      chunks = _hgrid_find_chunks(fname)
      
      # Name, elem/node count, and nodes are by design available
      gr3 = Gr3(header=chunks['header'], nelem=chunks['nelem'], nnode=chunks['nnode'])
      gr3.update(_hgrid_parse_nodes(chunks['nodes']))
  
      # Add the element table only if element is available
      if 'elems' in chunks:
          gr3.update(_hgrid_parse_elements(chunks['elems']))
  
      return gr3
code_tokens: def read_gr3 ( fname : str ) -> Gr3 : chunks = _hgrid_find_chunks ( fname ) gr3 = Gr3 ( header = chunks [ 'header' ] , nelem = chunks [ 'nelem' ] , nnode = chunks [ 'nnode' ] ) gr3 . update ( _hgrid_parse_nodes ( chunks [ 'nodes' ] ) ) if 'elems' in chunks : gr3 . update ( _hgrid_parse_elements ( chunks [ 'elems' ] ) ) return gr3
short_docstring: Reads a gr3 file and return a Gr3 dict object.
short_docstring_tokens: Reads a gr3 file and return a Gr3 dict object .
comment: """
      Reads a gr3 file and return a Gr3 dict object.
  
      Does not through error if elems are missing.
      """$SEP$# Name, elem/node count, and nodes are by design available$SEP$# Add the element table only if element is available