@@ -72,10 +72,6 @@ Submit a file's content and file name to the ingestion API for further processin
...
@@ -72,10 +72,6 @@ Submit a file's content and file name to the ingestion API for further processin
The function will return a successfull response as soon as the file content is successfully stored and queued for further processing. Otherwise, the function will handle errors appropriately.
The function will return a successfull response as soon as the file content is successfully stored and queued for further processing. Otherwise, the function will handle errors appropriately.
A successfull response contains a task_id referring to the queued processing task. This can be used in [4. Query a L2 Processing Tasks State](#4-query-a-l2-processing-tasks-state) for querying a processing task's current state.
A successfull response contains a task_id referring to the queued processing task. This can be used in [4. Query a L2 Processing Tasks State](#4-query-a-l2-processing-tasks-state) for querying a processing task's current state.
## Configuration
The helper will send HTTP requests to an external API. The external api url is set to working default values. It can be overwritten if needed via env variable, e.g.
# 3. Query a List Of L1/L2 Fits-Files By Metadata Values
# 3. Query a List Of L1/L2 Fits-Files By Metadata Values
Query for file info by metadata values.
Query for file info by metadata values.
## Configuration
The helper will send HTTP requests to an external API. The external api url is set to working default values. It can be overwritten if needed via env variable, e.g.
CSST_BACKEND_API_URL=http://10.200.60.199:9010
## Function: `query_metadata`
## Function: `query_metadata`
```python
```python
defquery_metadata(
defquery_metadata(
...
@@ -183,10 +175,6 @@ filter = {
...
@@ -183,10 +175,6 @@ filter = {
# 4. Query a L2 Processing Tasks State
# 4. Query a L2 Processing Tasks State
Query the processing state of a processing task given a L2 task id.
Query the processing state of a processing task given a L2 task id.
## Configuration
The helper will send HTTP requests to an external API. The external api url is set to working default values. It can be overwritten if needed via env variable, e.g.
CSST_BACKEND_API_URL=http://10.200.60.199:9010
## Function: `query_task_state`
## Function: `query_task_state`
```python
```python
defquery_task_state(
defquery_task_state(
...
@@ -210,10 +198,6 @@ def query_task_state(
...
@@ -210,10 +198,6 @@ def query_task_state(
# 5. Query a Star Catalog
# 5. Query a Star Catalog
Query a star catalog by column values given a ra, dec and radius preselection.
Query a star catalog by column values given a ra, dec and radius preselection.
## Configuration
The helper will send HTTP requests to an external API. The external api url is set to working default values. It can be overwritten if needed via env variable, e.g.