-
Notifications
You must be signed in to change notification settings - Fork 0
/
q.rd
executable file
·187 lines (179 loc) · 4.89 KB
/
q.rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
<resource schema="planmap">
<meta name="title">PLANMAP</meta>
<meta name="description">
EPN-TAP access to the the PLANMAP data archive.
</meta>
<meta name="creationDate">2021-02-20T01:01:01</meta>
<meta name="subject">Geology</meta>
<meta name="creator.name">Carlos Brandt</meta>
<meta name="subjects">geology, maps, planet</meta>
<meta name="instrument">custom</meta>
<meta name="facility">custom</meta>
<meta name="contentLevel"></meta>
<meta name="type">Catalog</meta>
<meta name="coverage">
<meta name="Profile">Solar System</meta>
</meta>
<table id="epn_core" onDisk="true">
<mixin spatial_frame_type="body">
//epntap2#table-2_0
</mixin>
<meta name="description">
Catalog of PLANMAP maps
</meta>
<stc>
Polygon UNKNOWNFrame [s_region]
</stc>
<!-- <column
name="spatial_frame_type"
type="text"
verbLevel="1"
/> -->
<column
name="granule_uid"
type="text"
verbLevel="1"
/>
<column
name="granule_gid"
type="text"
verbLevel="1"
/>
<column
name="obs_id"
type="text"
verbLevel="1"
/>
<column
name="dataproduct_type"
type="text"
verbLevel="1"
/>
<column
name="target_name"
type="text"
verbLevel="1"
/>
<column
name="target_class"
type="text"
verbLevel="1"
/>
<column
name="creation_date"
type="text"
verbLevel="1"
/>
<column
name="modification_date"
type="text"
verbLevel="1"
/>
<column
name="release_date"
type="text"
verbLevel="1"
/>
<column
name="service_title"
type="text"
verbLevel="1"
/>
<column
name="c1min"
type="text"
verbLevel="1"
/>
<column
name="c1max"
type="text"
verbLevel="1"
/>
<column
name="c2min"
type="text"
verbLevel="1"
/>
<column
name="c2max"
type="text"
verbLevel="1"
/>
<column
name="s_region"
type="text"
verbLevel="1"
/>
<column
name="access_url"
type="text"
ucd="meta.ref.url"
verbLevel="1"
description="URL image"
/>
<column
name="thumbnail_url"
type="text"
ucd="meta.ref.url;meta.preview"
verbLevel="1"
description="URL of a thumbnail image with predefined size (png ~200 pix, for use in a client only)"
/>
<column
name="processing_level"
type="integer"
verbLevel="1"
/>
<publish sets="ivo_managed,local"/>
</table>
<data id="import">
<sources>data/data.csv</sources>
<csvGrammar>
<rowfilter procDef="//products#define">
<bind name="table">"schema.epn_core"</bind>
</rowfilter>
</csvGrammar>
<make table="epn_core">
<rowmaker idmaps="*">
<var key="service_title">"planmap"</var>
<var key="granule_uid" source="granule_uid"/>
<var key="granule_gid" source="granule_gid"/>
<var key="obs_id" source="obs_id"/>
<var key="dataproduct_type" source="dataproduct_type"/>
<var key="target_name" source="target_name"/>
<var key="target_class" source="target_class"/>
<var key="c1min" source="c1min"/>
<var key="c1max" source="c1max"/>
<var key="c2min" source="c2min"/>
<var key="c2max" source="c2max"/>
<var key="s_region" source="s_region"/>
<var key="spatial_frame_type" source="spatial_frame_type"/>
<var key="instrument_host_name">"custom"</var>
<var key="instrument_name">"custom"</var>
<var key="creation_date">"2020-1-1"</var>
<var key="modification_date">"2020-1-30"</var>
<var key="release_date">"2020-1-1"</var>
<var key="processing_level">"1"</var>
<apply procDef="//epntap2#populate-2_0" name="fillepn">
<bind name="service_title">@service_title</bind>
<bind name="granule_uid">@granule_uid</bind>
<bind name="granule_gid">@granule_gid</bind>
<bind name="obs_id">@obs_id</bind>
<bind name="dataproduct_type">@dataproduct_type</bind>
<bind name="target_name">@target_name</bind>
<bind name="target_class">@target_class</bind>
<bind name="c1min">@c1min</bind>
<bind name="c1max">@c1max</bind>
<bind name="c2min">@c2min</bind>
<bind name="c2max">@c2max</bind>
<bind name="s_region">@s_region</bind>
<bind name="instrument_host_name">@instrument_host_name</bind>
<bind name="instrument_name">@instrument_name</bind>
<bind name="creation_date">@creation_date</bind>
<bind name="modification_date">@modification_date</bind>
<bind name="release_date">@release_date</bind>
<bind name="processing_level">@processing_level</bind>
</apply>
</rowmaker>
</make>
</data>
</resource>