Open ferrighi opened 2 months ago
It is a bit difficult to find a test for the GEONOR collection. So far it would be more based on data producers endpoints. The current filtering is also done using the configuration file, which does not include direct traverse of thredds catalogues. I would suggest to add specific cases into travers_thredds instead of using the filter_mmd_records.py for now like e.g.:
if 'thredds.***.no' in ds.url:
mynodegeonor = ET.Element("{http://www.met.no/schema/mmd}collection")
mynodegeonor.text = 'GEONOR'
mynodeadc.addnext(mynodegeonor)
or alternatively we could just run the add_collection scrip on the specific folders as a separate job.
In order to provide data to genorge we need to feed the dedicated endpoint which is based on METNCS and GEONOR collections. GEONOR collection should be added to the filtering process.