def naif_keywords(self): """ Returns ------- : dict Dictionary of keywords and values that ISIS creates and attaches to the label """ if not hasattr(self, "_naif_keywords"): self._naif_keywords = dict() self._naif_keywords['BODY{}_RADII'.format( self.target_id)] = self.target_body_radii self._naif_keywords['BODY_FRAME_CODE'] = self.target_frame_id self._naif_keywords['BODY_CODE'] = self.target_id self._naif_keywords = { **self._naif_keywords, **util.query_kernel_pool(f"*{self.ikid}*"), **util.query_kernel_pool(f"*{self.target_id}*") } try: self._naif_keywords = { **self._naif_keywords, **util.query_kernel_pool(f"*{self.fikid}*") } except AttributeError as error: pass return self._naif_keywords
def naif_keywords(self): """ Updated set of naif keywords containing the NaifIkCode for the specific Juno filter used when taking the image. Returns ------- : dict Dictionary of keywords and values that ISIS creates and attaches to the label """ filter_code = self.label['IsisCube']['BandBin']['NaifIkCode'] return {**super().naif_keywords, **util.query_kernel_pool(f"*{filter_code}*")}