plugins/product/iso/template.xml (726 lines of code) (raw):
<?xml version="1.0" encoding="UTF-8"?>
<gmd:DS_Series xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.isotc211.org/2005/gmd http://www.ngdc.noaa.gov/metadata/published/xsd/schema.xsd"
xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gco="http://www.isotc211.org/2005/gco"
xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gml="http://www.opengis.net/gml"
xmlns:gsr="http://www.isotc211.org/2005/gsr" xmlns:gss="http://www.isotc211.org/2005/gss"
xmlns:gts="http://www.isotc211.org/2005/gts" xmlns:gmx="http://www.isotc211.org/2005/gmx"
xmlns:gmi="http://www.isotc211.org/2005/gmi">
<gmd:composedOf gco:nilReason="inapplicable" />
<gmd:seriesMetadata>
<gmi:MI_Metadata id="{{ docs[0]['id'] }}">
<gmd:fileIdentifier>
<gco:CharacterString>{{ docs[0]['product_name'] }}</gco:CharacterString>
</gmd:fileIdentifier>
<gmd:language>
<gco:CharacterString>eng</gco:CharacterString>
</gmd:language>
<gmd:characterSet>
<gmd:MD_CharacterSetCode
codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_CharacterSetCode"
codeListValue="UTF8">UTF8
</gmd:MD_CharacterSetCode>
</gmd:characterSet>
<gmd:hierarchyLevel>
<gmd:MD_ScopeCode
codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_ScopeCode"
codeListValue="series">series
</gmd:MD_ScopeCode>
</gmd:hierarchyLevel>
{% if docs[0].__contains__('product_contact_role_list') and
docs[0]['product_contact_role_list'].__contains__('POINT_OF_CONTACT') %}
<gmd:contact>
{% for i in range(docs[0]['product_contact_role_list'].__len__()) %}
{% if docs[0]['product_contact_role_list'][i] == 'POINT_OF_CONTACT' %}
<gmd:CI_ResponsibleParty id="seriesMetadataContact">
<gmd:individualName>
<gco:CharacterString>
{% if docs[0]['product_contact_first_name_list'][i] != 'null' %}
{{ docs[0]['product_contact_first_name_list'][i] }}
{% endif %}
{% if docs[0]['product_contact_middle_name_list'][i] != 'null' %}
{{ docs[0]['product_contact_middle_name_list'][i] }}
{% endif %}
{{ docs[0]['product_contact_last_name_list'][i] }}
</gco:CharacterString>
</gmd:individualName>
<gmd:organisationName>
<gco:CharacterString>{{ docs[0]['product_contact_provider_short_name_list'][i] }} > {{ docs[0]['product_contact_provider_long_name_list'][i] }}</gco:CharacterString>
</gmd:organisationName>
<gmd:positionName>
<gco:CharacterString>
{% if docs[0].__contains__('product_contact_role_list') %}
{{ docs[0]['product_contact_role_list'][i] }}
{% endif %}
</gco:CharacterString>
</gmd:positionName>
<gmd:contactInfo>
<gmd:CI_Contact>
<gmd:phone>
<gmd:CI_Telephone>
{% if docs[0]['product_contact_phone_list'][i] != 'null' %}
<gmd:voice>
<gco:CharacterString>{{ docs[0]['product_contact_phone_list'][i] }}</gco:CharacterString>
</gmd:voice>
{% else %}
<gmd:voice gco:nilReason="missing" />
{% endif %}
{% if docs[0]['product_contact_fax_list'][i] != 'null' %}
<gmd:facsimile>
<gco:CharacterString>{{ docs[0]['product_contact_fax_list'][i] }}</gco:CharacterString>
</gmd:facsimile>
{% else %}
<gmd:facsimile gco:nilReason="missing" />
{% endif %}
</gmd:CI_Telephone>
</gmd:phone>
<gmd:address>
<gmd:CI_Address>
{% if docs[0]['product_contact_address_list'][i] != 'null' %}
<gmd:electronicMailAddress>
<gco:CharacterString>{{ docs[0]['product_contact_address_list'][i] }}</gco:CharacterString>
</gmd:electronicMailAddress>
{% else %}
<gmd:electronicMailAddress gco:nilReason="missing" />
{% endif %}
</gmd:CI_Address>
</gmd:address>
<gmd:contactInstructions>
<gco:CharacterString>Phone/FAX/E-mail</gco:CharacterString>
</gmd:contactInstructions>
</gmd:CI_Contact>
</gmd:contactInfo>
<gmd:role>
<gmd:CI_RoleCode
codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_RoleCode"
codeListValue="pointOfContact">pointOfContact
</gmd:CI_RoleCode>
</gmd:role>
</gmd:CI_ResponsibleParty>
{% endif %}
{% endfor %}
</gmd:contact>
{% else %}
<gmd:contact gco:nilReason="missing" />
{% endif %}
<gmd:dateStamp>
<gco:Date>{{ docs[0]['product_meta_history_last_revision_date_string'] }}</gco:Date>
</gmd:dateStamp>
<gmd:metadataStandardName>
<gco:CharacterString>ISO 19115-2 Geographic information — Metadata —
Part 2: Extensions for imagery and gridded data
</gco:CharacterString>
</gmd:metadataStandardName>
<gmd:metadataStandardVersion>
<gco:CharacterString>ISO 19115-2:2009-02-15</gco:CharacterString>
</gmd:metadataStandardVersion>
<gmd:locale>
<gmd:PT_Locale>
<gmd:languageCode>
<gmd:LanguageCode
codeList="http://www.loc.gov/standards/iso639-2/php/English_list.php"
codeListValue="eng">eng</gmd:LanguageCode>
</gmd:languageCode>
<gmd:country>
<gmd:Country codeList="http://www.iso.org/iso/iso_3166-1_list_en.zip"
codeListValue="US">US</gmd:Country>
</gmd:country>
<gmd:characterEncoding>
<gmd:MD_CharacterSetCode
codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_CharacterSetCode"
codeListValue="UTF8">UTF8</gmd:MD_CharacterSetCode>
</gmd:characterEncoding>
</gmd:PT_Locale>
</gmd:locale>
<gmd:metadataExtensionInfo>
<gmd:MD_MetadataExtensionInformation>
<gmd:extensionOnLineResource>
<gmd:CI_OnlineResource>
<gmd:linkage>
<gmd:URL>http://www.ngdc.noaa.gov/metadata/published/19115/GHRSST/ISO/CoverageExtensions.xml</gmd:URL>
</gmd:linkage>
<gmd:applicationProfile>
<gco:CharacterString>Web Browser</gco:CharacterString>
</gmd:applicationProfile>
<gmd:description>
<gco:CharacterString>A description of extensions developed at NGDC to classify coverages.</gco:CharacterString>
</gmd:description>
<gmd:function>
<gmd:CI_OnLineFunctionCode
codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_OnlineFunctionCode"
codeListValue="information">information
</gmd:CI_OnLineFunctionCode>
</gmd:function>
</gmd:CI_OnlineResource>
</gmd:extensionOnLineResource>
</gmd:MD_MetadataExtensionInformation>
</gmd:metadataExtensionInfo>
<gmd:identificationInfo>
<gmd:MD_DataIdentification id="seriesIdentification">
<gmd:citation>
<gmd:CI_Citation>
{% if docs[0].__contains__('product_name') %}
<gmd:title>
<gco:CharacterString>{{ docs[0]['product_name'] }}</gco:CharacterString>
</gmd:title>
{% else %}
<gmd:title gco:nilReason="missing" />
{% endif %}
{% if docs[0].__contains__('product_name') %}
<gmd:alternateTitle>
<gco:CharacterString>{{ docs[0]['product_name'] }}</gco:CharacterString>
</gmd:alternateTitle>
{% else %}
<gmd:alternateTitle gco:nilReason="missing" />
{% endif %}
<gmd:date>
<gmd:CI_Date>
<gmd:date>
<gco:Date>{{ docs[0]['product_create_time_string'] }}</gco:Date>
</gmd:date>
<gmd:dateType>
<gmd:CI_DateTypeCode
codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_DateTypeCode"
codeListValue="creation">creation
</gmd:CI_DateTypeCode>
</gmd:dateType>
</gmd:CI_Date>
</gmd:date>
{% if docs[0].__contains__('product_revision') %}
<gmd:edition>
<gco:CharacterString>{{ docs[0]['product_revision'] }}</gco:CharacterString>
</gmd:edition>
{% else %}
<gmd:edition gco:nilReason="missing" />
{% endif %}
<gmd:citedResponsibleParty>
<gmd:CI_ResponsibleParty id="seriesMetadataContact">
<gmd:individualName gco:nilReason="missing" />
<gmd:contactInfo gco:nilReason="missing" />
<gmd:role>
<gmd:CI_RoleCode
codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_RoleCode"
codeListValue="originator">originator
</gmd:CI_RoleCode>
</gmd:role>
</gmd:CI_ResponsibleParty>
</gmd:citedResponsibleParty>
<gmd:citedResponsibleParty>
<gmd:CI_ResponsibleParty id="seriesMetadataContact">
<gmd:individualName gco:nilReason="missing" />
<gmd:contactInfo gco:nilReason="missing" />
<gmd:role>
<gmd:CI_RoleCode
codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_RoleCode"
codeListValue="publisher">publisher
</gmd:CI_RoleCode>
</gmd:role>
</gmd:CI_ResponsibleParty>
</gmd:citedResponsibleParty>
</gmd:CI_Citation>
</gmd:citation>
{% if docs[0].__contains__('product_name') %}
<gmd:abstract>
<gco:CharacterString>{{ docs[0]['product_name'] }}</gco:CharacterString>
</gmd:abstract>
{% else %}
<gmd:abstract gco:nilReason="missing" />
{% endif %}
<gmd:credit gco:nilReason="missing" />
<gmd:status>
<gmd:MD_ProgressCode
codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_ProgressCode"
codeListValue="onGoing">onGoing
</gmd:MD_ProgressCode>
</gmd:status>
{% if docs[0].__contains__('product_contact_role_list') and docs[0]['product_contact_role_list'].__contains__('POINT_OF_CONTACT') %}
<gmd:pointOfContact>
{% for i in range(docs[0]['product_contact_role_list'].__len__()) %}
{% if docs[0]['product_contact_role_list'][i] == 'POINT_OF_CONTACT' %}
<gmd:CI_ResponsibleParty id="seriesMetadataContact">
<gmd:individualName>
<gco:CharacterString>
{% if docs[0]['product_contact_first_name_list'][i] != 'null' %}
{{ docs[0]['product_contact_first_name_list'][i] }}
{% endif %}
{% if docs[0]['product_contact_middle_name_list'][i] != 'null' %}
{{ docs[0]['product_contact_middle_name_list'][i] }}
{% endif %}
{{ docs[0]['product_contact_last_name_list'][i] }}
</gco:CharacterString>
</gmd:individualName>
<gmd:organisationName>
<gco:CharacterString>{{ docs[0]['product_contact_provider_short_name_list'][i] }} > {{ docs[0]['product_contact_provider_long_name_list'][i] }}</gco:CharacterString>
</gmd:organisationName>
<gmd:contactInfo>
<gmd:CI_Contact>
<gmd:phone>
<gmd:CI_Telephone>
{% if docs[0]['product_contact_phone_list'][i] != 'null' %}
<gmd:voice>
<gco:CharacterString>{{ docs[0]['product_contact_phone_list'][i] }}</gco:CharacterString>
</gmd:voice>
{% else %}
<gmd:voice gco:nilReason="missing" />
{% endif %}
{% if docs[0]['product_contact_fax_list'][i] != 'null' %}
<gmd:facsimile>
<gco:CharacterString>{{ docs[0]['product_contact_fax_list'][i] }}</gco:CharacterString>
</gmd:facsimile>
{% else %}
<gmd:facsimile gco:nilReason="missing" />
{% endif %}
</gmd:CI_Telephone>
</gmd:phone>
<gmd:address>
<gmd:CI_Address>
{% if docs[0]['product_contact_address_list'][i] != 'null' %}
<gmd:electronicMailAddress>
<gco:CharacterString>{{ docs[0]['product_contact_address_list'][i] }}</gco:CharacterString>
</gmd:electronicMailAddress>
{% else %}
<gmd:electronicMailAddress gco:nilReason="missing" />
{% endif %}
</gmd:CI_Address>
</gmd:address>
<gmd:contactInstructions>
<gco:CharacterString>Phone/FAX/E-mail</gco:CharacterString>
</gmd:contactInstructions>
{% if docs[0]['product_contact_provider_resource_paths_list'][i] != 'null' %}
<gmd:onlineResource>
<gmd:CI_OnlineResource>
<gmd:linkage>
<gmd:URL>{{ docs[0]['product_contact_provider_resource_paths_list'][i] }}</gmd:URL>
</gmd:linkage>
</gmd:CI_OnlineResource>
</gmd:onlineResource>
{% else %}
<gmd:onlineResource gco:nilReason="missing" />
{% endif %}
</gmd:CI_Contact>
</gmd:contactInfo>
<gmd:role>
<gmd:CI_RoleCode
codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_RoleCode"
codeListValue="pointOfContact">pointOfContact
</gmd:CI_RoleCode>
</gmd:role>
</gmd:CI_ResponsibleParty>
{% endif %}
{% endfor %}
</gmd:pointOfContact>
{% else %}
<gmd:pointOfContact gco:nilReason="missing" />
{% endif %}
{% if docs[0].__contains__('product_reference_name_list') %}
<gmd:resourceFormat>
{% for i in range(docs[0]['product_reference_name_list'].__len__()) %}
<gmd:MD_Format id="resourceFormat">
{% if docs[0].__contains__('product_reference_name_list') %}
<gmd:name>
<gco:CharacterString>{{ docs[0]['product_reference_name_list'][i] }}</gco:CharacterString>
</gmd:name>
{% else %}
<gmd:name gco:nilReason="missing" />
{% endif %}
{% if docs[0].__contains__('product_reference_version_list') %}
<gmd:version>
<gco:CharacterString>{{ docs[0]['product_reference_version_list'][i] }}</gco:CharacterString>
</gmd:version>
{% else %}
<gmd:version gco:nilReason="missing" />
{% endif %}
<gmd:fileDecompressionTechnique gco:nilReason="missing" />
</gmd:MD_Format>
{% endfor %}
</gmd:resourceFormat>
{% else %}
<gmd:resourceFormat gco:nilReason="missing" />
{% endif %}
<gmd:descriptiveKeywords>
<gmd:MD_Keywords>
<gmd:keyword gco:nilReason="missing" />
<gmd:type>
<gmd:MD_KeywordTypeCode
codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_KeywordTypeCode"
codeListValue="theme">theme
</gmd:MD_KeywordTypeCode>
</gmd:type>
<gmd:thesaurusName>
<gmd:CI_Citation>
<gmd:title>
<gco:CharacterString>NASA/GCMD Earth Science Keywords
</gco:CharacterString>
</gmd:title>
<gmd:date gco:nilReason="unknown" />
</gmd:CI_Citation>
</gmd:thesaurusName>
</gmd:MD_Keywords>
</gmd:descriptiveKeywords>
{% if docs[0].__contains__('product_operation_list') %}
{% for i in range(docs[0]['product_operation_list'].__len__()) %}
<gmd:descriptiveKeywords>
<gmd:MD_Keywords>
<gmd:keyword >
<gco:CharacterString>
Operation: {{ docs[0]['product_operation_list'][i] }} > Agent: {{ docs[0]['product_operation_agent_list'][i] }}
</gco:CharacterString>
</gmd:keyword>
<gmd:type>
<gmd:MD_KeywordTypeCode
codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_KeywordTypeCode"
codeListValue="place">place
</gmd:MD_KeywordTypeCode>
</gmd:type>
<gmd:thesaurusName>
<gmd:CI_Citation>
<gmd:title>
<gco:CharacterString>NASA/GCMD Location Keywords</gco:CharacterString>
</gmd:title>
<gmd:date gco:nilReason="unknown" />
</gmd:CI_Citation>
</gmd:thesaurusName>
</gmd:MD_Keywords>
</gmd:descriptiveKeywords>
{% endfor %}
{% else %}
<gmd:descriptiveKeywords>
<gmd:MD_Keywords>
<gmd:keyword gco:nilReason="missing" />
<gmd:type>
<gmd:MD_KeywordTypeCode
codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_KeywordTypeCode"
codeListValue="place">place
</gmd:MD_KeywordTypeCode>
</gmd:type>
<gmd:thesaurusName>
<gmd:CI_Citation>
<gmd:title>
<gco:CharacterString>NASA/GCMD Location Keywords</gco:CharacterString>
</gmd:title>
<gmd:date gco:nilReason="unknown" />
</gmd:CI_Citation>
</gmd:thesaurusName>
</gmd:MD_Keywords>
</gmd:descriptiveKeywords>
{% endif %}
<gmd:resourceConstraints>
<gmd:MD_LegalConstraints>
<gmd:useLimitation gco:nilReason="missing" />
<gmd:otherConstraints gco:nilReason="missing" />
</gmd:MD_LegalConstraints>
</gmd:resourceConstraints>
<gmd:spatialRepresentationType>
<gmd:MD_SpatialRepresentationTypeCode
codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_SpatialRepresentationTypeCode"
codeListValue="grid">grid
</gmd:MD_SpatialRepresentationTypeCode>
</gmd:spatialRepresentationType>
<gmd:language>
<gco:CharacterString>eng</gco:CharacterString>
</gmd:language>
<gmd:characterSet>
<gmd:MD_CharacterSetCode
codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_CharacterSetCode"
codeListValue="UTF8">UTF8
</gmd:MD_CharacterSetCode>
</gmd:characterSet>
<gmd:extent>
<gmd:EX_Extent id="boundingExtent">
<gmd:geographicElement>
<gmd:EX_GeographicBoundingBox id="boundingBox">
<gmd:extentTypeCode>
<gco:Boolean>true</gco:Boolean>
</gmd:extentTypeCode>
<gmd:westBoundLongitude gco:nilReason="missing" />
<gmd:eastBoundLongitude gco:nilReason="missing" />
<gmd:southBoundLatitude gco:nilReason="missing" />
<gmd:northBoundLatitude gco:nilReason="missing" />
</gmd:EX_GeographicBoundingBox>
</gmd:geographicElement>
<gmd:geographicElement>
<gmd:EX_GeographicDescription>
<gmd:extentTypeCode>
<gco:Boolean>true</gco:Boolean>
</gmd:extentTypeCode>
<gmd:geographicIdentifier>
<gmd:MD_Identifier>
<gmd:code />
</gmd:MD_Identifier>
</gmd:geographicIdentifier>
</gmd:EX_GeographicDescription>
</gmd:geographicElement>
<gmd:temporalElement>
<gmd:EX_TemporalExtent id="temporalExtent">
<gmd:extent>
<TimePeriod xmlns="http://www.opengis.net/gml/3.2"
xmlns:ns1="http://www.opengis.net/gml/3.2" ns1:id="timePeriod">
<beginPosition>{{ docs[0]['product_start_time_string'] }}</beginPosition>
<endPosition>{{ docs[0]['product_stop_time_string'] }}</endPosition>
</TimePeriod>
</gmd:extent>
</gmd:EX_TemporalExtent>
</gmd:temporalElement>
<gmd:verticalElement gco:nilReason="inapplicable" />
</gmd:EX_Extent>
</gmd:extent>
</gmd:MD_DataIdentification>
</gmd:identificationInfo>
<gmd:contentInfo>
<gmi:MI_CoverageDescription id="referenceInformation">
<gmd:attributeDescription>
<gco:RecordType xlink:href="http://www.ghrsst.org/documents.htm?parent=475" />
</gmd:attributeDescription>
<gmd:contentType>
<gmd:MD_CoverageContentTypeCode
codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_CoverageContentTypeCode"
codeListValue="referenceInformation">referenceInformation
</gmd:MD_CoverageContentTypeCode>
</gmd:contentType>
<gmd:dimension>
<gmd:MD_Band>
<gmd:sequenceIdentifier>
<gco:MemberName>
<gco:aName>
<gco:CharacterString>lat</gco:CharacterString>
</gco:aName>
<gco:attributeType>
<gco:TypeName>
<gco:aName>
<gco:CharacterString>float</gco:CharacterString>
</gco:aName>
</gco:TypeName>
</gco:attributeType>
</gco:MemberName>
</gmd:sequenceIdentifier>
</gmd:MD_Band>
</gmd:dimension>
<gmd:dimension>
<gmd:MD_Band>
<gmd:sequenceIdentifier>
<gco:MemberName>
<gco:aName>
<gco:CharacterString>lon</gco:CharacterString>
</gco:aName>
<gco:attributeType>
<gco:TypeName>
<gco:aName>
<gco:CharacterString>float</gco:CharacterString>
</gco:aName>
</gco:TypeName>
</gco:attributeType>
</gco:MemberName>
</gmd:sequenceIdentifier>
</gmd:MD_Band>
</gmd:dimension>
<gmd:dimension>
<gmd:MD_Band>
<gmd:sequenceIdentifier>
<gco:MemberName>
<gco:aName>
<gco:CharacterString>time</gco:CharacterString>
</gco:aName>
<gco:attributeType>
<gco:TypeName>
<gco:aName>
<gco:CharacterString>int</gco:CharacterString>
</gco:aName>
</gco:TypeName>
</gco:attributeType>
</gco:MemberName>
</gmd:sequenceIdentifier>
</gmd:MD_Band>
</gmd:dimension>
</gmi:MI_CoverageDescription>
</gmd:contentInfo>
<gmd:distributionInfo>
<gmd:MD_Distribution>
<gmd:distributionFormat xlink:href="#resourceFormat" />
<gmd:distributor>
<gmd:MD_Distributor>
<gmd:distributorContact>
<gmd:CI_ResponsibleParty>
<gmd:individualName>
<gco:CharacterString>GIBS User Services</gco:CharacterString>
</gmd:individualName>
<gmd:organisationName>
<gco:CharacterString>NASA/JPL/GIBS > Global Imagery Browse Services, Jet Propulsion Laboratory, NASA</gco:CharacterString>
</gmd:organisationName>
<gmd:contactInfo>
<gmd:CI_Contact>
<gmd:address>
<gmd:CI_Address>
<gmd:deliveryPoint>
<gco:CharacterString>4800 Oak Grove Drive</gco:CharacterString>
</gmd:deliveryPoint>
<gmd:city>
<gco:CharacterString>Pasadena</gco:CharacterString>
</gmd:city>
<gmd:administrativeArea>
<gco:CharacterString>CA</gco:CharacterString>
</gmd:administrativeArea>
<gmd:postalCode>
<gco:CharacterString>91109-8099</gco:CharacterString>
</gmd:postalCode>
<gmd:country>
<gco:CharacterString>USA</gco:CharacterString>
</gmd:country>
<gmd:electronicMailAddress>
<gco:CharacterString>gibs@gibs.jpl.nasa.gov</gco:CharacterString>
</gmd:electronicMailAddress>
</gmd:CI_Address>
</gmd:address>
<gmd:onlineResource>
<gmd:CI_OnlineResource>
<gmd:linkage>
<gmd:URL>http://gibs.jpl.nasa.gov</gmd:URL>
</gmd:linkage>
</gmd:CI_OnlineResource>
</gmd:onlineResource>
</gmd:CI_Contact>
</gmd:contactInfo>
<gmd:role>
<gmd:CI_RoleCode
codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_RoleCode"
codeListValue="distributor">distributor
</gmd:CI_RoleCode>
</gmd:role>
</gmd:CI_ResponsibleParty>
</gmd:distributorContact>
</gmd:MD_Distributor>
</gmd:distributor>
{% if docs[0].__contains__('product_reference_path_list') and docs[0].__contains__('product_reference_type_list') %}
{% for i in range(docs[0]['product_reference_path_list'].__len__()) %}
if docs[0]['product_reference_type_list'][i] != 'Thumbnail' %}
<gmd:transferOptions>
<gmd:MD_DigitalTransferOptions>
<gmd:onLine>
<gmd:CI_OnlineResource>
{% if docs[0].__contains__('product_reference_path_list') %}
<gmd:linkage>
<gmd:URL>{{ docs[0]['product_reference_path_list'][i] }}</gmd:URL>
</gmd:linkage>
{% else %}
<gmd:linkage gco:nilReason="missing" />
{% endif %}
{% if docs[0].__contains__('product_reference_name_list') %}
<gmd:name>
<gmd:CharacterString>{{ docs[0]['product_reference_name_list'][i] }}</gmd:CharacterString>
</gmd:name>
{% else %}
<gmd:name gco:nilReason="missing" />
{% endif %}
{% if docs[0].__contains__('product_type_resource_description_list') %}
<gmd:description>
<gmd:CharacterString>{{ docs[0]['product_type_resource_description_list'][i] }}</gmd:CharacterString>
</gmd:description>
{% else %}
<gmd:description gco:nilReason="missing" />
{% endif %}
<gmd:function>
<gmd:CI_OnLineFunctionCode
codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_OnlineFunctionCode"
codeListValue="information">information
</gmd:CI_OnLineFunctionCode>
</gmd:function>
</gmd:CI_OnlineResource>
</gmd:onLine>
</gmd:MD_DigitalTransferOptions>
</gmd:transferOptions>
{% endfor %}
{% else %}
<gmd:transferOptions gco:nilReason="missing" />
{% endif %}
</gmd:MD_Distribution>
</gmd:distributionInfo>
<gmd:metadataMaintenance>
<gmd:MD_MaintenanceInformation>
<gmd:maintenanceAndUpdateFrequency>
<gmd:MD_MaintenanceFrequencyCode
codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_MaintenanceFrequencyCode"
codeListValue="asNeeded">asNeeded</gmd:MD_MaintenanceFrequencyCode>
</gmd:maintenanceAndUpdateFrequency>
<gmd:maintenanceNote>
<gco:CharacterString>Translated from GCMD DIF
</gco:CharacterString>
</gmd:maintenanceNote>
</gmd:MD_MaintenanceInformation>
</gmd:metadataMaintenance>
<gmi:acquisitionInformation>
<gmi:MI_AcquisitionInformation>
<gmi:instrument>
<gmi:MI_Instrument>
<gmi:identifier gco:nilReason="missing" />
<gmi:description gco:nilReason="missing" />
</gmi:MI_Instrument>
</gmi:instrument>
<gmi:platform>
<gmi:MI_Platform>
<gmi:identifier gco:nilReason="missing" />
<gmi:description gco:nilReason="missing" />
<gmi:sponsor>
<gmd:CI_ResponsibleParty>
<gmd:organisationName>
<gco:CharacterString>NASA/JPL/GIBS > Global Imagery Browse Services, Jet Propulsion Laboratory, NASA</gco:CharacterString>
</gmd:organisationName>
<gmd:contactInfo>
<gmd:CI_Contact>
<gmd:onlineResource>
<gmd:CI_OnlineResource>
<gmd:linkage>
<gmd:URL>http://gibs.jpl.nasa.gov</gmd:URL>
</gmd:linkage>
<gmd:function>
<gmd:CI_OnLineFunctionCode
codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_OnLineFunctionCode"
codeListValue="information" />
</gmd:function>
</gmd:CI_OnlineResource>
</gmd:onlineResource>
</gmd:CI_Contact>
</gmd:contactInfo>
<gmd:role>
<gmd:CI_RoleCode
codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_RoleCode"
codeListValue="sponsor" />
</gmd:role>
</gmd:CI_ResponsibleParty>
</gmi:sponsor>
<gmi:sponsor>
<gmd:CI_ResponsibleParty>
<gmd:organisationName>
<gco:CharacterString>NASA/JPL/PODAAC > Physical
Oceanography Distributed Active Archive Center, Jet
Propulsion Laboratory, NASA</gco:CharacterString>
</gmd:organisationName>
<gmd:contactInfo>
<gmd:CI_Contact>
<gmd:onlineResource>
<gmd:CI_OnlineResource>
<gmd:linkage>
<gmd:URL>http://podaac.jpl.nasa.gov</gmd:URL>
</gmd:linkage>
<gmd:function>
<gmd:CI_OnLineFunctionCode
codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_OnLineFunctionCode"
codeListValue="information" />
</gmd:function>
</gmd:CI_OnlineResource>
</gmd:onlineResource>
</gmd:CI_Contact>
</gmd:contactInfo>
<gmd:role>
<gmd:CI_RoleCode
codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_RoleCode"
codeListValue="sponsor" />
</gmd:role>
</gmd:CI_ResponsibleParty>
</gmi:sponsor>
<gmi:instrument xlink:href="{{ docs[0]['product_name'] }}" />
</gmi:MI_Platform>
</gmi:platform>
</gmi:MI_AcquisitionInformation>
</gmi:acquisitionInformation>
</gmi:MI_Metadata>
</gmd:seriesMetadata>
</gmd:DS_Series>