Skip to content

Commit 76ebf88

Browse files
author
Preeti Singh
committed
remving postman ref
1 parent 7dd9c9a commit 76ebf88

File tree

1 file changed

+49
-49
lines changed

1 file changed

+49
-49
lines changed

articles/energy-data-services/how-to-convert-segy-to-ovds.md

Lines changed: 49 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ In this article, you learn how to convert SEG-Y formatted data to the Open VDS (
3131
| Parameter | Value to use | Example | Where to find this value |
3232
|----|----|----|----|
3333
| `DNS` | URI | `<instance>.energy.azure.com` | Find this value on the overview page of the Azure Data Manager for Energy instance. |
34-
| `data-partition-id` | Data partitions | `<data-partition-id>` | Find this value on the Data Partitions section within the Azure Data Manager for Energy instance. |
34+
| `data-partition-id` | Data partition | `<data-partition-id>` | Find this value on the Data Partition section within the Azure Data Manager for Energy instance. |
3535
| `access_token` | access_token value | `0.ATcA01-XWHdJ0ES-qDevC6r...........`| Follow [How to generate auth token](how-to-generate-auth-token.md) to create an access_token and save it.|
3636

3737
Follow the [Manage users](how-to-manage-users.md) guide to add appropriate entitlements for the user who's running this tutorial.
@@ -44,7 +44,7 @@ Ensure you have `cURL` installed on your system. You use it to make API calls.
4444

4545
### Create a legal tag
4646

47-
Create a legal tag that is automatically added to the Seismic DDMS environment for data compliance.
47+
Create a legal tag for data compliance.
4848

4949
API: **Setup** > **Create Legal Tag for SDMS**
5050

@@ -149,14 +149,14 @@ If you didn't create entitlements groups, follow the directions as outlined in [
149149

150150
Follow this [tutorial](tutorial-seismic-ddms.md) to Prepare Subproject that involves following steps:
151151

152-
1. Register Data Partition to Seismic -Create a tenant
152+
1. Register Data Partition to Seismic - Create a tenant
153153
2. Create a Subproject
154154
3. Register a Dataset
155155

156156
### Upload the File
157157

158158
There are two ways to upload a SEGY file. One option is to use the SASurl through cURL call. You need to set up cURL on your OS.
159-
The second method is to use [SDUTIL](https://community.opengroup.org/osdu/platform/domain-data-mgmt-services/seismic/seismic-dms-suite/seismic-store-sdutil/-/tags/azure-stable). To log in to your instance for ADME via the tool, you need to generate a refresh token for the instance. See [How to generate auth token](how-to-generate-auth-token.md). Alternatively, you can modify the code of SDUTIL to use client credentials instead to log in. If you haven't already, you need to set up SDUTIL. Check this guide for setting up [SDUTIL](tutorial-seismic-ddms-sdutil.md) Download the codebase and edit the `config.yaml` at the root. Replace the contents of this config file with the following yaml.
159+
The second method is to use [SDUTIL](https://community.opengroup.org/osdu/platform/domain-data-mgmt-services/seismic/seismic-dms-suite/seismic-store-sdutil/-/tags/azure-stable). To log in to your instance for ADME via the tool, you need to generate a refresh token for the instance. See [How to generate auth token](how-to-generate-auth-token.md). Alternatively, you can modify the code of SDUTIL to use client credentials instead to log in. If you haven't already, you need to set up SDUTIL. Check the [guide](tutorial-seismic-ddms-sdutil.md) for setting up SDUTIL Download the codebase and edit the `config.yaml` at the root. Replace the contents of this config file with the following yaml.
160160

161161
```yaml
162162
seistore:
@@ -179,7 +179,7 @@ azure:
179179
empty: none
180180
```
181181
182-
#### Method 1: cURL
182+
#### Method 1: Using cURL to upload file
183183
184184
##### Get gcs url:
185185
@@ -376,58 +376,58 @@ cURL --request PUT \
376376

377377
Fetch the ID token from sdutil for the uploaded file or use an access/bearer token from cURL.
378378

379-
```markdown
380-
python sdutil auth idtoken
381-
```
379+
```markdown
380+
python sdutil auth idtoken
381+
```
382382

383-
Use the following `cURL` command to trigger workflow:
383+
Use the following `cURL` command to trigger workflow:
384384

385-
```bash
386-
cURL -X POST "https://<DNS>/api/workflow/v1/workflow/segy-to-vds-conversion" \
387-
-H "Authorization: Bearer <access_token>" \
388-
-H "Content-Type: application/json" \
389-
-d '{
390-
"executionContext": {
391-
"Payload": {
392-
"AppKey": "test-app",
393-
"data-partition-id": "<data_partition_id>"
394-
},
395-
"vds_url": "sd://<data_partition_id>/<vdssubprojectname>",
396-
"work_product_id": "<work-product-id>",
397-
"file_record_id": "<file-record-id>",
398-
"persistent_id": "<persistent_id>",
399-
"id_token": "<access_token>"
400-
}
401-
}'
402-
```
385+
```bash
386+
cURL -X POST "https://<DNS>/api/workflow/v1/workflow/segy-to-vds-conversion" \
387+
-H "Authorization: Bearer <access_token>" \
388+
-H "Content-Type: application/json" \
389+
-d '{
390+
"executionContext": {
391+
"Payload": {
392+
"AppKey": "test-app",
393+
"data-partition-id": "<data_partition_id>"
394+
},
395+
"vds_url": "sd://<data_partition_id>/<vdssubprojectname>",
396+
"work_product_id": "<work-product-id>",
397+
"file_record_id": "<file-record-id>",
398+
"persistent_id": "<persistent_id>",
399+
"id_token": "<access_token>"
400+
}
401+
}'
402+
```
403403

404-
**Sample Response:**
405-
```json
406-
{
407-
"runId": "workflow-12345",
408-
"status": "Running",
409-
"message": "Workflow triggered successfully."
410-
}
411-
```
404+
**Sample Response:**
405+
```json
406+
{
407+
"runId": "workflow-12345",
408+
"status": "Running",
409+
"message": "Workflow triggered successfully."
410+
}
411+
```
412412

413413
2. Let the DAG run to the `succeeded` state. You can check the status using the workflow status call. The run ID is in the response of the previous step.
414414

415-
Use the following `cURL` command:
415+
Use the following `cURL` command:
416416

417-
```bash
418-
cURL -X GET "https://<DNS>/api/workflow/v1/workflow/segy-to-vds-conversion/<vds_run_id>" \
419-
-H "Authorization: Bearer <access_token>" \
420-
-H "Content-Type: application/json"
421-
```
417+
```bash
418+
cURL -X GET "https://<DNS>/api/workflow/v1/workflow/segy-to-vds-conversion/<vds_run_id>" \
419+
-H "Authorization: Bearer <access_token>" \
420+
-H "Content-Type: application/json"
421+
```
422422

423-
**Sample Response:**
424-
```json
425-
{
426-
"runId": "workflow-12345",
427-
"status": "Completed",
428-
"message": "Workflow completed successfully."
429-
}
430-
```
423+
**Sample Response:**
424+
```json
425+
{
426+
"runId": "workflow-12345",
427+
"status": "Completed",
428+
"message": "Workflow completed successfully."
429+
}
430+
```
431431

432432
### Verify File Conversion
433433

0 commit comments

Comments
 (0)