def get_provider(self, raw_metadata): provider_id = raw_metadata['meta']['provider-id'] provider = utils.get_gcmd_provider([provider_id]) if provider: return provider else: raise MetadataNormalizationError(f"Unknown provider {provider_id}")
def get_provider(self, raw_metadata): """Returns a GCMD-like provider data structure""" provider = utils.get_gcmd_provider([raw_metadata['organisationName']]) if provider: return provider else: raise MetadataNormalizationError( f"Unknown provider {raw_metadata['organisationName']}")
def get_provider(self, raw_metadata): return utils.get_gcmd_provider(['DOC/NOAA/NWS/NCEP'])
def get_provider(self, raw_metadata): """Get a provider from the metadata if possible, otherwise use OSISAF as default """ return utils.get_gcmd_provider( [raw_metadata.get('institution', 'EUMETSAT/OSISAF')])
def get_provider(self, raw_metadata): return utils.get_gcmd_provider(['NERSC'])
def get_provider(self, raw_metadata): """Get the provider from the raw metadata""" return utils.get_gcmd_provider(['NASA/JPL/PODAAC'])
def get_provider(self, raw_metadata): return utils.get_gcmd_provider(['JP/JAXA/EOC'])
def get_provider(self, raw_metadata): return utils.get_gcmd_provider(['ESA/CCI'])
def get_provider(self, raw_metadata): return utils.get_gcmd_provider(['Remote Sensing Systems'])
def get_provider(self, raw_metadata): """Returns a GCMD-like provider data structure""" return utils.get_gcmd_provider(['ESA/EO'])