def __init__(self, config_name, utdate, recipe_name="", ensure_dir=False): from igrins_config import IGRINSConfig if isinstance(config_name, str): self.config = IGRINSConfig(config_name) else: self.config = config_name self.utdate = utdate self.refdate = self.config.get("MASTER_CAL", "REFDATE") self._igr_path = IGRINSPath(self.config, utdate, ensure_dir=ensure_dir) self._igr_storage = PipelineStorage(self._igr_path) self.recipe_name = recipe_name