search_solr_tools 7.0.0 → 7.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/search_solr_tools/translators/nsidc_json.rb +6 -9
- data/lib/search_solr_tools/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 06c1b12c76f3c9cfdd99f05f85cce8a24c6118cd1dfcbfc8ace538a32865d36f
|
4
|
+
data.tar.gz: bd22205a6833f05d4d96fa43cdc91b5b3d45452f658ccf597ac3bbd26ac40abc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6df6573622d4643676f1334b15aa4184f15403bc8f90f8a8cd116c25aa86202c6edc04a8acb9ef4ae428e49bb5429b2fad5b1ecd1afbf5bf5557af38eca28285
|
7
|
+
data.tar.gz: e75b60f41f1c4e5f8b2e7ad14e34a58fa20ba3af5d45b56fccf6914db51f108d4c015a26a139d21ed30c2cd9c06634f73c5a637043f336a210ca37f00625877c
|
data/CHANGELOG.md
CHANGED
@@ -55,7 +55,8 @@ module SearchSolrTools
|
|
55
55
|
'facet_temporal_resolution' => translate_temporal_resolution_facet_values(json_doc['parameters']),
|
56
56
|
'facet_spatial_resolution' => translate_spatial_resolution_facet_values(json_doc['parameters']),
|
57
57
|
'sponsored_programs' => translate_internal_datacenters(json_doc['internalDataCenters']),
|
58
|
-
'
|
58
|
+
'facet_storage_location' => translate_storage_location(json_doc),
|
59
|
+
'facet_spatial_coverage' => Helpers::TranslateSpatialCoverage.geojson_to_global_facet(spatial_coverages)
|
59
60
|
)
|
60
61
|
end
|
61
62
|
# rubocop:enable Metrics/MethodLength
|
@@ -205,17 +206,13 @@ module SearchSolrTools
|
|
205
206
|
json_strings.uniq
|
206
207
|
end
|
207
208
|
|
208
|
-
def
|
209
|
-
|
209
|
+
def translate_storage_location(json)
|
210
|
+
facet_storage = []
|
210
211
|
|
211
212
|
# Add the Earthdata Cloud feature
|
212
|
-
|
213
|
+
facet_storage << 'In Earthdata Cloud' if json['cumulus']
|
213
214
|
|
214
|
-
|
215
|
-
global = Helpers::TranslateSpatialCoverage.geojson_to_global_facet(spatial_coverages)
|
216
|
-
facet_featured << global unless global.nil?
|
217
|
-
|
218
|
-
facet_featured
|
215
|
+
facet_storage
|
219
216
|
end
|
220
217
|
|
221
218
|
def generate_data_citation_creators(data_citation)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: search_solr_tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.
|
4
|
+
version: 7.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Chalstrom
|
@@ -14,7 +14,7 @@ authors:
|
|
14
14
|
autorequire:
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
|
-
date: 2023-10-
|
17
|
+
date: 2023-10-11 00:00:00.000000000 Z
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
20
20
|
name: ffi-geos
|