You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/energy-data-services/how-to-convert-segy-to-ovds.md
+16-16Lines changed: 16 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ Ensure you have `cURL` installed on your system. You use it to make API calls.
46
46
47
47
Create a legal tag for data compliance.
48
48
49
-
API: **Setup** >**Create Legal Tag for SDMS**
49
+
**Create Legal Tag for SDMS**
50
50
51
51
```bash
52
52
cURL --request POST \
@@ -156,7 +156,7 @@ Follow this [tutorial](tutorial-seismic-ddms.md) to Prepare Subproject that invo
156
156
### Upload the File
157
157
158
158
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 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.
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.
160
160
161
161
```yaml
162
162
seistore:
@@ -431,34 +431,34 @@ cURL --request PUT \
431
431
432
432
### Verify File Conversion
433
433
434
-
Use the following `cURL` command to verify file conversion:
434
+
1. Use the following `cURL` command to verify file conversion:
1. You can see if the converted file is present using the following command in sdutil
449
+
2. You can see if the converted file is present using the following command in sdutil
450
450
451
451
```bash
452
452
python sdutil ls sd://<data-partition-id>/vdssubprojectname
453
453
```
454
454
455
-
2. Verify the converted files are present on the specified location in DAG Trigger or not
455
+
3. Verify the converted files are present on the specified location in DAG Trigger or not
456
456
457
457
```Markdown
458
458
python sdutil ls sd://<data-partition-id>/vdssubprojectname/
459
459
```
460
460
461
-
3. If you would like to download and inspect your VDS files, don't use the `cp` command as it doesn't work. The VDS conversion results in multiple files, therefore the `cp`command won't download all of them in one command. Use either the [SEGYExport](https://osdu.pages.opengroup.org/platform/domain-data-mgmt-services/seismic/open-vds/tools/SEGYExport/README.html) or [VDSCopy](https://osdu.pages.opengroup.org/platform/domain-data-mgmt-services/seismic/open-vds/tools/VDSCopy/README.html) tool instead. These tools use a series of REST calls accessing a [naming scheme](https://osdu.pages.opengroup.org/platform/domain-data-mgmt-services/seismic/open-vds/connection.html) to retrieve information about all the resulting VDS files.
461
+
4. If you would like to download and inspect your VDS files, don't use the `cp` command as it doesn't work. The VDS conversion results in multiple files, therefore the `cp` command won't download all of them in one command. Use either the [SEGYExport](https://osdu.pages.opengroup.org/platform/domain-data-mgmt-services/seismic/open-vds/tools/SEGYExport/README.html) or [VDSCopy](https://osdu.pages.opengroup.org/platform/domain-data-mgmt-services/seismic/open-vds/tools/VDSCopy/README.html) tool instead. These tools use a series of REST calls accessing a [naming scheme](https://osdu.pages.opengroup.org/platform/domain-data-mgmt-services/seismic/open-vds/connection.html) to retrieve information about all the resulting VDS files.
Copy file name to clipboardExpand all lines: articles/energy-data-services/how-to-convert-segy-to-zgy.md
+40-42Lines changed: 40 additions & 42 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ ms.custom: template-how-to
11
11
12
12
# How to convert a SEG-Y file to ZGY
13
13
14
-
In this article, you learn how to convert SEG-Y formatted data to the ZGY format. Seismic data stored in industry standard SEG-Y format can be converted to ZGY for use in applications such as Petrel via the Seismic DMS. See here for [ZGY Conversion FAQ's](https://community.opengroup.org/osdu/platform/data-flow/ingestion/segy-to-zgy-conversion#faq) and more background can be found in the OSDU® community here: [SEG-Y to ZGY conversation](https://community.opengroup.org/osdu/platform/data-flow/ingestion/segy-to-zgy-conversion). This tutorial is a step by step guideline how to perform the conversion. Note the actual production workflow may differ and use as a guide for the required set of steps to achieve the conversion.
14
+
In this article, you learn how to convert SEG-Y formatted data to the ZGY format. Seismic data stored in industry standard SEG-Y format can be converted to ZGY for use in applications such as Petrel via the Seismic DMS. See here for [ZGY Conversion FAQ's](https://community.opengroup.org/osdu/platform/data-flow/ingestion/segy-to-zgy-conversion#faq) and more background can be found in the OSDU® community here: [SEG-Y to ZGY conversation](https://community.opengroup.org/osdu/platform/data-flow/ingestion/segy-to-zgy-conversion). This tutorial is a step by step guideline on how to perform the conversion. Note the actual production workflow may differ and use it as a guide for the required set of steps to achieve the conversion.
15
15
16
16
## Prerequisites
17
17
* An Azure subscription
@@ -42,13 +42,11 @@ Ensure you have `cURL` installed on your system. You use it to make API calls.
42
42
43
43
## Step by Step Process to convert SEG-Y file to ZGY file
44
44
45
-
### Create a Legal Tag
46
-
47
45
### Create a legal tag
48
46
49
47
Create a legal tag for data compliance.
50
48
51
-
API: **Setup** > **Create Legal Tag for SDMS**
49
+
**Create Legal Tag for SDMS**
52
50
53
51
```bash
54
52
cURL --request POST \
@@ -109,12 +107,12 @@ Conversion uses a manifest file that you upload to your storage account later in
109
107
110
108
1. Clone the [repo](https://community.opengroup.org/osdu/platform/data-flow/ingestion/segy-to-zgy-conversion/-/tree/master/) and navigate to the folder `doc/sample-records/volve`
111
109
2. Edit the values in the `prepare-records.sh` bash script. Recall that the format of the legal tag is prefixed with the Azure Data Manager for Energy instance name and data partition name, so it looks like `<instancename>-<datapartitionname>-<legaltagname>`.
4. The output is a JSON array with all objects and is saved in the `all_records.json` file.
120
118
5. Save the `filecollection_segy_id` and the `work_product_id` values in that JSON file to use in the conversion step. That way the converter knows where to look for this contents of your `all_records.json`.
@@ -197,7 +195,7 @@ Follow this [tutorial](tutorial-seismic-ddms.md) to Prepare Subproject that invo
197
195
### Upload the File
198
196
199
197
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.
200
-
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.
198
+
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.
201
199
202
200
```yaml
203
201
seistore:
@@ -378,37 +376,37 @@ cURL --request PUT \
378
376
379
377
Fetch the ID token from sdutil for the uploaded file or use an access/bearer token.
380
378
381
-
```markdown
382
-
python sdutil auth idtoken
383
-
```
379
+
```Markdown
380
+
python sdutil auth idtoken
381
+
```
384
382
385
-
Use the following `cURL` command to trigger workflow:
383
+
Use the following `cURL` command to trigger workflow:
384
+
385
+
```Bash
386
+
cURL -X POST "https://<DNS>/api/workflow/v1/workflow/<segy-to-zgy-conversion dag id>" \
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 call
@@ -429,7 +427,7 @@ python sdutil auth idtoken
429
427
"message": "Workflow completed successfully."
430
428
}
431
429
```
432
-
Use the following `cURL`command to verify file conversion:
430
+
3. Use the following `cURL` command to verify file conversion:
433
431
434
432
```bash
435
433
cURL --request GET \
@@ -445,15 +443,15 @@ python sdutil auth idtoken
445
443
}
446
444
```
447
445
448
-
3. You can see if the converted file is present using the following commandin sdutil
446
+
4. You can see if the converted file is present using the following command in sdutil
449
447
450
448
```bash
451
449
python sdutil ls sd://<data-partition-id>/<subprojectname>
452
450
```
453
451
454
452
455
453
456
-
4. You can download and inspect the file using the [sdutil](https://community.opengroup.org/osdu/platform/domain-data-mgmt-services/seismic/seismic-dms-suite/seismic-store-sdutil/-/tags/azure-stable) `cp` command:
454
+
5. You can download and inspect the file using the [sdutil](https://community.opengroup.org/osdu/platform/domain-data-mgmt-services/seismic/seismic-dms-suite/seismic-store-sdutil/-/tags/azure-stable) `cp` command:
0 commit comments