Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, filename=None):
satpy.channel.GenericChannel.__init__(self)
self._md = {}
self._projectables = []
self._keys = []
self._refs = {}
self.shape = None
if filename:
self.read(filename)
def __init__(self):
satpy.channel.GenericChannel.__init__(self, "CloudType")
self.region = None
self.des = ""
self.cloudtype_des = ""
self.qualityflag_des = ""
self.phaseflag_des = ""
self.sec_1970 = 0
self.satellite_id = ""
self.cloudtype_lut = []
self.qualityflag_lut = []
self.phaseflag_lut = []
self.cloudtype = None
self.qualityflag = None
self.phaseflag = None
def __init__(self):
satpy.channel.GenericChannel.__init__(self, "CloudType")
self.filled = False
self.name = "CloudType"
self.package = ""
self.saf = ""
self.product_name = ""
self.num_of_columns = 0
self.num_of_lines = 0
self.projection_name = ""
self.pcs_def = ""
self.xscale = 0
self.yscale = 0
self.ll_lon = 0.0
self.ll_lat = 0.0
self.ur_lon = 0.0
self.ur_lat = 0.0
self.region_name = ""
def __init__(self, prodname, resolution=None):
satpy.channel.GenericChannel.__init__(self, prodname)
self.filled = False
self.name = prodname
self.resolution = resolution
self.info = {}
self._eoshdf_info = {}
self.shape = None
self.satid = ""
self.orbit = None
self.attr = None
#self.scanline_attrs = {}
self.data = None
self.starttime = None
self.endtime = None
def __init__(self, filename=None):
satpy.channel.GenericChannel.__init__(self)
self.mda = {}
self._projectables = []
self._keys = []
self._refs = {}
self.shape = None
if filename:
self.read(filename)
def __init__(self):
satpy.channel.GenericChannel.__init__(self, "PC")
self.filled = False
self.name = "PC"
self.package = ""
self.saf = ""
self.product_name = ""
self.num_of_columns = 0
self.num_of_lines = 0
self.projection_name = ""
self.pcs_def = ""
self.xscale = 0
self.yscale = 0
self.ll_lon = 0.0
self.ll_lat = 0.0
self.ur_lon = 0.0
self.ur_lat = 0.0
self.region_name = ""
def __init__(self,
name=None,
resolution=0,
wavelength_range=[-np.inf, -np.inf, -np.inf],
data=None,
calibration_unit=None):
GenericChannel.__init__(self, name)
self._data = None
self.wavelength_range = None
if(name is None and
wavelength_range == [-np.inf, -np.inf, -np.inf]):
raise ValueError("Cannot define a channel with neither name "
"nor wavelength range.")
if not isinstance(resolution, (int, float)):
raise TypeError("Resolution must be an integer number of meters.")
self.resolution = resolution
if(not isinstance(wavelength_range, (tuple, list, set)) or
len(wavelength_range) != 3 or
def __init__(self, filename=None):
satpy.channel.GenericChannel.__init__(self)
self._md = {}
self._projectables = []
self._keys = []
self._refs = {}
self.shape = None
if filename:
self.read(filename)