Skip to content

Commit 50f211b

Browse files
author
Preeti Singh
committed
review comments
1 parent 7391161 commit 50f211b

File tree

2 files changed

+15
-17
lines changed

2 files changed

+15
-17
lines changed

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

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,10 @@ In this article, you learn how to convert SEG-Y formatted data to the Open VDS (
2020
* Service principal access_token to call the Seismic APIs. See [How to generate auth token](how-to-generate-auth-token.md).
2121
- A SEG-Y File
2222
- You may use any of the following files from the Volve dataset as a test. The Volve data set itself is available from [Equinor](https://www.equinor.com/energy/volve-data-sharing).
23-
- [Small < 100 MB](https://community.opengroup.org/osdu/platform/deployment-and-operations/infra-azure-provisioning/-/blob/azure/m16-master/source/ddms-smoke-tests/ST0202R08_PSDM_DELTA_FIELD_DEPTH.MIG_FIN.POST_STACK.3D.JS-017534.segy)
2423
- [Medium < 250 MB](https://community.opengroup.org/osdu/platform/deployment-and-operations/infra-azure-provisioning/-/blob/azure/m16-master/source/ddms-smoke-tests/ST0202R08_PS_PSDM_RAW_DEPTH.MIG_RAW.POST_STACK.3D.JS-017534.segy)
2524
- [Large ~ 1 GB](https://community.opengroup.org/osdu/platform/deployment-and-operations/infra-azure-provisioning/-/blob/283ba58aff7c40e62c2ac649e48a33643571f449/source/ddms-smoke-tests/sample-ST10010ZC11_PZ_PSDM_KIRCH_FULL_T.MIG_FIN.POST_STACK.3D.JS-017536.segy)
2625

27-
### Get details for the Azure Data Manager for Energy (ADME) instance
26+
### Get details for the Azure Data Manager for Energy instance
2827

2928
* For this tutorial, you need the following parameters:
3029

@@ -55,7 +54,7 @@ cURL --request POST \
5554
--header 'Content-Type: application/json' \
5655
--header 'Data-Partition-Id: {data_partition_id}' \
5756
--data '{
58-
"name": "{tag_name}",
57+
"name": "<vds_legal_tag_id>",
5958
"description": "Legal Tag added for Seismic",
6059
"properties": {
6160
"countryOfOrigin": [
@@ -74,7 +73,7 @@ cURL --request POST \
7473
**Sample Response:**
7574
```json
7675
{
77-
"name": "opendes-Seismic-Legal-Tag-Test999588567444",
76+
"name": "<vds_legal_tag_id>",
7877
"description": "Legal Tag added for Seismic",
7978
"properties": {
8079
"countryOfOrigin": [
@@ -147,21 +146,21 @@ cURL -X POST "https://<DNS>/api/entitlements/v2/groups/users.datalake.admins@<da
147146

148147
If you didn't create entitlements groups, follow the directions as outlined in [How to manage users](how-to-manage-users.md). If you would like to see what groups you have, use [Get entitlements groups for a given user](how-to-manage-users.md#get-osdu-groups-for-a-given-user-in-a-data-partition). Data access isolation is achieved with this dedicated ACL (access control list) per object within a given data partition.
149148

150-
Follow this [tutorial](tutorial-seismic-ddms.md) to Prepare Subproject that involves following steps:
149+
Follow this [tutorial](tutorial-seismic-ddms.md) to Prepare subproject that involves following steps:
151150

152151
1. Register Data Partition to Seismic - Create a tenant
153152
2. Create a Subproject
154153
3. Register a Dataset
155154

156155
### Upload the File
157156

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.
157+
There are two ways to upload a SEGY file. One option is to use the SAS url through cURL call. You need to set up cURL on your OS.
159158
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.
160159

161160
```yaml
162161
seistore:
163-
service: '{"azure": {"azureEnv":{"url": "<instance url>/seistore-svc/api/v3", "appkey": "">}'
164-
url: '<instance url>/seistore-svc/api/v3'
162+
service: '{"azure": {"azureEnv":{"url": "https://<DNS>/seistore-svc/api/v3", "appkey": "">}'
163+
url: 'https://<DNS>/seistore-svc/api/v3'
165164
cloud_provider: azure
166165
env: glab
167166
auth-mode: JWT Token
@@ -194,7 +193,7 @@ cURL -X GET \
194193
Should be a string. We call it gcsstring.
195194

196195

197-
##### Get the SASurl:
196+
##### Get the SAS url:
198197

199198
Use the following `cURL` command to get a SAS upload URL:
200199

@@ -210,7 +209,7 @@ cURL -X 'GET' \
210209
{
211210
"access_token": "<SAS token>",
212211
"expires_in": <duration>,
213-
"token_type": "SASUrl"
212+
"token_type": "SAS Url"
214213
}
215214
```
216215
#### Modify SAS url. Replace container name in SAS url with filepath, that is, gcsstring

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

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,10 @@ In this article, you learn how to convert SEG-Y formatted data to the ZGY format
2020
* Service principal access_token to call the Seismic APIs. See [How to generate auth token](how-to-generate-auth-token.md).
2121
- A SEG-Y File
2222
- You may use any of the following files from the Volve dataset as a test. The Volve data set itself is available from [Equinor](https://www.equinor.com/energy/volve-data-sharing).
23-
- [Small < 100 MB](https://community.opengroup.org/osdu/platform/deployment-and-operations/infra-azure-provisioning/-/blob/azure/m16-master/source/ddms-smoke-tests/ST0202R08_PSDM_DELTA_FIELD_DEPTH.MIG_FIN.POST_STACK.3D.JS-017534.segy)
2423
- [Medium < 250 MB](https://community.opengroup.org/osdu/platform/deployment-and-operations/infra-azure-provisioning/-/blob/azure/m16-master/source/ddms-smoke-tests/ST0202R08_PS_PSDM_RAW_DEPTH.MIG_RAW.POST_STACK.3D.JS-017534.segy)
2524
- [Large ~ 1 GB](https://community.opengroup.org/osdu/platform/deployment-and-operations/infra-azure-provisioning/-/blob/283ba58aff7c40e62c2ac649e48a33643571f449/source/ddms-smoke-tests/sample-ST10010ZC11_PZ_PSDM_KIRCH_FULL_T.MIG_FIN.POST_STACK.3D.JS-017536.segy)
2625

27-
### Get details for the Azure Data Manager for Energy (ADME) instance
26+
### Get details for the Azure Data Manager for Energy instance
2827

2928
* For this tutorial, you need the following parameters:
3029

@@ -50,7 +49,7 @@ Create a legal tag for data compliance.
5049

5150
```bash
5251
cURL --request POST \
53-
--url https://{DNS}/api/legal/v1/legaltags \
52+
--url https://<DNS>/api/legal/v1/legaltags \
5453
--header 'Authorization: Bearer {access_token}' \
5554
--header 'Content-Type: application/json' \
5655
--header 'Data-Partition-Id: {data_partition_id}' \
@@ -137,7 +136,7 @@ Conversion uses a manifest file that you upload to your storage account later in
137136
138137
### User Access
139138
140-
### Validate User Access
139+
### Validate user access
141140
142141
Use the following `cURL` command to get user groups:
143142
@@ -186,15 +185,15 @@ If you didn't create entitlements groups, follow the directions as outlined in [
186185

187186
### Prepare Subproject
188187

189-
Follow this [tutorial](tutorial-seismic-ddms.md) to Prepare Subproject that involves following steps:
188+
Follow this [tutorial](tutorial-seismic-ddms.md) to Prepare subproject that involves following steps:
190189

191190
1. Register Data Partition to Seismic - Create a tenant
192191
2. Create a Subproject
193192
3. Register a Dataset
194193

195194
### Upload the File
196195

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.
196+
There are two ways to upload a SEGY file. One option is to use the SAS url through cURL call. You need to set up cURL on your OS.
198197
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.
199198
200199
```yaml
@@ -233,7 +232,7 @@ cURL -X GET \
233232
Should be a string. We call it gcsstring.
234233
235234
236-
##### Get the SASurl:
235+
##### Get the SAS url:
237236
238237
Use the following `cURL` command to get a SAS upload URL:
239238

0 commit comments

Comments
 (0)