You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

All the steps are assumed to be performed at the EUROfusion gateway.

1. Connecting to databases

1.1. JET

Since 1st August 2021 connecting to JET data services via mdsplus.jetdata.eu requires SSH key authentication.

Below is pasted instructions provided by JET codas team

Connecting to JET - instructions
In order to access the new mdsplus.jetdata.eu service, users will need to make a minor change to their codes, changing the host parameter 
in the connection calls from "mdsplus.jet.efda.org" or "mdsplus.jet.uk" to "ssh://<username>@mdsplus.jetdata.eu" 
where <username> is the your JET account username (e.g. jsmith or xy1234)

Users will also need to register their SSH public key with us in order for this to work. 
Please do this by emailing support@it.ukaea.uk with the subject line “MDSplus SSH Key Registration”. 
Please put your SSH Public key into the body of the message – do not add attachments to the email. 
It is important that you provide your public key only and do not include your private key (users should take all reasonable steps to protect their private keys). 
(Due to a limitation of the mdsplus server, please avoid using Ed25519 keys, though ecdsa keys can be used)

Suggested email text to use:

Please register my SSH Public key for use with mdsplus.jetdata.eu. 
My username is : <your shortname>
My SSH Public key is: 

Once your key has been registered we will confirm this back to you and you will then be able to test the connection and your clients

If you need information about creating SSH keys please see the information here:
•	There is some general information here: https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys-2
•	There is a page on how to create key pairs with openssh at https://www.ssh.com/academy/ssh/keygen
•	There is a page on how to create key pairs with putty at https://www.ssh.com/academy/ssh/putty/windows/puttygen
•	The www.ssh.com has pages about generating keys for other ssh clients too.

Important Note: when generating SSH key pairs, we’d suggest that most users will find it more convenient not to use a passphrase (i.e. leave it blank). 
Also, due to a limitation of the mdsplus server, please avoid using Ed25519 keys, though ecdsa keys can be used


2. Saving data to IMAS

Load IMAS environment 

module load IMAS

Above line loads the latest varsion of imas data dictionary.

You can check and find the ids to store the experimental data by typing: 

dd_doc

Above command opens data dictionary by default in Konqueror. If option "Show/hide error bars" doesn't work, copying the address to Firefox will help. 

By browsing data dictionaries you will find needed fiields. If there are no required fields then a request has to be raised.



Unknown User (michal.poradzinski@ifpilm.pl) 

  • No labels