Commits
197 197 | |
198 198 | .. _hosts: |
199 199 | |
200 200 | | ``hosts (stringVec=['https://asa.alma.cl/uncertainties-service/uncertainties/versions/last/measurements/casa/'])`` - Priority-ranked list of hosts to query to obtain positions. Only one server that returns a list of antenna positions is required. That response will be written and no additional hosts will be queried. |
201 201 | | Example: hosts=["server1.alma.cl", "server2.alma.cl"] |
202 202 | |
203 203 | |
204 204 | """ |
205 205 | if not outfile: |
206 206 | raise ValueError("Parameter outfile must be specified") |
207 - | md = {"caltype": "ALMA antenna positions", "outfile": outfile} |
207 + | md = { |
208 + | "caltype": "ALMA antenna positions", |
209 + | "description": "ALMA ITRF antenna positions in meters", |
210 + | "product_code": "antposalma", |
211 + | "outfile": outfile |
212 + | } |
208 213 | if not overwrite and os.path.exists(outfile): |
209 214 | raise RuntimeError( |
210 215 | f"A file or directory named {outfile} already exists and overwrite " |
211 216 | "is False, so exiting. Either rename the existing file or directory, " |
212 217 | "change the value of overwrite to True, or both." |
213 218 | ) |
214 219 | if not hosts: |
215 220 | raise ValueError("Parameter hosts must be specified") |
216 221 | if isinstance(hosts, list) and not hosts[0]: |
217 222 | raise ValueError("The first element of the hosts list must be specified") |