An example to run Corfield through its Python wrapper.
More...
An example to run Corfield through its Python wrapper.
Select the Corfield model you want to use (see module_corona.path_corfield_pfss). Default is this one (.).
Requirements:
Python3 + numpy
Inputs:
Use magnetogram in dir.input folder (see magmap_path variable).
Use a template config file in dir.python (see model_corfield_pfss.template_relative_path).
Outputs:
Launch a Corfield simulation in dir.tmp folder (see model_corfield_pfss.db_connect_tool_path).
Fieldlines: List of module_fieldline.Fieldline() objects.
f2py_example.ipoint = i*nthe+j |
int f2py_example.magmap_carr = 2164 |
tuple f2py_example.magmap_date = datetime.datetime(2000,1,1) |
tuple f2py_example.magmap_path = os.path.join(os.getcwd(),'dir.input','wso2164.txt') |
string f2py_example.magmap_src = 'WSO' |
string f2py_example.magmap_type = 'CRMAP' |
int f2py_example.nphi = 5 |
int f2py_example.nthe = 2 |
list f2py_example.phi_list = [0] |
list f2py_example.the_list = [0] |