You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HNAP2.3 has mandatory requirements for 'Corporate information'. There are 3 parameters: Branch, Directorate and Project. The first two are mandatory and 'Project' is optional.
The ECDC provides a dropdown list for selecting Branch and Directorate, along with a freetext box for Project (in both language). In the pygeometa spirit, I suggest specifying 'Corporate info' directly in the MCF file. Parameter names could be HNAP_Branch, HNAP_Directorate and HNAP_Project-en / HNAP_Project-fr.
Here's an example of an output XML which has the 'Corporate info' in it. This section comes right after /gmd:supplementalInformation
As discussed this requirement is a very specific use case which is best done downstream of pygeometa output. Proposed workflow is to create an XML snippet of the information above and inject into XML like:
sed "s#</gmd:MD_DataIdentification>#$(sed 's:/:\\/:g' foo.xml)\n </gmd:MD_DataIdentification>#" hnap_metadata.xml
where foo.xml is the XML file to be injected into the pygeometa outputted file.
HNAP2.3 has mandatory requirements for 'Corporate information'. There are 3 parameters: Branch, Directorate and Project. The first two are mandatory and 'Project' is optional.
The ECDC provides a dropdown list for selecting Branch and Directorate, along with a freetext box for Project (in both language). In the pygeometa spirit, I suggest specifying 'Corporate info' directly in the MCF file. Parameter names could be HNAP_Branch, HNAP_Directorate and HNAP_Project-en / HNAP_Project-fr.
Here's an example of an output XML which has the 'Corporate info' in it. This section comes right after /gmd:supplementalInformation
Let me know if you need additional info. Thanks! -- Alex
The text was updated successfully, but these errors were encountered: