class_docstr: Context manager for working directory.
  
  Parameters:
      dir (str): new working directory
code: def __init__(self, dir):
      self.dir = dir
  
imports: from __future__ import print_function, absolute_import
  import os
  import sys
  import logging
  import tempfile
  from time import time
  from functools import wraps
  import numpy
label_desc: Use image node_id 1 to create a new chdir object from inherited base classes: object with example: obj = chdir(dir)