Skip to content
Snippets Groups Projects
Commit 65004a88 authored by Marcel Loose's avatar Marcel Loose :sunglasses:
Browse files

Task #2942: The target pre-processing pipeline now also creates different...

Task #2942: The target pre-processing pipeline now also creates different instrument- and sky-models for the DPPP and BBS run.
parent f7998c13
No related branches found
No related tags found
No related merge requests found
...@@ -170,7 +170,7 @@ class msss_target_pipeline(control): ...@@ -170,7 +170,7 @@ class msss_target_pipeline(control):
mapfile_target=target_path, mapfile_target=target_path,
mapfiles_dir=copier_map_path, mapfiles_dir=copier_map_path,
mapfile=copied_files_path, mapfile=copied_files_path,
target_dir="instument_models")['mapfile'] target_dir="instrument_models")['mapfile']
return new_instrument_map return new_instrument_map
...@@ -256,7 +256,11 @@ class msss_target_pipeline(control): ...@@ -256,7 +256,11 @@ class msss_target_pipeline(control):
vdsinfo = self.run_task("vdsreader", gvds=gvds_file) vdsinfo = self.run_task("vdsreader", gvds=gvds_file)
# Create an empty parmdb for DPPP # Create an empty parmdb for DPPP
parmdb_mapfile = self.run_task("setupparmdb", data_mapfile)['mapfile'] parmdb_mapfile = self.run_task(
"setupparmdb", data_mapfile,
mapfile=os.path.join(mapfile_dir, 'dppp.parmdb.mapfile'),
suffix='.dppp.parmdb'
)['mapfile']
# Create a sourcedb to be used by the demixing phase of DPPP # Create a sourcedb to be used by the demixing phase of DPPP
# The path to the A-team sky model is currently hard-coded. # The path to the A-team sky model is currently hard-coded.
...@@ -265,7 +269,9 @@ class msss_target_pipeline(control): ...@@ -265,7 +269,9 @@ class msss_target_pipeline(control):
skymodel=os.path.join( skymodel=os.path.join(
self.config.get('DEFAULT', 'lofarroot'), self.config.get('DEFAULT', 'lofarroot'),
'share', 'pipeline', 'skymodels', 'Ateam_LBA_CC.skymodel' 'share', 'pipeline', 'skymodels', 'Ateam_LBA_CC.skymodel'
) ),
mapfile=os.path.join(mapfile_dir, 'dppp.sourcedb.mapfile'),
suffix='.dppp.sourcedb'
)['mapfile'] )['mapfile']
# Create a parameter-subset for DPPP and write it to file. # Create a parameter-subset for DPPP and write it to file.
...@@ -290,7 +296,9 @@ class msss_target_pipeline(control): ...@@ -290,7 +296,9 @@ class msss_target_pipeline(control):
# Create an empty sourcedb for BBS # Create an empty sourcedb for BBS
sourcedb_mapfile = self.run_task( sourcedb_mapfile = self.run_task(
"setupsourcedb", data_mapfile "setupsourcedb", data_mapfile,
mapfile=os.path.join(mapfile_dir, 'bbs.sourcedb.mapfile'),
suffix='.bbs.sourcedb'
)['mapfile'] )['mapfile']
# Create a parameter-subset for BBS and write it to file. # Create a parameter-subset for BBS and write it to file.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment