def __init__(self,context,MCsteps=1000,parallel_cores=1): self._measurement_function_factory = InterpolationFactory() self.prop = PropagateUnc(context, MCsteps, parallel_cores=parallel_cores) self.templ = DataTemplates(context=context) self.writer=HypernetsWriter(context) self.plot=Plotting(context) self.context=context
def __init__(self, context): self.context = context self.templ = DataTemplates(context=context) self.writer = HypernetsWriter(context) self.avg = Average(context) self.intp = Interpolate(context, MCsteps=1000) self.plot = Plotting(context) self.rhymeranc = RhymerAncillary(context) self.rhymerproc = RhymerProcessing(context) self.rhymershared = RhymerShared(context)
def __init__(self, context): dir_path = os.path.dirname( os.path.dirname(os.path.dirname(os.path.realpath(__file__)))) self.path_ascii = os.path.join(dir_path, 'calibration_files_ascii', 'HYPSTAR_cal') self.path_netcdf = os.path.join( dir_path, 'hypernets_processor/calibration/calibration_files', 'HYPSTAR_cal') context.set_config_value("product_format", "netcdf") self.templ = DataTemplates(context) self.writer = HypernetsWriter(context) self.context = context
def __init__(self, context, MCsteps=1000, parallel_cores=1): self._measurement_function_factory = ProtocolFactory(context=context) self.prop = PropagateUnc(context, MCsteps, parallel_cores=parallel_cores) self.templ = DataTemplates(context=context) self.writer = HypernetsWriter(context) self.avg = Average(context) self.calibrate = Calibrate(context) self.plot = Plotting(context) self.context = context self.rh = RhymerHypstar(context) self.rhp = RhymerProcessing(context) self.rhs = RhymerShared(context)
def __init__(self, context): self.context = context self.model = self.context.get_config_value("model").split(',') self.templ = DataTemplates(context) self.writer = HypernetsWriter(context=context) cckeys = [ 'mapping_vis_a', 'mapping_vis_b', 'mapping_vis_c', 'mapping_vis_d', 'mapping_vis_e', 'mapping_vis_f' ] ccvalues = [] for i in range(len(cckeys)): ccvalues.append(self.context.get_config_value(cckeys[i])) self.cc_vis = dict(zip(cckeys, ccvalues))
def __init__(self, context): self.templ = DataTemplates(context=context) self.context = context self.writer = HypernetsWriter(context)