File tree Expand file tree Collapse file tree 3 files changed +24
-2
lines changed
resources/example-data/error-cases
src/cmr/umm_spec/xml_to_umm_mappings/iso_shared
test/cmr/umm_spec/test/xml_to_umm_mappings/iso_shared Expand file tree Collapse file tree 3 files changed +24
-2
lines changed Original file line number Diff line number Diff line change 1225
1225
</gmd : function >
1226
1226
</gmd : CI_OnlineResource >
1227
1227
</gmd : onLine >
1228
+ <gmd : onLine >
1229
+ <gmd : CI_OnlineResource >
1230
+ <gmd : linkage >
1231
+ <gmd : URL >https://search.earthdata.nasa.gov/search?q=MOD10A1</gmd : URL >
1232
+ </gmd : linkage >
1233
+ <gmd : name >
1234
+ <gco : CharacterString >Earthdata Search</gco : CharacterString >
1235
+ </gmd : name >
1236
+ <gmd : description >
1237
+ <gco : CharacterString >URLContentType: CollectionURL Description: Project Home Page. Type: PROJECT HOME PAGE</gco : CharacterString >
1238
+ </gmd : description >
1239
+ <gmd : function >
1240
+ <gmd : CI_OnLineFunctionCode codeList =" http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_OnLineFunctionCode" codeListValue =" function" >download</gmd : CI_OnLineFunctionCode >
1241
+ </gmd : function >
1242
+ </gmd : CI_OnlineResource >
1243
+ </gmd : onLine >
1228
1244
</gmd : MD_DigitalTransferOptions >
1229
1245
</gmd : distributorTransferOptions >
1230
1246
</gmd : MD_Distributor >
Original file line number Diff line number Diff line change 110
110
:when (not (= href-type " DirectDistributionInformation" ))]
111
111
(merge
112
112
{:URL url-link
113
- :URLContentType " DistributionURL"
113
+ :URLContentType (or (:URLContentType types-and-desc)
114
+ " DistributionURL" )
114
115
:Type type
115
116
:Subtype (if opendap-type
116
117
" OPENDAP DATA (DODS)"
Original file line number Diff line number Diff line change 139
139
:Unit " KB" ,
140
140
:Fees nil,
141
141
:Checksum nil,
142
- :MimeType nil }}))
142
+ :MimeType nil }}
143
+ {:URL " https://search.earthdata.nasa.gov/search?q=MOD10A1" ,
144
+ :URLContentType " CollectionURL" ,
145
+ :Type " PROJECT HOME PAGE" ,
146
+ :Subtype nil,
147
+ :Description " Project Home Page." }))
143
148
144
149
(defn- distribution-related-url-iso-mends-record
145
150
" Returns an example ISO19115 metadata record that includes multiple related urls
You can’t perform that action at this time.
0 commit comments