@@ -68,27 +68,27 @@ Credentials can be automatically fetched from pre-authenticated AWS CLI.
6868See [ here] ( https://s3fs.readthedocs.io/en/latest/index.html#credentials ) for the order ` s3fs `
6969checks them. If it is not pre-authenticated, you need to pass ` --storage-options-{input,output} ` .
7070
71- ** Prefix:**
71+ ** Prefix:**
7272` s3:// `
7373
74- ** Storage Options:**
75- ` key ` : The auth key from AWS
74+ ** Storage Options:**
75+ ` key ` : The auth key from AWS
7676` secret ` : The auth secret from AWS
7777
7878Using UNIX:
7979
8080``` shell
81- mdio segy import \
82- path/to/my.segy \
83- s3://bucket/prefix/my.mdio \
84- --header-locations 189,193 \
85- --storage-options-output ' {"key": "my_super_private_key", "secret": "my_super_private_secret"}'
81+ $ mdio segy import \
82+ path/to/my.segy \
83+ s3://bucket/prefix/my.mdio \
84+ --header-locations 189,193 \
85+ --storage-options-output ' {"key": "my_super_private_key", "secret": "my_super_private_secret"}'
8686```
8787
8888Using Windows (note the extra escape characters ` \ ` ):
8989
90- ``` console
91- mdio segy import \
90+ ``` shell
91+ $ mdio segy import \
9292 path/to/my.segy \
9393 s3://bucket/prefix/my.mdio \
9494 --header-locations 189,193 \
@@ -104,30 +104,30 @@ checks them. If it is not pre-authenticated, you need to pass `--storage-options
104104GCP uses [ service accounts] ( https://cloud.google.com/iam/docs/service-accounts ) to pass
105105authentication information to APIs.
106106
107- ** Prefix:**
107+ ** Prefix:**
108108` gs:// ` or ` gcs:// `
109109
110- ** Storage Options:**
110+ ** Storage Options:**
111111` token ` : The service account JSON value as string, or local path to JSON
112112
113113Using a service account:
114114
115115``` shell
116- mdio segy import \
117- path/to/my.segy \
118- gs://bucket/prefix/my.mdio \
119- --header-locations 189,193 \
120- --storage-options-output ' {"token": "~/.config/gcloud/application_default_credentials.json"}'
116+ $ mdio segy import \
117+ path/to/my.segy \
118+ gs://bucket/prefix/my.mdio \
119+ --header-locations 189,193 \
120+ --storage-options-output ' {"token": "~/.config/gcloud/application_default_credentials.json"}'
121121```
122122
123123Using browser to populate authentication:
124124
125125``` shell
126- mdio segy import \
127- path/to/my.segy \
128- gs://bucket/prefix/my.mdio \
129- --header-locations 189,193 \
130- --storage-options-output ' {"token": "browser"}'
126+ $ mdio segy import \
127+ path/to/my.segy \
128+ gs://bucket/prefix/my.mdio \
129+ --header-locations 189,193 \
130+ --storage-options-output ' {"token": "browser"}'
131131```
132132
133133### Microsoft Azure
@@ -136,19 +136,19 @@ There are various ways to authenticate with Azure Data Lake (ADL).
136136See [ here] ( https://github.com/fsspec/adlfs#details ) for some details.
137137If ADL is not pre-authenticated, you need to pass ` --storage-options-{input,output} ` .
138138
139- ** Prefix:**
139+ ** Prefix:**
140140` az:// ` or ` abfs:// `
141141
142- ** Storage Options:**
143- ` account_name ` : Azure Data Lake storage account name
142+ ** Storage Options:**
143+ ` account_name ` : Azure Data Lake storage account name
144144` account_key ` : Azure Data Lake storage account access key
145145
146146``` shell
147- mdio segy import \
148- path/to/my.segy \
149- az://bucket/prefix/my.mdio \
150- --header-locations 189,193 \
151- --storage-options-output ' {"account_name": "myaccount", "account_key": "my_super_private_key"}'
147+ $ mdio segy import \
148+ path/to/my.segy \
149+ az://bucket/prefix/my.mdio \
150+ --header-locations 189,193 \
151+ --storage-options-output ' {"account_name": "myaccount", "account_key": "my_super_private_key"}'
152152```
153153
154154### Advanced Cloud Features
0 commit comments