def __init__(self, dataset_name: str, query: str, **kwargs):
     self.dataset_name: str = dataset_name
     self.dataset_config: DatasetConfig = DatasetConfig(dataset_name)
     self.query: dict = query
     self.format: str = kwargs['format']
     self.dpi: int = int(kwargs['dpi'])
     self.size: str = kwargs['size']
     self.plotTitle: str = None
     self.compare: bool = False
     self.data = None
     self.time: int = None
     self.variables = None
     self.variable_names = None
     self.variable_units = None
     self.scale = None
     self.date_formatter = None
     # Init interpolation stuff
     self.interp: str = "gaussian"
     self.radius: int = 25000  # radius in meters
     self.neighbours: int = 10
     self.filetype, self.mime = utils.get_mimetype(kwargs['format'])
     self.filename: str = utils.get_filename(
         self.plottype,
         dataset_name,
         self.filetype
     )
 def __init__(self, dataset_name, query, format):
     self.dataset_name: str = dataset_name
     self.query: dict = query
     self.format: str = format
     self.dpi: int = 72
     self.size: str = '11x9'
     self.plotTitle: str = None
     self.compare: bool = False
     self.data = None
     self.variable_names = None
     self.variable_units = None
     self.scale_factors = None
     # Init interpolation stuff
     self.interp: str = "gaussian"
     self.radius: int = 25000  # radius in meters
     self.neighbours: int = 10
     self.filetype, self.mime = utils.get_mimetype(format)
     self.filename = utils.get_filename(self.plottype, dataset_name,
                                        self.filetype)