Download data - Industrial Networks
1. Request access token
- Send an email to npotleca@ogs.it
- Subject: Token request for network [NETWORK NAME] (e.g. "Token request for network SAN POTITO")
- Email body: kindly provide your First Name, Last Name, Email address, and Affiliated organization
Result: You will receive a signed token file (token.asc) that will allow you to access the data for the specified period.
2. Create temporary credentials
Copy and run the following command in the same directory where the previously obtained token.asc file is located:
cURL command to create temporary credentials
curl --data-binary @token.asc "https://nat-scp-srv.ogs.it/fdsnws/dataselect/1/auth" -o cred.txt
Command copied!
Result: You will obtain a cred.txt file valid for 24 hours.
After expiration (24 hours), run the command again with the token to update the temporary credentials.
3. Data selector
Modify the data selector settings to get the custom command and easily download the required data.
4. Data download
Copy and run the following command in the same directory containing the cred.txt file. The query parameters (starttime, endtime, network, station, etc.) are automatically set based on the Data Selector above.
wget command generated for data download
Command copied!
Result: You will get a file containing the selected data.