class_docstr: Extracts data from a dataset file and saves a JSON sequence
      
class_docstr_tok: ["Extracts","data","from","a","dataset","file","and","saves","a","JSON","sequence"]
docstr: Initialize tool
  
  Parameters
  ----------
  func : callable
      A function or other callable object that takes a dataset and
      yields JSON serializable objects.
docstr_tok: ["Initialize","tool","Parameters","--","--","--","--","--","func",":","callable","A","function","or","other","callable","object","that","takes","a","dataset","and","yields","JSON","serializable","objects","."]
code: def __init__(self, func):
      """Initialize tool
  
      Parameters
      ----------
      func : callable
          A function or other callable object that takes a dataset and
          yields JSON serializable objects.
      """
      self.func = func
  
imports: import json
  import rasterio
  from rasterio.features import dataset_features
label_desc: Use image node_id 1 to create a new JSONSequenceTool object  with example: obj = JSONSequenceTool(func)