Retrieve your DKRZ data form

Via this form you can retrieve previously generated data forms and make them accessible via the Web again for completion.

Additionally you can get information on the data ingest process status related to your form based request.


In [1]:
from dkrz_forms import form_widgets
form_widgets.show_status('form-retrieval')


Info: myconfig not found - taking default config 

Please provide your last name

please set your last name in the cell below

---- e.g. MY_LAST_NAME = "mueller"

and evaluate the cell (Press "Shift"-Return in the cell)

you will then be asked for the key associated to your form

(the key was provided to you as part of your previous form generation step)


In [1]:
from dkrz_forms import form_handler, form_widgets

#please provide your last name - replacing ... below
MY_LAST_NAME = "ki" 


form_info = form_widgets.check_and_retrieve(MY_LAST_NAME)


Enter your form key: ········
---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
<ipython-input-1-4faf320e9561> in <module>()
      5 
      6 
----> 7 form_info = form_widgets.check_and_retrieve(MY_LAST_NAME)

/home/stephan/Repos/ENES-EUDAT/submission_forms/dkrz_forms/form_widgets.pyc in check_and_retrieve(last_name)
     77 def check_and_retrieve(last_name):
     78 
---> 79     info = check_pwd(last_name)
     80     if info:
     81         print(info)

/home/stephan/Repos/ENES-EUDAT/submission_forms/dkrz_forms/form_widgets.pyc in check_pwd(last_name)
     56     #my_last_name = getpass.getpass("Enter your last name: ")
     57     my_pwd = getpass.getpass("Enter your form key: ")
---> 58     form_info[my_pwd]['pwd'] = my_pwd
     59 
     60     if my_pwd in form_info.keys():

KeyError: 'RK3KZH'

In [ ]:
# To be completed

In [ ]:
# tob be completed