hypernets_processor.data_io.hypernets_db_builder module

HypernetsDBBuilder class

class hypernets_processor.data_io.hypernets_db_builder.AnomalyDB(url, context)

Bases: Database

Class for handling Anomaly Database in memory, inherits from dataset.Databases

Parameters:
add_anomaly(anomaly_id, ds=None)

Adds anomaly to anomaly database

Parameters:
  • anomaly_id (str) – anomaly id, must match name of entry in self.anomalies dict

  • ds (xarray.Dataset) – producgt that was being processed when anomaly was raised

get_sequence_anomalies(sequence_name=None, site_id=None)

Returns anomaly ids of anomalies currently registered for the processed sequence if context attribute is not None, else define of interest

Parameters:

sequence_name (str) – (optional) name of sequence to lookup anomaly ids for, if omitted gets sequence id from

context, if avaiable

Parameters:

site_id (str) – (optional) name of site to lookup anomaly ids for, if omitted gets site id from

context, if avaiable

Return type:

list

Returns:

sequence anomaly ids

class hypernets_processor.data_io.hypernets_db_builder.ArchiveDB(url, context)

Bases: Database

Class for handling Archive Database in memory, inherits from dataset.Databases

Parameters:
archive_product(ds, path)

Adds product to archive database

Parameters:
  • ds (xarray.dataset) – product to archive

  • path (str) – path product is being written to

class hypernets_processor.data_io.hypernets_db_builder.HypernetsDBBuilder(context=None)

Bases: object

Class to generate SQL database in the Hypernets database format specification

Parameters:

context (hypernets_processor.context.Context) – processor context

