metadata

Edit your NetCDF file’s metadata

Metadata Editor

Tip

This module can be imported using from openhsi.metadata import *

“As metadata are shared between National and International repositories, it is becoming increasing important to be able to unambiguously identify and refer to specific records. This is facilitated by including an identifier in the metadata. Some mechanism must exist for ensuring that these identifiers are unique. This is accomplished by specifying the naming authority or namespace for the identifier. It is the responsibility of the manager of the namespace to ensure that the identifiers in that namespace are unique. Identifying the Metadata Convention being used in the file and providing a link to more complete metadata, possibly using a different convention, are also important.”

https://wiki.esipfed.org/Attribute_Convention_for_Data_Discovery_1-3

“As metadata are shared between National and International repositories, it is becoming increasing important to be able to unambiguously identify and refer to specific records. This is facilitated by including an identifier in the metadata. Some mechanism must exist for ensuring that these identifiers are unique. This is accomplished by specifying the naming authority or namespace for the identifier. It is the responsibility of the manager of the namespace to ensure that the identifiers in that namespace are unique. Identifying the Metadata Convention being used in the file and providing a link to more complete metadata, possibly using a different convention, are also important.”

https://wiki.esipfed.org/Attribute_Convention_for_Data_Discovery_1-3


source

build_section_widgets

 build_section_widgets (section_name:str='', fields:List[dict]=[{}],
                        cols:int=3)

Construct text input widgets and place them into cols columns

Standard name table https://cfconventions.org/Data/cf-standard-names/current/build/cf-standard-name-table.html


source

build_variables_widgets

 build_variables_widgets (ds:xarray.core.dataset.Dataset, cols:int=3)

search inside NetCDF coordinates for metadata. Layout widgets with specified cols.


source

MetadataEditor

 MetadataEditor ()

Interactive ISO 19115-2 Metadata Editor


source

MetadataEditor.__call__

 MetadataEditor.__call__ ()

provide the dashboard


source

MetadataEditor.update_export

 MetadataEditor.update_export ()

setup the json export button callback


source

MetadataEditor.update_extract

 MetadataEditor.update_extract ()

setup the load file button callback


source

MetadataEditor.update_save

 MetadataEditor.update_save ()

setup the in-place file update button callback


source

MetadataEditor.make_widgets

 MetadataEditor.make_widgets ()

init widgets!

Warning

This web page was generated from a Jupyter notebook and not all interactivity will work on this website. Download the notebook and run locally.

me = MetadataEditor()
me()