1. Setting an empty mapper

Before going further, let’s initialize properly the mapper. The template proposes an example of working mapper with no inputs nor outputs.

pycif.plugins.models.template.ini_mapper(model, general_mapper={}, backup_comps={}, transforms_order=[], ref_transform='', transform_name='', all_transforms=None, **kwargs)[source]

The corresponding Yaml to do it is the one below:

 1rootdir: &rootdir /tmp/CIF/
 2outdir: &outdir  !join [*rootdir, /.tox/py38/tmp]
 3verbose: 2
 4workdir:  !join [*outdir, /3_emptymapper]
 5logfile: log.txt
 6datei: 2000-01-01 00:00:00
 7datef: 2000-02-01 00:00:00
 8model:
 9  plugin:
10    name: template
11    version: std
12  require_domain: true
13domain:
14  nlat: 15
15  nlon: 10
16  plugin:
17    name: dummy
18    version: std
19  xmax: 50
20  xmin: -10
21  ymax: 60
22  ymin: 40
23obsoperator:
24  plugin:
25    name: standard
26    version: std

Compared to the yaml from previous steps, the paragraph obsoperator was added. This paragraph forces to initialize an execution pipeline, hence requires the initialization of the mapper. Please consult the corresponding obsoperator page for further details.