Skip to content
Snippets Groups Projects
Commit 7e9f83f8 authored by Nico Vermaas's avatar Nico Vermaas
Browse files

add ALMA connector and documentation

parent 0a1fc988
No related branches found
No related tags found
1 merge request!14Resolve SDC-1435 "Add alma collection"
Pipeline #91368 passed
......@@ -147,7 +147,7 @@ This shows the fields that you need to translate with a 'connector' to ADEX.
![](/docs/topcat_alma.jpg)
#### argument file
#### create argument file (alma_obscore_sdc.args)
Create your argument file (also see 'examples' chapter)
```
......@@ -253,3 +253,20 @@ The `alma_obscore` is the name you chose for your collection, as defined in the
These can be mapped onto the ADEX dp_type field (see previous chapter).
By adding them to the configuration, the frontend(s) knows to give these values as filter options once the `alma_obscore` collection is selected.
#### execute
```
> adex_data_scraper --argfile ./alma_obscore_sdc.args
```
Now the ADEX database will be filled with records in batches of 1000.
```commandline
1000 records fetched from http://jvo.nao.ac.jp/skynode/do/tap/alma
1000 posted to https://sdc.astron.nl/adex_backend/ in 0:00:17.483034
1000 records fetched from http://jvo.nao.ac.jp/skynode/do/tap/alma
1000 posted to https://sdc.astron.nl/adex_backend/ in 0:00:15.901474
1000 records fetched from http://jvo.nao.ac.jp/skynode/do/tap/alma
1000 posted to https://sdc.astron.nl/adex_backend/ in 0:00:17.173940
1000 records fetched from http://jvo.nao.ac.jp/skynode/do/tap/alma
1000 posted to https://sdc.astron.nl/adex_backend/ in 0:00:17.729760
1000 records fetched from http://jvo.nao.ac.jp/skynode/do/tap/alma
```
......@@ -97,7 +97,7 @@ def main():
args = get_arguments(parser)
print(f"--- adex-data-scraper (version {scraper.__version__}) ---")
print(f"--- adex-data-scraper (version 23 aug 2024) ---")
print(args)
if args.datasource.upper() == 'VO':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment