code: def dump_t_coords(dataset_dir, data_dir, dataset, root=None, compress=True):
      
      if root is None:
          root = {}
      tcoords = dataset.GetPointData().GetTCoords()
      if tcoords:
          dumped_array = dump_data_array(dataset_dir, data_dir, tcoords, {}, compress)
          root['pointData']['activeTCoords'] = len(root['pointData']['arrays'])
          root['pointData']['arrays'].append({'data': dumped_array})
docs: dump vtkjs texture coordinates