projectCodeFromSB

Return to directory of Todd's CASA extensions

Consults an online table on F. Stoehr's machine in order to locate the project code, MOUS, region and first EB for an SB. See also projectCodeFromDataset and datasetsForProjectCode.

Usage:

au.projectCodeFromSB(sb, wget='wget', allEBs=False, verbose=False, overwrite=False)
Inputs:
  • sb: SB uid (underscores)
  • wget: the full path to the wget executable
  • allEBs: if True, then return a list of all EBs
  • verbose: if True, then print complete information
  • overwrite: if True, then download new copy of the table (fstoehr.txt); otherwise use the one in the current directory
Returns:
  • project code, region, MOUS and EB (all as strings)

Example:

CASA <17>: au.projectCodeFromSB('uid://A002/X5d5f8a/X3')
  Out[17]: ('2012.1.00501.S', 'NA', 'uid___A002_X5d5f8a_X10', 'uid___A002_X75f169_X1003')

-- ToddHunter - 2016-01-28
Topic revision: r2 - 2016-02-01, ToddHunter
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding NRAO Public Wiki? Send feedback