geo_combine 0.2.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -20,31 +20,37 @@ describe 'ISO 19139 to html' do
20
20
  describe 'Spatial Reference Information' do
21
21
  it 'has sections' do
22
22
  expect(page).to have_tag '#iso-spatial-reference-info'
23
+ expect(page).to have_tag 'h2', text: 'Identification Information'
23
24
  end
24
25
  end
25
26
  describe 'Data Quality Information' do
26
27
  it 'has sections' do
27
28
  expect(page).to have_tag '#iso-data-quality-info'
29
+ expect(page).to have_tag 'h2', text: 'Data Quality Information'
28
30
  end
29
31
  end
30
32
  describe 'Distribution Information' do
31
33
  it 'has sections' do
32
34
  expect(page).to have_tag '#iso-distribution-info'
35
+ expect(page).to have_tag 'h2', text: 'Distribution Information'
33
36
  end
34
37
  end
35
38
  describe 'Content Information' do
36
39
  it 'has sections' do
37
- expect(page).to have_tag '#iso-distribution-info'
40
+ expect(page).to have_tag '#iso-content-info'
41
+ expect(page).to have_tag 'h2', text: 'Content Information'
38
42
  end
39
43
  end
40
44
  describe 'Spatial Representation Information' do
41
45
  it 'has sections' do
42
46
  expect(page).to have_tag '#iso-spatial-representation-info'
47
+ expect(page).to have_tag 'h2', text: 'Spatial Representation Information'
43
48
  end
44
49
  end
45
50
  describe 'Metadata Reference Information' do
46
51
  it 'has sections' do
47
52
  expect(page).to have_tag '#iso-metadata-reference-info'
53
+ expect(page).to have_tag 'h2', text: 'Metadata Reference Information'
48
54
  end
49
55
  end
50
56
  end
@@ -0,0 +1,456 @@
1
+ {
2
+ "license_title": null,
3
+ "maintainer": null,
4
+ "relationships_as_object": [
5
+
6
+ ],
7
+ "private": false,
8
+ "maintainer_email": null,
9
+ "num_tags": 0,
10
+ "id": "0009a4da-24ad-4d86-917b-1d1a1b1a67f3",
11
+ "metadata_created": "2015-09-26T20:11:41.272887",
12
+ "metadata_modified": "2016-10-03T21:32:38.295427",
13
+ "author": null,
14
+ "author_email": null,
15
+ "state": "active",
16
+ "version": null,
17
+ "creator_user_id": "47303a9e-1187-4290-85a3-1fc02dc49e4a",
18
+ "type": "dataset",
19
+ "resources": [
20
+ {
21
+ "cache_last_updated": null,
22
+ "package_id": "0009a4da-24ad-4d86-917b-1d1a1b1a67f3",
23
+ "webstore_last_updated": null,
24
+ "id": "76eea1e9-525a-4f70-8f70-8a8164f24446",
25
+ "size": null,
26
+ "state": "active",
27
+ "resource_locator_function": "information",
28
+ "hash": "",
29
+ "description": "Navigate directly to the URL for a descriptive web page with download links.",
30
+ "format": "Originator data format",
31
+ "tracking_summary": {
32
+ "total": 0,
33
+ "recent": 0
34
+ },
35
+ "mimetype_inner": null,
36
+ "url_type": null,
37
+ "resource_locator_protocol": "HTTP",
38
+ "mimetype": null,
39
+ "cache_url": null,
40
+ "name": "Descriptive Information",
41
+ "created": "2016-10-03T17:32:38.603178",
42
+ "url": "https://accession.nodc.noaa.gov/8600315",
43
+ "webstore_url": null,
44
+ "last_modified": null,
45
+ "position": 0,
46
+ "revision_id": "48f8ab67-468b-4354-a450-35f2cb8e51a7",
47
+ "resource_type": null
48
+ },
49
+ {
50
+ "cache_last_updated": null,
51
+ "package_id": "0009a4da-24ad-4d86-917b-1d1a1b1a67f3",
52
+ "webstore_last_updated": null,
53
+ "id": "95be096e-48e2-4faa-8236-21bb1875bafc",
54
+ "size": null,
55
+ "state": "active",
56
+ "resource_locator_function": "information",
57
+ "hash": "",
58
+ "description": "Navigate directly to the URL for a descriptive web page with download links.",
59
+ "format": "Originator data format",
60
+ "tracking_summary": {
61
+ "total": 0,
62
+ "recent": 0
63
+ },
64
+ "mimetype_inner": null,
65
+ "url_type": null,
66
+ "resource_locator_protocol": "HTTP",
67
+ "mimetype": null,
68
+ "cache_url": null,
69
+ "name": "Descriptive Information",
70
+ "created": "2016-10-03T17:32:38.603199",
71
+ "url": "https://accession.nodc.noaa.gov/oas/8600315",
72
+ "webstore_url": null,
73
+ "last_modified": null,
74
+ "position": 1,
75
+ "revision_id": "48f8ab67-468b-4354-a450-35f2cb8e51a7",
76
+ "resource_type": null
77
+ },
78
+ {
79
+ "cache_last_updated": null,
80
+ "package_id": "0009a4da-24ad-4d86-917b-1d1a1b1a67f3",
81
+ "webstore_last_updated": null,
82
+ "id": "a4b99005-faa3-462f-8efb-fa82f5faa651",
83
+ "size": null,
84
+ "state": "active",
85
+ "resource_locator_function": "download",
86
+ "hash": "",
87
+ "description": "Navigate directly to the URL for data access and direct download.",
88
+ "format": "Originator data format",
89
+ "tracking_summary": {
90
+ "total": 0,
91
+ "recent": 0
92
+ },
93
+ "mimetype_inner": null,
94
+ "url_type": null,
95
+ "resource_locator_protocol": "HTTP",
96
+ "mimetype": null,
97
+ "cache_url": null,
98
+ "name": "HTTP",
99
+ "created": "2016-10-03T17:32:38.603208",
100
+ "url": "https://accession.nodc.noaa.gov/download/8600315",
101
+ "webstore_url": null,
102
+ "last_modified": null,
103
+ "position": 2,
104
+ "revision_id": "48f8ab67-468b-4354-a450-35f2cb8e51a7",
105
+ "resource_type": null
106
+ },
107
+ {
108
+ "cache_last_updated": null,
109
+ "package_id": "0009a4da-24ad-4d86-917b-1d1a1b1a67f3",
110
+ "webstore_last_updated": null,
111
+ "id": "60855295-ca99-45a0-bec7-898ecf52ef4a",
112
+ "size": null,
113
+ "state": "active",
114
+ "resource_locator_function": "download",
115
+ "hash": "",
116
+ "description": "These data are available through the File Transfer Protocol (FTP). You may use any FTP client to download these data.",
117
+ "format": "Originator data format",
118
+ "tracking_summary": {
119
+ "total": 0,
120
+ "recent": 0
121
+ },
122
+ "mimetype_inner": null,
123
+ "url_type": null,
124
+ "resource_locator_protocol": "FTP",
125
+ "mimetype": null,
126
+ "cache_url": null,
127
+ "name": "FTP",
128
+ "created": "2016-10-03T17:32:38.603216",
129
+ "url": "ftp://ftp.nodc.noaa.gov/nodc/archive/arc0001/8600315/",
130
+ "webstore_url": null,
131
+ "last_modified": null,
132
+ "position": 3,
133
+ "revision_id": "48f8ab67-468b-4354-a450-35f2cb8e51a7",
134
+ "resource_type": null
135
+ },
136
+ {
137
+ "cache_last_updated": null,
138
+ "package_id": "0009a4da-24ad-4d86-917b-1d1a1b1a67f3",
139
+ "webstore_last_updated": null,
140
+ "id": "7544a4f9-aa0f-46b6-8e7b-fccb1f52397a",
141
+ "size": null,
142
+ "state": "active",
143
+ "resource_locator_function": "information",
144
+ "hash": "",
145
+ "description": "Main NCEI website providing links to access data and data services.",
146
+ "format": "",
147
+ "tracking_summary": {
148
+ "total": 51,
149
+ "recent": 8
150
+ },
151
+ "mimetype_inner": null,
152
+ "url_type": null,
153
+ "resource_locator_protocol": "HTTP",
154
+ "mimetype": null,
155
+ "cache_url": null,
156
+ "name": "NOAA National Centers for Environmental Information website",
157
+ "created": "2016-10-03T17:32:38.603224",
158
+ "url": "https://www.ncei.noaa.gov/",
159
+ "webstore_url": null,
160
+ "last_modified": null,
161
+ "position": 4,
162
+ "revision_id": "48f8ab67-468b-4354-a450-35f2cb8e51a7",
163
+ "resource_type": null
164
+ },
165
+ {
166
+ "cache_last_updated": null,
167
+ "package_id": "0009a4da-24ad-4d86-917b-1d1a1b1a67f3",
168
+ "webstore_last_updated": null,
169
+ "id": "4ed6ee47-42cb-46a2-91b9-8d702c229988",
170
+ "size": null,
171
+ "state": "active",
172
+ "resource_locator_function": "information",
173
+ "hash": "",
174
+ "description": "Main NCEI website providing links to access data and data services.",
175
+ "format": "",
176
+ "tracking_summary": {
177
+ "total": 51,
178
+ "recent": 8
179
+ },
180
+ "mimetype_inner": null,
181
+ "url_type": null,
182
+ "resource_locator_protocol": "HTTP",
183
+ "mimetype": null,
184
+ "cache_url": null,
185
+ "name": "NOAA National Centers for Environmental Information website",
186
+ "created": "2016-10-03T17:32:38.603241",
187
+ "url": "https://www.ncei.noaa.gov/",
188
+ "webstore_url": null,
189
+ "last_modified": null,
190
+ "position": 5,
191
+ "revision_id": "48f8ab67-468b-4354-a450-35f2cb8e51a7",
192
+ "resource_type": null
193
+ },
194
+ {
195
+ "cache_last_updated": null,
196
+ "package_id": "0009a4da-24ad-4d86-917b-1d1a1b1a67f3",
197
+ "webstore_last_updated": null,
198
+ "id": "14f71eee-29ae-4641-8440-c1cac6570cc5",
199
+ "size": null,
200
+ "state": "active",
201
+ "resource_locator_function": "information",
202
+ "hash": "",
203
+ "description": "Overview of the NASA GCMD Keywords.",
204
+ "format": "HTML",
205
+ "tracking_summary": {
206
+ "total": 163,
207
+ "recent": 14
208
+ },
209
+ "mimetype_inner": null,
210
+ "url_type": null,
211
+ "resource_locator_protocol": "HTTP",
212
+ "mimetype": null,
213
+ "cache_url": null,
214
+ "name": "NASA GCMD Keyword Community Page",
215
+ "created": "2016-10-03T17:32:38.603254",
216
+ "url": "http://gcmd.gsfc.nasa.gov/learn/keywords.html",
217
+ "webstore_url": null,
218
+ "last_modified": null,
219
+ "position": 6,
220
+ "revision_id": "48f8ab67-468b-4354-a450-35f2cb8e51a7",
221
+ "resource_type": null
222
+ },
223
+ {
224
+ "cache_last_updated": null,
225
+ "package_id": "0009a4da-24ad-4d86-917b-1d1a1b1a67f3",
226
+ "webstore_last_updated": null,
227
+ "id": "9d46c3f8-5933-4001-9352-5a0fff917a51",
228
+ "size": null,
229
+ "state": "active",
230
+ "resource_locator_function": "information",
231
+ "hash": "",
232
+ "description": "Overview of the NASA GCMD Keywords.",
233
+ "format": "HTML",
234
+ "tracking_summary": {
235
+ "total": 163,
236
+ "recent": 14
237
+ },
238
+ "mimetype_inner": null,
239
+ "url_type": null,
240
+ "resource_locator_protocol": "HTTP",
241
+ "mimetype": null,
242
+ "cache_url": null,
243
+ "name": "NASA GCMD Keyword Community Page",
244
+ "created": "2016-10-03T17:32:38.603262",
245
+ "url": "http://gcmd.gsfc.nasa.gov/learn/keywords.html",
246
+ "webstore_url": null,
247
+ "last_modified": null,
248
+ "position": 7,
249
+ "revision_id": "48f8ab67-468b-4354-a450-35f2cb8e51a7",
250
+ "resource_type": null
251
+ },
252
+ {
253
+ "cache_last_updated": null,
254
+ "package_id": "0009a4da-24ad-4d86-917b-1d1a1b1a67f3",
255
+ "webstore_last_updated": null,
256
+ "id": "c9824b30-b5ac-459d-ba50-188403b3b775",
257
+ "size": null,
258
+ "state": "active",
259
+ "resource_locator_function": "information",
260
+ "hash": "",
261
+ "description": "Overview of the NASA GCMD Keywords.",
262
+ "format": "HTML",
263
+ "tracking_summary": {
264
+ "total": 163,
265
+ "recent": 14
266
+ },
267
+ "mimetype_inner": null,
268
+ "url_type": null,
269
+ "resource_locator_protocol": "HTTP",
270
+ "mimetype": null,
271
+ "cache_url": null,
272
+ "name": "NASA GCMD Keyword Community Page",
273
+ "created": "2016-10-03T17:32:38.603269",
274
+ "url": "http://gcmd.gsfc.nasa.gov/learn/keywords.html",
275
+ "webstore_url": null,
276
+ "last_modified": null,
277
+ "position": 8,
278
+ "revision_id": "48f8ab67-468b-4354-a450-35f2cb8e51a7",
279
+ "resource_type": null
280
+ },
281
+ {
282
+ "cache_last_updated": null,
283
+ "package_id": "0009a4da-24ad-4d86-917b-1d1a1b1a67f3",
284
+ "webstore_last_updated": null,
285
+ "id": "0aee2404-4087-4a09-9c5e-ea4bf08ba6a6",
286
+ "size": null,
287
+ "state": "active",
288
+ "resource_locator_function": "information",
289
+ "hash": "",
290
+ "description": "Overview of the NASA GCMD Keywords.",
291
+ "format": "HTML",
292
+ "tracking_summary": {
293
+ "total": 163,
294
+ "recent": 14
295
+ },
296
+ "mimetype_inner": null,
297
+ "url_type": null,
298
+ "resource_locator_protocol": "HTTP",
299
+ "mimetype": null,
300
+ "cache_url": null,
301
+ "name": "NASA GCMD Keyword Community Page",
302
+ "created": "2016-10-03T17:32:38.603277",
303
+ "url": "http://gcmd.gsfc.nasa.gov/learn/keywords.html",
304
+ "webstore_url": null,
305
+ "last_modified": null,
306
+ "position": 9,
307
+ "revision_id": "48f8ab67-468b-4354-a450-35f2cb8e51a7",
308
+ "resource_type": null
309
+ }
310
+ ],
311
+ "num_resources": 10,
312
+ "tags": [
313
+
314
+ ],
315
+ "tracking_summary": {
316
+ "total": 2,
317
+ "recent": 2
318
+ },
319
+ "groups": [
320
+
321
+ ],
322
+ "license_id": null,
323
+ "relationships_as_subject": [
324
+
325
+ ],
326
+ "organization": {
327
+ "description": "",
328
+ "created": "2013-03-14T03:44:40.434269",
329
+ "title": "National Oceanic and Atmospheric Administration, Department of Commerce",
330
+ "name": "noaa-gov",
331
+ "is_organization": true,
332
+ "state": "active",
333
+ "image_url": "https://fortress.wa.gov/dfw/score/score/images/noaa_logo.png",
334
+ "revision_id": "c6d43080-22e1-405e-a83d-f2a512d9e867",
335
+ "type": "organization",
336
+ "id": "e811f0b4-451f-4896-9e8f-fc6802837819",
337
+ "approval_status": "approved"
338
+ },
339
+ "name": "water-depth-and-other-data-from-thomas-g-thompson-and-other-platforms-from-gulf-of-alaska-and-o",
340
+ "isopen": false,
341
+ "url": null,
342
+ "notes": "",
343
+ "owner_org": "e811f0b4-451f-4896-9e8f-fc6802837819",
344
+ "extras": [
345
+ {
346
+ "key": "bbox-east-long",
347
+ "value": "-105.7"
348
+ },
349
+ {
350
+ "key": "resource-type",
351
+ "value": "dataset"
352
+ },
353
+ {
354
+ "key": "bbox-north-lat",
355
+ "value": "59.2"
356
+ },
357
+ {
358
+ "key": "coupled-resource",
359
+ "value": "[]"
360
+ },
361
+ {
362
+ "key": "guid",
363
+ "value": "gov.noaa.nodc:8600315"
364
+ },
365
+ {
366
+ "key": "spatial_harvester",
367
+ "value": true
368
+ },
369
+ {
370
+ "key": "bbox-south-lat",
371
+ "value": "8.9"
372
+ },
373
+ {
374
+ "key": "spatial-reference-system",
375
+ "value": ""
376
+ },
377
+ {
378
+ "key": "spatial",
379
+ "value": "{\"type\": \"Polygon\", \"coordinates\": [[[-158.2, 8.9], [-105.7, 8.9], [-105.7, 59.2], [-158.2, 59.2], [-158.2, 8.9]]]}"
380
+ },
381
+ {
382
+ "key": "progress",
383
+ "value": "completed"
384
+ },
385
+ {
386
+ "key": "access_constraints",
387
+ "value": "[\"Cite as: University of Washington (2015). Cloud amount/frequency, NITRATE and other data from THOMAS G. THOMPSON in the NW Pacific, Gulf of Alaska and NE Pacific from 1967-02-05 to 1975-10-09 (NCEI Accession 8600315). Version 2.2. NOAA National Centers for Environmental Information. Dataset. [access date]\", \"NOAA and NCEI cannot provide any warranty as to the accuracy, reliability, or completeness of furnished data. Users assume responsibility to determine the usability of these data. The user is responsible for the results of any application of this data for other than its intended purpose.\"]"
388
+ },
389
+ {
390
+ "key": "temporal-extent-begin",
391
+ "value": "1967-02-05"
392
+ },
393
+ {
394
+ "key": "contact-email",
395
+ "value": "NCEI.Info@noaa.gov"
396
+ },
397
+ {
398
+ "key": "bbox-west-long",
399
+ "value": "-158.2"
400
+ },
401
+ {
402
+ "key": "metadata-date",
403
+ "value": "2016-01-07T14:52:07"
404
+ },
405
+ {
406
+ "key": "dataset-reference-date",
407
+ "value": "[{\"type\": \"publication\", \"value\": \"2015-11-30\"}]"
408
+ },
409
+ {
410
+ "key": "frequency-of-update",
411
+ "value": "asNeeded"
412
+ },
413
+ {
414
+ "key": "licence",
415
+ "value": "[\"accessLevel: Public\"]"
416
+ },
417
+ {
418
+ "key": "metadata_type",
419
+ "value": "geospatial"
420
+ },
421
+ {
422
+ "key": "responsible-party",
423
+ "value": "[{\"name\": \"DOC/NOAA/NESDIS/NCEI > National Centers for Environmental Information, NESDIS, NOAA, U.S. Department of Commerce\", \"roles\": [\"pointOfContact\"]}]"
424
+ },
425
+ {
426
+ "key": "temporal-extent-end",
427
+ "value": "1975-10-09"
428
+ },
429
+ {
430
+ "key": "spatial-data-service-type",
431
+ "value": ""
432
+ },
433
+ {
434
+ "key": "metadata-language",
435
+ "value": "eng"
436
+ },
437
+ {
438
+ "key": "tags",
439
+ "value": "ocean temperature, atmosphere, ocean waves, conductivity, temperature, depth, pacific ocean, ocean optics, doc/noaa/nesdis/ncei, ocean, national oceanographic data center, nesdis, noaa, u.s. department of commerce, cloud properties, earth science, oceanography, photometers, density, atmospheric pressure, in situ/laboratory instruments, acoustic velocity, wind speed/wind direction, cloud types, wave period, atmospheric temperature, nitrate, ph, conductivity, attenuation/transmission, national centers for environmental information, nesdis, noaa, u.s. department of commerce, oceans, wave height, ocean acoustics, ocean color, surface winds, silicate, earth remote sensing instruments, passive remote sensing, water temperature, doc/noaa/nesdis/nodc, salinity/density, atmospheric winds, clouds, oxygen, cloud frequency, secchi disks, surface temperature, gulf of alaska, transmissometers, air temperature, salinity, ctd, profilers/sounders, phosphate, secchi depth, north pacific ocean, photon/optical detectors, hydrostatic pressure, ocean chemistry"
440
+ },
441
+ {
442
+ "key": "harvest_object_id",
443
+ "value": "1e5fbc3e-a6ab-489d-be34-5b676f2dd29d"
444
+ },
445
+ {
446
+ "key": "harvest_source_id",
447
+ "value": "2aed8e29-fc5b-4cde-aa66-fb1118fd705e"
448
+ },
449
+ {
450
+ "key": "harvest_source_title",
451
+ "value": "NOAA CSW Harvest Source"
452
+ }
453
+ ],
454
+ "title": "Cloud amount/frequency, NITRATE and other data from THOMAS G. THOMPSON in the NW Pacific, Gulf of Alaska and NE Pacific from 1967-02-05 to 1975-10-09 (NCEI Accession 8600315)",
455
+ "revision_id": "76e8f157-2773-48aa-b02c-23e45facd25c"
456
+ }