Commits
Takeshi Nakazato authored and Ville Suoranta committed cffd9dc77f7 Merge
589 589 | ), |
590 590 | ATMListParameterConfigurator( |
591 591 | key='layerTemperatures', user_input=user_inputs['layertemperature'], |
592 592 | impl_default=[], default_unit='K', |
593 593 | is_mandatory=False, is_effective=user_inputs['atmdetail'] |
594 594 | ) |
595 595 | ] |
596 596 | |
597 597 | config = dict(itertools.chain(*parameters)) |
598 598 | |
599 + | # number of threads for OpenMP |
600 + | # if config['nthreads'] is set to -1, task will decide number of threads automatically |
601 + | config['nthreads'] = int(os.getenv('OMP_NUM_THREADS', -1)) |
602 + | |
599 603 | return config |
600 604 | |
601 605 | |
602 606 | sdtask_decorator | .
603 607 | def sdatmcor( |
604 608 | infile=None, datacolumn=None, outfile=None, overwrite=None, |
605 609 | field=None, spw=None, scan=None, antenna=None, |
606 610 | correlation=None, timerange=None, intent=None, |
607 611 | observation=None, feed=None, msselect=None, |
608 612 | outputspw=None, |