create_db_template(url, db_format, db_format_defs={'anomaly': {'anomalies': {'columns': {'anomaly_id': {'type': <class 'str'>}, 'datetime': {'type': <class 'str'>}, 'product_level_last': {'type': <class 'str'>}, 'product_path_last': {'type': <class 'str'>}, 'rel_product_dir': {'type': <class 'str'>}, 'sequence_name': {'type': <class 'str'>}, 'sequence_path': {'type': <class 'str'>}, 'site_id': {'type': <class 'str'>}, 'solar_azimuth_angle_max': {'type': <class 'float'>}, 'solar_azimuth_angle_min': {'type': <class 'float'>}, 'solar_zenith_angle_max': {'type': <class 'float'>}, 'solar_zenith_angle_min': {'type': <class 'float'>}, 'viewing_azimuth_angle_max': {'type': <class 'str'>}, 'viewing_azimuth_angle_min': {'type': <class 'str'>}, 'viewing_zenith_angle_max': {'type': <class 'str'>}, 'viewing_zenith_angle_min': {'type': <class 'str'>}}}}, 'archive': {'products': {'columns': {'datetime_SEQ': {'type': <class 'datetime.datetime'>}, 'datetime_end': {'type': <class 'datetime.datetime'>}, 'datetime_start': {'type': <class 'datetime.datetime'>}, 'latitude': {'type': <class 'float'>}, 'longitude': {'type': <class 'float'>}, 'percent_zero_flags': {'type': <class 'float'>}, 'product_level': {'type': <class 'str'>}, 'product_name': {'type': <class 'str'>}, 'product_path': {'type': <class 'str'>}, 'rel_product_dir': {'type': <class 'str'>}, 'sequence_name': {'type': <class 'str'>}, 'sequence_path': {'type': <class 'str'>}, 'site_id': {'type': <class 'str'>}, 'solar_azimuth_angle_max': {'type': <class 'float'>}, 'solar_azimuth_angle_min': {'type': <class 'float'>}, 'solar_zenith_angle_max': {'type': <class 'float'>}, 'solar_zenith_angle_min': {'type': <class 'float'>}, 'system_id': {'type': <class 'str'>}, 'viewing_azimuth_angle_max': {'type': <class 'float'>}, 'viewing_azimuth_angle_min': {'type': <class 'float'>}, 'viewing_zenith_angle_max': {'type': <class 'float'>}, 'viewing_zenith_angle_min': {'type': <class 'float'>}}}}, 'metadata': {'CAL': {'columns': {'Calibration_device_LED_ID': {'type': <class 'str'>}, 'Calibration_device_LED_manufacturer': {'type': <class 'str'>}, 'Calibration_device_LED_model': {'type': <class 'str'>}, 'abstract': {'type': <class 'str'>}, 'acknowledgement': {'type': <class 'str'>}, 'calibration_device_date_manufacture': {'type': <class 'str'>}, 'calibration_device_description': {'type': <class 'str'>}, 'calibration_device_documentation_directory': {'type': <class 'str'>}, 'calibration_device_id': {'type': <class 'str'>}, 'calibration_device_manufacturer': {'type': <class 'str'>}, 'calibration_device_model': {'type': <class 'str'>}, 'calibration_device_version': {'type': <class 'str'>}, 'comment': {'type': <class 'str'>}, 'conformity': {'type': <class 'str'>}, 'conventions': {'type': <class 'str'>}, 'data_created': {'type': <class 'str'>}, 'format_version': {'type': <class 'str'>}, 'instrument_date_manufacture': {'type': <class 'str'>}, 'instrument_deployment_date': {'type': <class 'str'>}, 'instrument_documentation_references': {'type': <class 'str'>}, 'instrument_firmware': {'type': <class 'str'>}, 'instrument_firmware_version': {'type': <class 'str'>}, 'instrument_history': {'type': <class 'str'>}, 'instrument_id': {'type': <class 'str'>}, 'instrument_manufacturer': {'type': <class 'str'>}, 'instrument_model': {'type': <class 'str'>}, 'instrument_version': {'type': <class 'str'>}, 'irr_vis_head_ documentation_reference': {'type': <class 'str'>}, 'irr_vis_head_description': {'type': <class 'str'>}, 'irr_vis_head_firmware_version': {'type': <class 'str'>}, 'irr_vis_head_id': {'type': <class 'str'>}, 'irr_vis_head_manufacture': {'type': <class 'str'>}, 'irr_vis_head_manufacturer': {'type': <class 'str'>}, 'irr_vis_head_model': {'type': <class 'str'>}, 'irr_vis_head_version': {'type': <class 'str'>}, 'language': {'type': <class 'str'>}, 'licence': {'type': <class 'str'>}, 'limitations': {'type': <class 'str'>}, 'lineage': {'type': <class 'str'>}, 'netcdf_version': {'type': <class 'str'>}, 'operational_status': {'type': <class 'str'>}, 'product_name': {'type': <class 'str'>}, 'project_name': {'type': <class 'str'>}, 'rad_vis_head_ documentation_reference': {'type': <class 'str'>}, 'rad_vis_head_calibration_documentation_reference': {'type': <class 'str'>}, 'rad_vis_head_cosine_documentation_reference': {'type': <class 'str'>}, 'rad_vis_head_description': {'type': <class 'str'>}, 'rad_vis_head_firmware_version': {'type': <class 'str'>}, 'rad_vis_head_id': {'type': <class 'str'>}, 'rad_vis_head_linearity_documentation_reference': {'type': <class 'str'>}, 'rad_vis_head_manufacture': {'type': <class 'str'>}, 'rad_vis_head_manufacturer': {'type': <class 'str'>}, 'rad_vis_head_model': {'type': <class 'str'>}, 'rad_vis_head_radiometric_resolution': {'type': <class 'str'>}, 'rad_vis_head_spectral_accuracy': {'type': <class 'str'>}, 'rad_vis_head_spectral_fov': {'type': <class 'str'>}, 'rad_vis_head_spectral_range': {'type': <class 'str'>}, 'rad_vis_head_spectral_resolution': {'type': <class 'str'>}, 'rad_vis_head_spectral_sampling': {'type': <class 'str'>}, 'rad_vis_head_version': {'type': <class 'str'>}, 'references': {'type': <class 'str'>}, 'source': {'type': <class 'str'>}, 'system_comment': {'type': <class 'str'>}, 'system_date_manufacture': {'type': <class 'str'>}, 'system_deployment_date': {'type': <class 'str'>}, 'system_deployment_height': {'type': <class 'str'>}, 'system_documentation_references': {'type': <class 'str'>}, 'system_firmaware_version': {'type': <class 'str'>}, 'system_manufacturer': {'type': <class 'str'>}, 'system_model': {'type': <class 'str'>}, 'system_version': {'type': <class 'str'>}, 'type': {'type': <class 'str'>}}}, 'L0A_BLA': {'columns': {'abstract': {'type': <class 'str'>}, 'acknowledgement': {'type': <class 'str'>}, 'comment': {'type': <class 'str'>}, 'conformity': {'type': <class 'str'>}, 'conventions': {'type': <class 'str'>}, 'data_created': {'type': <class 'str'>}, 'easting': {'type': <class 'str'>}, 'format_version': {'type': <class 'str'>}, 'history': {'type': <class 'str'>}, 'illuminance': {'type': <class 'str'>}, 'instrument_configuration_file': {'type': <class 'str'>}, 'instrument_id': {'type': <class 'str'>}, 'language': {'type': <class 'str'>}, 'licence': {'type': <class 'str'>}, 'limitations': {'type': <class 'str'>}, 'lineage': {'type': <class 'str'>}, 'netcdf_version': {'type': <class 'str'>}, 'northing': {'type': <class 'str'>}, 'operational_status': {'type': <class 'str'>}, 'processor_atbd': {'type': <class 'str'>}, 'processor_configuration_file': {'type': <class 'str'>}, 'processor_name': {'type': <class 'str'>}, 'processor_version': {'type': <class 'str'>}, 'product_name': {'type': <class 'str'>}, 'project_name': {'type': <class 'str'>}, 'references': {'type': <class 'str'>}, 'sequence_id': {'type': <class 'str'>}, 'site_id': {'type': <class 'str'>}, 'site_latitude': {'type': <class 'str'>}, 'site_longitude': {'type': <class 'str'>}, 'source': {'type': <class 'str'>}, 'source_file': {'type': <class 'str'>}, 'system_id': {'type': <class 'str'>}, 'system_pressure': {'type': <class 'str'>}, 'system_relative_humidity': {'type': <class 'str'>}, 'system_temperature': {'type': <class 'str'>}, 'type': {'type': <class 'str'>}}}, 'L0A_IRR': {'columns': {'abstract': {'type': <class 'str'>}, 'acknowledgement': {'type': <class 'str'>}, 'comment': {'type': <class 'str'>}, 'conformity': {'type': <class 'str'>}, 'conventions': {'type': <class 'str'>}, 'data_created': {'type': <class 'str'>}, 'easting': {'type': <class 'str'>}, 'format_version': {'type': <class 'str'>}, 'history': {'type': <class 'str'>}, 'illuminance': {'type': <class 'str'>}, 'instrument_configuration_file': {'type': <class 'str'>}, 'instrument_id': {'type': <class 'str'>}, 'language': {'type': <class 'str'>}, 'licence': {'type': <class 'str'>}, 'limitations': {'type': <class 'str'>}, 'lineage': {'type': <class 'str'>}, 'netcdf_version': {'type': <class 'str'>}, 'northing': {'type': <class 'str'>}, 'operational_status': {'type': <class 'str'>}, 'processor_atbd': {'type': <class 'str'>}, 'processor_configuration_file': {'type': <class 'str'>}, 'processor_name': {'type': <class 'str'>}, 'processor_version': {'type': <class 'str'>}, 'product_name': {'type': <class 'str'>}, 'project_name': {'type': <class 'str'>}, 'references': {'type': <class 'str'>}, 'sequence_id': {'type': <class 'str'>}, 'site_id': {'type': <class 'str'>}, 'site_latitude': {'type': <class 'str'>}, 'site_longitude': {'type': <class 'str'>}, 'source': {'type': <class 'str'>}, 'source_file': {'type': <class 'str'>}, 'system_id': {'type': <class 'str'>}, 'system_pressure': {'type': <class 'str'>}, 'system_relative_humidity': {'type': <class 'str'>}, 'system_temperature': {'type': <class 'str'>}, 'type': {'type': <class 'str'>}}}, 'L0A_RAD': {'columns': {'abstract': {'type': <class 'str'>}, 'acknowledgement': {'type': <class 'str'>}, 'comment': {'type': <class 'str'>}, 'conformity': {'type': <class 'str'>}, 'conventions': {'type': <class 'str'>}, 'data_created': {'type': <class 'str'>}, 'easting': {'type': <class 'str'>}, 'format_version': {'type': <class 'str'>}, 'history': {'type': <class 'str'>}, 'illuminance': {'type': <class 'str'>}, 'instrument_configuration_file': {'type': <class 'str'>}, 'instrument_id': {'type': <class 'str'>}, 'language': {'type': <class 'str'>}, 'licence': {'type': <class 'str'>}, 'limitations': {'type': <class 'str'>}, 'lineage': {'type': <class 'str'>}, 'netcdf_version': {'type': <class 'str'>}, 'northing': {'type': <class 'str'>}, 'operational_status': {'type': <class 'str'>}, 'processor_atbd': {'type': <class 'str'>}, 'processor_configuration_file': {'type': <class 'str'>}, 'processor_name': {'type': <class 'str'>}, 'processor_version': {'type': <class 'str'>}, 'product_name': {'type': <class 'str'>}, 'project_name': {'type': <class 'str'>}, 'references': {'type': <class 'str'>}, 'sequence_id': {'type': <class 'str'>}, 'site_id': {'type': <class 'str'>}, 'site_latitude': {'type': <class 'str'>}, 'site_longitude': {'type': <class 'str'>}, 'source': {'type': <class 'str'>}, 'source_file': {'type': <class 'str'>}, 'system_id': {'type': <class 'str'>}, 'system_pressure': {'type': <class 'str'>}, 'system_relative_humidity': {'type': <class 'str'>}, 'system_temperature': {'type': <class 'str'>}, 'type': {'type': <class 'str'>}}}, 'L0B_IRR': {'columns': {'abstract': {'type': <class 'str'>}, 'acknowledgement': {'type': <class 'str'>}, 'comment': {'type': <class 'str'>}, 'conformity': {'type': <class 'str'>}, 'conventions': {'type': <class 'str'>}, 'data_created': {'type': <class 'str'>}, 'easting': {'type': <class 'str'>}, 'format_version': {'type': <class 'str'>}, 'history': {'type': <class 'str'>}, 'illuminance': {'type': <class 'str'>}, 'instrument_configuration_file': {'type': <class 'str'>}, 'instrument_id': {'type': <class 'str'>}, 'language': {'type': <class 'str'>}, 'licence': {'type': <class 'str'>}, 'limitations': {'type': <class 'str'>}, 'lineage': {'type': <class 'str'>}, 'netcdf_version': {'type': <class 'str'>}, 'northing': {'type': <class 'str'>}, 'operational_status': {'type': <class 'str'>}, 'processor_atbd': {'type': <class 'str'>}, 'processor_configuration_file': {'type': <class 'str'>}, 'processor_name': {'type': <class 'str'>}, 'processor_version': {'type': <class 'str'>}, 'product_name': {'type': <class 'str'>}, 'project_name': {'type': <class 'str'>}, 'references': {'type': <class 'str'>}, 'sequence_id': {'type': <class 'str'>}, 'site_id': {'type': <class 'str'>}, 'site_latitude': {'type': <class 'str'>}, 'site_longitude': {'type': <class 'str'>}, 'source': {'type': <class 'str'>}, 'source_file': {'type': <class 'str'>}, 'system_id': {'type': <class 'str'>}, 'system_pressure': {'type': <class 'str'>}, 'system_relative_humidity': {'type': <class 'str'>}, 'system_temperature': {'type': <class 'str'>}, 'type': {'type': <class 'str'>}}}, 'L0B_RAD': {'columns': {'abstract': {'type': <class 'str'>}, 'acknowledgement': {'type': <class 'str'>}, 'comment': {'type': <class 'str'>}, 'conformity': {'type': <class 'str'>}, 'conventions': {'type': <class 'str'>}, 'data_created': {'type': <class 'str'>}, 'easting': {'type': <class 'str'>}, 'format_version': {'type': <class 'str'>}, 'history': {'type': <class 'str'>}, 'illuminance': {'type': <class 'str'>}, 'instrument_configuration_file': {'type': <class 'str'>}, 'instrument_id': {'type': <class 'str'>}, 'language': {'type': <class 'str'>}, 'licence': {'type': <class 'str'>}, 'limitations': {'type': <class 'str'>}, 'lineage': {'type': <class 'str'>}, 'netcdf_version': {'type': <class 'str'>}, 'northing': {'type': <class 'str'>}, 'operational_status': {'type': <class 'str'>}, 'processor_atbd': {'type': <class 'str'>}, 'processor_configuration_file': {'type': <class 'str'>}, 'processor_name': {'type': <class 'str'>}, 'processor_version': {'type': <class 'str'>}, 'product_name': {'type': <class 'str'>}, 'project_name': {'type': <class 'str'>}, 'references': {'type': <class 'str'>}, 'sequence_id': {'type': <class 'str'>}, 'site_id': {'type': <class 'str'>}, 'site_latitude': {'type': <class 'str'>}, 'site_longitude': {'type': <class 'str'>}, 'source': {'type': <class 'str'>}, 'source_file': {'type': <class 'str'>}, 'system_id': {'type': <class 'str'>}, 'system_pressure': {'type': <class 'str'>}, 'system_relative_humidity': {'type': <class 'str'>}, 'system_temperature': {'type': <class 'str'>}, 'type': {'type': <class 'str'>}}}, 'L_L1A_IRR': {'columns': {'abstract': {'type': <class 'str'>}, 'acknowledgement': {'type': <class 'str'>}, 'comment': {'type': <class 'str'>}, 'conformity': {'type': <class 'str'>}, 'conventions': {'type': <class 'str'>}, 'creator_email': {'type': <class 'str'>}, 'creator_name': {'type': <class 'str'>}, 'data_created': {'type': <class 'str'>}, 'easting': {'type': <class 'str'>}, 'format_version': {'type': <class 'str'>}, 'history': {'type': <class 'str'>}, 'illuminance': {'type': <class 'str'>}, 'instrument_calibration_file_irr': {'type': <class 'str'>}, 'instrument_configuration_file': {'type': <class 'str'>}, 'instrument_id': {'type': <class 'str'>}, 'keyword': {'type': <class 'str'>}, 'language': {'type': <class 'str'>}, 'licence': {'type': <class 'str'>}, 'limitations': {'type': <class 'str'>}, 'lineage': {'type': <class 'str'>}, 'locator': {'type': <class 'str'>}, 'netcdf_version': {'type': <class 'str'>}, 'northing': {'type': <class 'str'>}, 'operational_status': {'type': <class 'str'>}, 'processor_atbd': {'type': <class 'str'>}, 'processor_configuration_file': {'type': <class 'str'>}, 'processor_name': {'type': <class 'str'>}, 'processor_version': {'type': <class 'str'>}, 'product_name': {'type': <class 'str'>}, 'project_name': {'type': <class 'str'>}, 'references': {'type': <class 'str'>}, 'responsible_party': {'type': <class 'str'>}, 'sequence_id': {'type': <class 'str'>}, 'site_id': {'type': <class 'str'>}, 'site_latitude': {'type': <class 'str'>}, 'site_longitude': {'type': <class 'str'>}, 'source': {'type': <class 'str'>}, 'source_file': {'type': <class 'str'>}, 'system_id': {'type': <class 'str'>}, 'system_pressure': {'type': <class 'str'>}, 'system_relative_humidity': {'type': <class 'str'>}, 'system_temperature': {'type': <class 'str'>}, 'title': {'type': <class 'str'>}, 'topic_category': {'type': <class 'str'>}, 'type': {'type': <class 'str'>}}}, 'L_L1A_RAD': {'columns': {'abstract': {'type': <class 'str'>}, 'acknowledgement': {'type': <class 'str'>}, 'comment': {'type': <class 'str'>}, 'conformity': {'type': <class 'str'>}, 'conventions': {'type': <class 'str'>}, 'creator_email': {'type': <class 'str'>}, 'creator_name': {'type': <class 'str'>}, 'data_created': {'type': <class 'str'>}, 'easting': {'type': <class 'str'>}, 'format_version': {'type': <class 'str'>}, 'history': {'type': <class 'str'>}, 'illuminance': {'type': <class 'str'>}, 'instrument_calibration_file_rad': {'type': <class 'str'>}, 'instrument_configuration_file': {'type': <class 'str'>}, 'instrument_id': {'type': <class 'str'>}, 'keyword': {'type': <class 'str'>}, 'language': {'type': <class 'str'>}, 'licence': {'type': <class 'str'>}, 'limitations': {'type': <class 'str'>}, 'lineage': {'type': <class 'str'>}, 'locator': {'type': <class 'str'>}, 'netcdf_version': {'type': <class 'str'>}, 'northing': {'type': <class 'str'>}, 'operational_status': {'type': <class 'str'>}, 'processor_atbd': {'type': <class 'str'>}, 'processor_configuration_file': {'type': <class 'str'>}, 'processor_name': {'type': <class 'str'>}, 'processor_version': {'type': <class 'str'>}, 'product_name': {'type': <class 'str'>}, 'project_name': {'type': <class 'str'>}, 'references': {'type': <class 'str'>}, 'responsible_party': {'type': <class 'str'>}, 'sequence_id': {'type': <class 'str'>}, 'site_id': {'type': <class 'str'>}, 'site_latitude': {'type': <class 'str'>}, 'site_longitude': {'type': <class 'str'>}, 'source': {'type': <class 'str'>}, 'source_file': {'type': <class 'str'>}, 'system_id': {'type': <class 'str'>}, 'system_pressure': {'type': <class 'str'>}, 'system_relative_humidity': {'type': <class 'str'>}, 'system_temperature': {'type': <class 'str'>}, 'title': {'type': <class 'str'>}, 'topic_category': {'type': <class 'str'>}, 'type': {'type': <class 'str'>}}}, 'L_L1B_IRR': {'columns': {'abstract': {'type': <class 'str'>}, 'acknowledgement': {'type': <class 'str'>}, 'comment': {'type': <class 'str'>}, 'conformity': {'type': <class 'str'>}, 'conventions': {'type': <class 'str'>}, 'creator_email': {'type': <class 'str'>}, 'creator_name': {'type': <class 'str'>}, 'data_created': {'type': <class 'str'>}, 'easting': {'type': <class 'str'>}, 'format_version': {'type': <class 'str'>}, 'history': {'type': <class 'str'>}, 'illuminance': {'type': <class 'str'>}, 'instrument_calibration_file_irr': {'type': <class 'str'>}, 'instrument_configuration_file': {'type': <class 'str'>}, 'instrument_id': {'type': <class 'str'>}, 'keyword': {'type': <class 'str'>}, 'language': {'type': <class 'str'>}, 'licence': {'type': <class 'str'>}, 'limitations': {'type': <class 'str'>}, 'lineage': {'type': <class 'str'>}, 'locator': {'type': <class 'str'>}, 'netcdf_version': {'type': <class 'str'>}, 'northing': {'type': <class 'str'>}, 'operational_status': {'type': <class 'str'>}, 'processor_atbd': {'type': <class 'str'>}, 'processor_configuration_file': {'type': <class 'str'>}, 'processor_name': {'type': <class 'str'>}, 'processor_version': {'type': <class 'str'>}, 'product_name': {'type': <class 'str'>}, 'project_name': {'type': <class 'str'>}, 'references': {'type': <class 'str'>}, 'responsible_party': {'type': <class 'str'>}, 'sequence_id': {'type': <class 'str'>}, 'site_id': {'type': <class 'str'>}, 'site_latitude': {'type': <class 'str'>}, 'site_longitude': {'type': <class 'str'>}, 'source': {'type': <class 'str'>}, 'source_file': {'type': <class 'str'>}, 'system_id': {'type': <class 'str'>}, 'system_pressure': {'type': <class 'str'>}, 'system_relative_humidity': {'type': <class 'str'>}, 'system_temperature': {'type': <class 'str'>}, 'title': {'type': <class 'str'>}, 'topic_category': {'type': <class 'str'>}, 'type': {'type': <class 'str'>}}}, 'L_L1B_RAD': {'columns': {'abstract': {'type': <class 'str'>}, 'acknowledgement': {'type': <class 'str'>}, 'comment': {'type': <class 'str'>}, 'conformity': {'type': <class 'str'>}, 'conventions': {'type': <class 'str'>}, 'creator_email': {'type': <class 'str'>}, 'creator_name': {'type': <class 'str'>}, 'data_created': {'type': <class 'str'>}, 'easting': {'type': <class 'str'>}, 'format_version': {'type': <class 'str'>}, 'history': {'type': <class 'str'>}, 'illuminance': {'type': <class 'str'>}, 'instrument_calibration_file_rad': {'type': <class 'str'>}, 'instrument_configuration_file': {'type': <class 'str'>}, 'instrument_id': {'type': <class 'str'>}, 'keyword': {'type': <class 'str'>}, 'language': {'type': <class 'str'>}, 'licence': {'type': <class 'str'>}, 'limitations': {'type': <class 'str'>}, 'lineage': {'type': <class 'str'>}, 'locator': {'type': <class 'str'>}, 'netcdf_version': {'type': <class 'str'>}, 'northing': {'type': <class 'str'>}, 'operational_status': {'type': <class 'str'>}, 'processor_atbd': {'type': <class 'str'>}, 'processor_configuration_file': {'type': <class 'str'>}, 'processor_name': {'type': <class 'str'>}, 'processor_version': {'type': <class 'str'>}, 'product_name': {'type': <class 'str'>}, 'project_name': {'type': <class 'str'>}, 'references': {'type': <class 'str'>}, 'responsible_party': {'type': <class 'str'>}, 'sequence_id': {'type': <class 'str'>}, 'site_id': {'type': <class 'str'>}, 'site_latitude': {'type': <class 'str'>}, 'site_longitude': {'type': <class 'str'>}, 'source': {'type': <class 'str'>}, 'source_file': {'type': <class 'str'>}, 'system_id': {'type': <class 'str'>}, 'system_pressure': {'type': <class 'str'>}, 'system_relative_humidity': {'type': <class 'str'>}, 'system_temperature': {'type': <class 'str'>}, 'title': {'type': <class 'str'>}, 'topic_category': {'type': <class 'str'>}, 'type': {'type': <class 'str'>}}}, 'L_L1C': {'columns': {'abstract': {'type': <class 'str'>}, 'acknowledgement': {'type': <class 'str'>}, 'comment': {'type': <class 'str'>}, 'conformity': {'type': <class 'str'>}, 'conventions': {'type': <class 'str'>}, 'creator_email': {'type': <class 'str'>}, 'creator_name': {'type': <class 'str'>}, 'data_created': {'type': <class 'str'>}, 'easting': {'type': <class 'str'>}, 'format_version': {'type': <class 'str'>}, 'history': {'type': <class 'str'>}, 'illuminance': {'type': <class 'str'>}, 'instrument_calibration_file_irr': {'type': <class 'str'>}, 'instrument_calibration_file_rad': {'type': <class 'str'>}, 'instrument_configuration_file': {'type': <class 'str'>}, 'instrument_id': {'type': <class 'str'>}, 'keyword': {'type': <class 'str'>}, 'language': {'type': <class 'str'>}, 'licence': {'type': <class 'str'>}, 'limitations': {'type': <class 'str'>}, 'lineage': {'type': <class 'str'>}, 'locator': {'type': <class 'str'>}, 'netcdf_version': {'type': <class 'str'>}, 'northing': {'type': <class 'str'>}, 'operational_status': {'type': <class 'str'>}, 'processor_atbd': {'type': <class 'str'>}, 'processor_configuration_file': {'type': <class 'str'>}, 'processor_name': {'type': <class 'str'>}, 'processor_version': {'type': <class 'str'>}, 'product_name': {'type': <class 'str'>}, 'project_name': {'type': <class 'str'>}, 'references': {'type': <class 'str'>}, 'responsible_party': {'type': <class 'str'>}, 'sequence_id': {'type': <class 'str'>}, 'site_id': {'type': <class 'str'>}, 'site_latitude': {'type': <class 'str'>}, 'site_longitude': {'type': <class 'str'>}, 'source': {'type': <class 'str'>}, 'source_file': {'type': <class 'str'>}, 'system_id': {'type': <class 'str'>}, 'system_pressure': {'type': <class 'str'>}, 'system_relative_humidity': {'type': <class 'str'>}, 'system_temperature': {'type': <class 'str'>}, 'title': {'type': <class 'str'>}, 'topic_category': {'type': <class 'str'>}, 'type': {'type': <class 'str'>}}}, 'L_L2A': {'columns': {'abstract': {'type': <class 'str'>}, 'acknowledgement': {'type': <class 'str'>}, 'comment': {'type': <class 'str'>}, 'conformity': {'type': <class 'str'>}, 'conventions': {'type': <class 'str'>}, 'creator_email': {'type': <class 'str'>}, 'creator_name': {'type': <class 'str'>}, 'data_created': {'type': <class 'str'>}, 'easting': {'type': <class 'str'>}, 'format_version': {'type': <class 'str'>}, 'history': {'type': <class 'str'>}, 'illuminance': {'type': <class 'str'>}, 'instrument_calibration_file_irr': {'type': <class 'str'>}, 'instrument_calibration_file_rad': {'type': <class 'str'>}, 'instrument_configuration_file': {'type': <class 'str'>}, 'instrument_id': {'type': <class 'str'>}, 'keyword': {'type': <class 'str'>}, 'language': {'type': <class 'str'>}, 'licence': {'type': <class 'str'>}, 'limitations': {'type': <class 'str'>}, 'lineage': {'type': <class 'str'>}, 'locator': {'type': <class 'str'>}, 'netcdf_version': {'type': <class 'str'>}, 'northing': {'type': <class 'str'>}, 'operational_status': {'type': <class 'str'>}, 'processor_atbd': {'type': <class 'str'>}, 'processor_configuration_file': {'type': <class 'str'>}, 'processor_name': {'type': <class 'str'>}, 'processor_version': {'type': <class 'str'>}, 'product_name': {'type': <class 'str'>}, 'project_name': {'type': <class 'str'>}, 'references': {'type': <class 'str'>}, 'responsible_party': {'type': <class 'str'>}, 'sequence_id': {'type': <class 'str'>}, 'site_id': {'type': <class 'str'>}, 'site_latitude': {'type': <class 'str'>}, 'site_longitude': {'type': <class 'str'>}, 'source': {'type': <class 'str'>}, 'source_file': {'type': <class 'str'>}, 'system_id': {'type': <class 'str'>}, 'system_pressure': {'type': <class 'str'>}, 'system_relative_humidity': {'type': <class 'str'>}, 'system_temperature': {'type': <class 'str'>}, 'title': {'type': <class 'str'>}, 'topic_category': {'type': <class 'str'>}, 'type': {'type': <class 'str'>}}}, 'L_L2B': {'columns': {'abstract': {'type': <class 'str'>}, 'acknowledgement': {'type': <class 'str'>}, 'comment': {'type': <class 'str'>}, 'conformity': {'type': <class 'str'>}, 'conventions': {'type': <class 'str'>}, 'creator_email': {'type': <class 'str'>}, 'creator_name': {'type': <class 'str'>}, 'data_created': {'type': <class 'str'>}, 'easting': {'type': <class 'str'>}, 'format_version': {'type': <class 'str'>}, 'history': {'type': <class 'str'>}, 'illuminance': {'type': <class 'str'>}, 'instrument_calibration_file_irr': {'type': <class 'str'>}, 'instrument_calibration_file_rad': {'type': <class 'str'>}, 'instrument_configuration_file': {'type': <class 'str'>}, 'instrument_id': {'type': <class 'str'>}, 'keyword': {'type': <class 'str'>}, 'language': {'type': <class 'str'>}, 'licence': {'type': <class 'str'>}, 'limitations': {'type': <class 'str'>}, 'lineage': {'type': <class 'str'>}, 'locator': {'type': <class 'str'>}, 'netcdf_version': {'type': <class 'str'>}, 'northing': {'type': <class 'str'>}, 'operational_status': {'type': <class 'str'>}, 'processor_atbd': {'type': <class 'str'>}, 'processor_configuration_file': {'type': <class 'str'>}, 'processor_name': {'type': <class 'str'>}, 'processor_version': {'type': <class 'str'>}, 'product_name': {'type': <class 'str'>}, 'project_name': {'type': <class 'str'>}, 'references': {'type': <class 'str'>}, 'responsible_party': {'type': <class 'str'>}, 'sequence_id': {'type': <class 'str'>}, 'site_id': {'type': <class 'str'>}, 'site_latitude': {'type': <class 'str'>}, 'site_longitude': {'type': <class 'str'>}, 'source': {'type': <class 'str'>}, 'source_file': {'type': <class 'str'>}, 'system_id': {'type': <class 'str'>}, 'system_pressure': {'type': <class 'str'>}, 'system_relative_humidity': {'type': <class 'str'>}, 'system_temperature': {'type': <class 'str'>}, 'title': {'type': <class 'str'>}, 'topic_category': {'type': <class 'str'>}, 'type': {'type': <class 'str'>}}}, 'W_L1A_IRR': {'columns': {'abstract': {'type': <class 'str'>}, 'acknowledgement': {'type': <class 'str'>}, 'comment': {'type': <class 'str'>}, 'conformity': {'type': <class 'str'>}, 'conventions': {'type': <class 'str'>}, 'creator_email': {'type': <class 'str'>}, 'creator_name': {'type': <class 'str'>}, 'data_created': {'type': <class 'str'>}, 'easting': {'type': <class 'str'>}, 'format_version': {'type': <class 'str'>}, 'history': {'type': <class 'str'>}, 'illuminance': {'type': <class 'str'>}, 'instrument_calibration_file_irr': {'type': <class 'str'>}, 'instrument_configuration_file': {'type': <class 'str'>}, 'instrument_id': {'type': <class 'str'>}, 'keyword': {'type': <class 'str'>}, 'language': {'type': <class 'str'>}, 'licence': {'type': <class 'str'>}, 'limitations': {'type': <class 'str'>}, 'lineage': {'type': <class 'str'>}, 'locator': {'type': <class 'str'>}, 'netcdf_version': {'type': <class 'str'>}, 'northing': {'type': <class 'str'>}, 'operational_status': {'type': <class 'str'>}, 'processor_atbd': {'type': <class 'str'>}, 'processor_configuration_file': {'type': <class 'str'>}, 'processor_name': {'type': <class 'str'>}, 'processor_version': {'type': <class 'str'>}, 'product_name': {'type': <class 'str'>}, 'project_name': {'type': <class 'str'>}, 'references': {'type': <class 'str'>}, 'responsible_party': {'type': <class 'str'>}, 'sequence_id': {'type': <class 'str'>}, 'site_id': {'type': <class 'str'>}, 'site_latitude': {'type': <class 'str'>}, 'site_longitude': {'type': <class 'str'>}, 'source': {'type': <class 'str'>}, 'source_file': {'type': <class 'str'>}, 'system_id': {'type': <class 'str'>}, 'system_pressure': {'type': <class 'str'>}, 'system_relative_humidity': {'type': <class 'str'>}, 'system_temperature': {'type': <class 'str'>}, 'title': {'type': <class 'str'>}, 'topic_category': {'type': <class 'str'>}, 'type': {'type': <class 'str'>}}}, 'W_L1A_RAD': {'columns': {'abstract': {'type': <class 'str'>}, 'acknowledgement': {'type': <class 'str'>}, 'comment': {'type': <class 'str'>}, 'conformity': {'type': <class 'str'>}, 'conventions': {'type': <class 'str'>}, 'creator_email': {'type': <class 'str'>}, 'creator_name': {'type': <class 'str'>}, 'data_created': {'type': <class 'str'>}, 'easting': {'type': <class 'str'>}, 'format_version': {'type': <class 'str'>}, 'history': {'type': <class 'str'>}, 'illuminance': {'type': <class 'str'>}, 'instrument_calibration_file_rad': {'type': <class 'str'>}, 'instrument_configuration_file': {'type': <class 'str'>}, 'instrument_id': {'type': <class 'str'>}, 'keyword': {'type': <class 'str'>}, 'language': {'type': <class 'str'>}, 'licence': {'type': <class 'str'>}, 'limitations': {'type': <class 'str'>}, 'lineage': {'type': <class 'str'>}, 'locator': {'type': <class 'str'>}, 'netcdf_version': {'type': <class 'str'>}, 'northing': {'type': <class 'str'>}, 'operational_status': {'type': <class 'str'>}, 'processor_atbd': {'type': <class 'str'>}, 'processor_configuration_file': {'type': <class 'str'>}, 'processor_name': {'type': <class 'str'>}, 'processor_version': {'type': <class 'str'>}, 'product_name': {'type': <class 'str'>}, 'project_name': {'type': <class 'str'>}, 'references': {'type': <class 'str'>}, 'responsible_party': {'type': <class 'str'>}, 'sequence_id': {'type': <class 'str'>}, 'site_id': {'type': <class 'str'>}, 'site_latitude': {'type': <class 'str'>}, 'site_longitude': {'type': <class 'str'>}, 'source': {'type': <class 'str'>}, 'source_file': {'type': <class 'str'>}, 'system_id': {'type': <class 'str'>}, 'system_pressure': {'type': <class 'str'>}, 'system_relative_humidity': {'type': <class 'str'>}, 'system_temperature': {'type': <class 'str'>}, 'title': {'type': <class 'str'>}, 'topic_category': {'type': <class 'str'>}, 'type': {'type': <class 'str'>}}}, 'W_L1B_IRR': {'columns': {'abstract': {'type': <class 'str'>}, 'acknowledgement': {'type': <class 'str'>}, 'comment': {'type': <class 'str'>}, 'conformity': {'type': <class 'str'>}, 'conventions': {'type': <class 'str'>}, 'creator_email': {'type': <class 'str'>}, 'creator_name': {'type': <class 'str'>}, 'data_created': {'type': <class 'str'>}, 'easting': {'type': <class 'str'>}, 'format_version': {'type': <class 'str'>}, 'history': {'type': <class 'str'>}, 'illuminance': {'type': <class 'str'>}, 'instrument_calibration_file_irr': {'type': <class 'str'>}, 'instrument_configuration_file': {'type': <class 'str'>}, 'instrument_id': {'type': <class 'str'>}, 'keyword': {'type': <class 'str'>}, 'language': {'type': <class 'str'>}, 'licence': {'type': <class 'str'>}, 'limitations': {'type': <class 'str'>}, 'lineage': {'type': <class 'str'>}, 'locator': {'type': <class 'str'>}, 'netcdf_version': {'type': <class 'str'>}, 'northing': {'type': <class 'str'>}, 'operational_status': {'type': <class 'str'>}, 'processor_atbd': {'type': <class 'str'>}, 'processor_configuration_file': {'type': <class 'str'>}, 'processor_name': {'type': <class 'str'>}, 'processor_version': {'type': <class 'str'>}, 'product_name': {'type': <class 'str'>}, 'project_name': {'type': <class 'str'>}, 'references': {'type': <class 'str'>}, 'responsible_party': {'type': <class 'str'>}, 'sequence_id': {'type': <class 'str'>}, 'site_id': {'type': <class 'str'>}, 'site_latitude': {'type': <class 'str'>}, 'site_longitude': {'type': <class 'str'>}, 'source': {'type': <class 'str'>}, 'source_file': {'type': <class 'str'>}, 'system_id': {'type': <class 'str'>}, 'system_pressure': {'type': <class 'str'>}, 'system_relative_humidity': {'type': <class 'str'>}, 'system_temperature': {'type': <class 'str'>}, 'title': {'type': <class 'str'>}, 'topic_category': {'type': <class 'str'>}, 'type': {'type': <class 'str'>}}}, 'W_L1B_RAD': {'columns': {'abstract': {'type': <class 'str'>}, 'acknowledgement': {'type': <class 'str'>}, 'comment': {'type': <class 'str'>}, 'conformity': {'type': <class 'str'>}, 'conventions': {'type': <class 'str'>}, 'creator_email': {'type': <class 'str'>}, 'creator_name': {'type': <class 'str'>}, 'data_created': {'type': <class 'str'>}, 'easting': {'type': <class 'str'>}, 'format_version': {'type': <class 'str'>}, 'history': {'type': <class 'str'>}, 'illuminance': {'type': <class 'str'>}, 'instrument_calibration_file_rad': {'type': <class 'str'>}, 'instrument_configuration_file': {'type': <class 'str'>}, 'instrument_id': {'type': <class 'str'>}, 'keyword': {'type': <class 'str'>}, 'language': {'type': <class 'str'>}, 'licence': {'type': <class 'str'>}, 'limitations': {'type': <class 'str'>}, 'lineage': {'type': <class 'str'>}, 'locator': {'type': <class 'str'>}, 'netcdf_version': {'type': <class 'str'>}, 'northing': {'type': <class 'str'>}, 'operational_status': {'type': <class 'str'>}, 'processor_atbd': {'type': <class 'str'>}, 'processor_configuration_file': {'type': <class 'str'>}, 'processor_name': {'type': <class 'str'>}, 'processor_version': {'type': <class 'str'>}, 'product_name': {'type': <class 'str'>}, 'project_name': {'type': <class 'str'>}, 'references': {'type': <class 'str'>}, 'responsible_party': {'type': <class 'str'>}, 'sequence_id': {'type': <class 'str'>}, 'site_id': {'type': <class 'str'>}, 'site_latitude': {'type': <class 'str'>}, 'site_longitude': {'type': <class 'str'>}, 'source': {'type': <class 'str'>}, 'source_file': {'type': <class 'str'>}, 'system_id': {'type': <class 'str'>}, 'system_pressure': {'type': <class 'str'>}, 'system_relative_humidity': {'type': <class 'str'>}, 'system_temperature': {'type': <class 'str'>}, 'title': {'type': <class 'str'>}, 'topic_category': {'type': <class 'str'>}, 'type': {'type': <class 'str'>}}}, 'W_L1C': {'columns': {'abstract': {'type': <class 'str'>}, 'acknowledgement': {'type': <class 'str'>}, 'comment': {'type': <class 'str'>}, 'conformity': {'type': <class 'str'>}, 'conventions': {'type': <class 'str'>}, 'creator_email': {'type': <class 'str'>}, 'creator_name': {'type': <class 'str'>}, 'data_created': {'type': <class 'str'>}, 'easting': {'type': <class 'str'>}, 'format_version': {'type': <class 'str'>}, 'history': {'type': <class 'str'>}, 'illuminance': {'type': <class 'str'>}, 'instrument_calibration_file_irr': {'type': <class 'str'>}, 'instrument_calibration_file_rad': {'type': <class 'str'>}, 'instrument_configuration_file': {'type': <class 'str'>}, 'instrument_id': {'type': <class 'str'>}, 'keyword': {'type': <class 'str'>}, 'language': {'type': <class 'str'>}, 'licence': {'type': <class 'str'>}, 'limitations': {'type': <class 'str'>}, 'lineage': {'type': <class 'str'>}, 'locator': {'type': <class 'str'>}, 'netcdf_version': {'type': <class 'str'>}, 'northing': {'type': <class 'str'>}, 'operational_status': {'type': <class 'str'>}, 'processor_atbd': {'type': <class 'str'>}, 'processor_configuration_file': {'type': <class 'str'>}, 'processor_name': {'type': <class 'str'>}, 'processor_version': {'type': <class 'str'>}, 'product_name': {'type': <class 'str'>}, 'project_name': {'type': <class 'str'>}, 'references': {'type': <class 'str'>}, 'responsible_party': {'type': <class 'str'>}, 'rhof_option': {'type': <class 'str'>}, 'rhof_wind_source': {'type': <class 'str'>}, 'sequence_id': {'type': <class 'str'>}, 'similarity_alpha': {'type': <class 'str'>}, 'similarity_wavelen1': {'type': <class 'str'>}, 'similarity_wavelen2': {'type': <class 'str'>}, 'similarity_waveref': {'type': <class 'str'>}, 'similarity_wavethres': {'type': <class 'str'>}, 'site_id': {'type': <class 'str'>}, 'site_latitude': {'type': <class 'str'>}, 'site_longitude': {'type': <class 'str'>}, 'source': {'type': <class 'str'>}, 'source_file': {'type': <class 'str'>}, 'system_id': {'type': <class 'str'>}, 'system_pressure': {'type': <class 'str'>}, 'system_relative_humidity': {'type': <class 'str'>}, 'system_temperature': {'type': <class 'str'>}, 'title': {'type': <class 'str'>}, 'topic_category': {'type': <class 'str'>}, 'type': {'type': <class 'str'>}}}, 'W_L2A': {'columns': {'abstract': {'type': <class 'str'>}, 'acknowledgement': {'type': <class 'str'>}, 'comment': {'type': <class 'str'>}, 'conformity': {'type': <class 'str'>}, 'conventions': {'type': <class 'str'>}, 'creator_email': {'type': <class 'str'>}, 'creator_name': {'type': <class 'str'>}, 'data_created': {'type': <class 'str'>}, 'easting': {'type': <class 'str'>}, 'format_version': {'type': <class 'str'>}, 'history': {'type': <class 'str'>}, 'illuminance': {'type': <class 'str'>}, 'instrument_calibration_file_irr': {'type': <class 'str'>}, 'instrument_calibration_file_rad': {'type': <class 'str'>}, 'instrument_configuration_file': {'type': <class 'str'>}, 'instrument_id': {'type': <class 'str'>}, 'keyword': {'type': <class 'str'>}, 'language': {'type': <class 'str'>}, 'licence': {'type': <class 'str'>}, 'limitations': {'type': <class 'str'>}, 'lineage': {'type': <class 'str'>}, 'locator': {'type': <class 'str'>}, 'netcdf_version': {'type': <class 'str'>}, 'northing': {'type': <class 'str'>}, 'operational_status': {'type': <class 'str'>}, 'processor_atbd': {'type': <class 'str'>}, 'processor_configuration_file': {'type': <class 'str'>}, 'processor_name': {'type': <class 'str'>}, 'processor_version': {'type': <class 'str'>}, 'product_name': {'type': <class 'str'>}, 'project_name': {'type': <class 'str'>}, 'references': {'type': <class 'str'>}, 'responsible_party': {'type': <class 'str'>}, 'rhof_option': {'type': <class 'str'>}, 'sequence_id': {'type': <class 'str'>}, 'similarity_alpha': {'type': <class 'str'>}, 'similarity_wavelen1': {'type': <class 'str'>}, 'similarity_wavelen2': {'type': <class 'str'>}, 'similarity_waveref': {'type': <class 'str'>}, 'similarity_wavethres': {'type': <class 'str'>}, 'site_id': {'type': <class 'str'>}, 'site_latitude': {'type': <class 'str'>}, 'site_longitude': {'type': <class 'str'>}, 'source': {'type': <class 'str'>}, 'source_file': {'type': <class 'str'>}, 'system_id': {'type': <class 'str'>}, 'system_pressure': {'type': <class 'str'>}, 'system_relative_humidity': {'type': <class 'str'>}, 'system_temperature': {'type': <class 'str'>}, 'title': {'type': <class 'str'>}, 'topic_category': {'type': <class 'str'>}, 'type': {'type': <class 'str'>}}}, 'W_L2B': {'columns': {'abstract': {'type': <class 'str'>}, 'acknowledgement': {'type': <class 'str'>}, 'comment': {'type': <class 'str'>}, 'conformity': {'type': <class 'str'>}, 'conventions': {'type': <class 'str'>}, 'creator_email': {'type': <class 'str'>}, 'creator_name': {'type': <class 'str'>}, 'data_created': {'type': <class 'str'>}, 'easting': {'type': <class 'str'>}, 'format_version': {'type': <class 'str'>}, 'history': {'type': <class 'str'>}, 'illuminance': {'type': <class 'str'>}, 'instrument_calibration_file_irr': {'type': <class 'str'>}, 'instrument_calibration_file_rad': {'type': <class 'str'>}, 'instrument_configuration_file': {'type': <class 'str'>}, 'instrument_id': {'type': <class 'str'>}, 'keyword': {'type': <class 'str'>}, 'language': {'type': <class 'str'>}, 'licence': {'type': <class 'str'>}, 'limitations': {'type': <class 'str'>}, 'lineage': {'type': <class 'str'>}, 'locator': {'type': <class 'str'>}, 'netcdf_version': {'type': <class 'str'>}, 'northing': {'type': <class 'str'>}, 'operational_status': {'type': <class 'str'>}, 'processor_atbd': {'type': <class 'str'>}, 'processor_configuration_file': {'type': <class 'str'>}, 'processor_name': {'type': <class 'str'>}, 'processor_version': {'type': <class 'str'>}, 'product_name': {'type': <class 'str'>}, 'project_name': {'type': <class 'str'>}, 'references': {'type': <class 'str'>}, 'responsible_party': {'type': <class 'str'>}, 'rhof_option': {'type': <class 'str'>}, 'sequence_id': {'type': <class 'str'>}, 'similarity_alpha': {'type': <class 'str'>}, 'similarity_wavelen1': {'type': <class 'str'>}, 'similarity_wavelen2': {'type': <class 'str'>}, 'similarity_waveref': {'type': <class 'str'>}, 'similarity_wavethres': {'type': <class 'str'>}, 'site_id': {'type': <class 'str'>}, 'site_latitude': {'type': <class 'str'>}, 'site_longitude': {'type': <class 'str'>}, 'source': {'type': <class 'str'>}, 'source_file': {'type': <class 'str'>}, 'system_id': {'type': <class 'str'>}, 'system_pressure': {'type': <class 'str'>}, 'system_relative_humidity': {'type': <class 'str'>}, 'system_temperature': {'type': <class 'str'>}, 'title': {'type': <class 'str'>}, 'topic_category': {'type': <class 'str'>}, 'type': {'type': <class 'str'>}}}}})

Returns empty Hypernets database

Parameters:
  • url (str) – url of database to create

  • db_format (str) – product format string

  • db_format_defs (dict) – dictionary of schema_dict/schema_sql for each database format

Returns:

Empty database

Return type:

dataset.Database

class hypernets_processor.data_io.hypernets_db_builder.MetadataDB(url, context)

Bases: Database

Class for handling Metadata Database in memory, inherits from dataset.Databases

Parameters:
archive_metadata(ds)

Adds product to archive database

Parameters:
  • ds (xarray.dataset) – product to archive

  • path (str) – path product is being written to

hypernets_processor.data_io.hypernets_db_builder.open_database(url, db_format=None, context=None)

Opens database, creates if doesn’t exist

Parameters:
Returns:

opened database

Return type:

dataset.Database