Commits
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 599 | # number of threads for OpenMP |
600 + | # if config['nthreads'] is set to -1, task will decide number of threads automatically |
600 601 | config['nthreads'] = int(os.getenv('OMP_NUM_THREADS', -1)) |
601 602 | |
602 603 | return config |
603 604 | |
604 605 | |
605 606 | sdtask_decorator | .
606 607 | def sdatmcor( |
607 608 | infile=None, datacolumn=None, outfile=None, overwrite=None, |
608 609 | field=None, spw=None, scan=None, antenna=None, |
609 610 | correlation=None, timerange=None, intent=None, |