Commit 45db3bec authored by R.K.Garcia's avatar R.K.Garcia
Browse files

add .instrument_type to match PugFile

parent f77546f0
......@@ -319,6 +319,10 @@ class HimawariAHIasCMIP(object):
meta = self._hs.metadata
return meta.central_wavelength * 1e6
@property
def instrument_type(self):
return "%s Advanced Himawari Imager" % self.satellite_name
@property
def time_span(self):
meta = self._hs.metadata
......@@ -342,7 +346,7 @@ class HimawariAHIasCMIP(object):
spatial_resolution="%.1fkm at nadir" % (np.round(self.resolution_nadir_meters / 100.0) / 10.0),
orbital_slot=self.orbital_slot,
platform_ID=self.platform_id,
instrument_type="%s Advanced Himawari Imager" % self.satellite_name,
instrument_type=self.instrument_type,
scene_id=self.scene_id,
instrument_ID="AHI",
dataset_name=os.path.split(self.path)[-1],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment