Exemplo n.º 1
0
def do_Ha(transfer=False):
    ngc6633 = OpenCluster(objectname='NGC 6633', obsmode='Ha')
    ngc6633.startdate = '2018-04-26'
    ngc6633.enddate = '2018-06-01'
    ngc6633_subframes = ngc6633.plan_wifsip(nfields=4)
    for sf in ngc6633_subframes:
        print sf.uname
        sf.tofile(config.projectpath + 'submit/')
        if transfer:
            sf.transfer()
Exemplo n.º 2
0
def do_uvby(transfer=False):
    ngc6940uvby = OpenCluster(objectname='NGC 6940', obsmode='uvby')
    ngc6940uvby.startdate = '2018-06-06'
    ngc6940uvby.enddate = '2018-07-05'
    ngc6940uvby_subframes = ngc6940uvby.plan_wifsip(nfields=5)
    for sf in ngc6940uvby_subframes:
        print(sf.uname)
        sf.tofile(config.projectpath + 'submit/')
        if transfer:
            sf.transfer()
Exemplo n.º 3
0
def do_bvi(transfer=False):
    ngc6633 = OpenCluster(objectname='NGC 6633', obsmode='BVI')
    ngc6633.startdate = '2017-08-25'
    ngc6633.enddate = '2017-09-08'
    ngc6633_subframes = ngc6633.plan_wifsip(nfields=5)
    #ngc6633.mode['timeout'] = 5030000.0 # redoing two fields in BVI
    for sf in ngc6633_subframes:
        print sf.uname
        sf.tofile(config.projectpath + 'submit/')
        if transfer:
            sf.transfer()
Exemplo n.º 4
0
def do_phot(transfer=False):

    ngc2281phot = OpenCluster(objectname='NGC 2281', obsmode='UBVRI')
    ngc2281phot.title = 'SOCS'
    ngc2281phot.startdate = datetime.datetime(2017, 4, 26)
    ngc2281phot.enddate = datetime.datetime(2017, 5, 13)

    ngc2281phot.abstract = 'Photometric monitoring of open stellar clusters'
    ngc2281phot_subframes = ngc2281phot.plan_wifsip(nfields=5)
    for sf in ngc2281phot_subframes:
        print sf.uname, sf.duration
        sf.tofile(config.projectpath)
        if transfer:
            sf.transfer()
Exemplo n.º 5
0
def do_cmd(transfer=False):
    ngc1528cmd = OpenCluster(objectname='NGC 1528', obsmode='BVR')
    ngc1528cmd.title = 'SOCS'
    ngc1528cmd.abstract = 'Photometric monitoring of open stellar clusters'
    ngc1528cmd.startdate = datetime.datetime(2017, 9, 30)
    ngc1528cmd.enddate = datetime.datetime(2017, 10, 20)

    ngc1528cmd_subframes = ngc1528cmd.plan_wifsip(nfields=5)
    ngc1528cmd_group = ClusterGroup(ngc1528cmd)

    for sf in ngc1528cmd_subframes:
        print(sf.uname)
        sf.tofile(config.projectpath)
        ngc1528cmd_group.add_daughter(sf.uname)
        if transfer:
            sf.transfer()
    ngc1528cmd_group.tofile(config.projectpath)
    if transfer:
        ngc1528cmd_group.transfer()
Exemplo n.º 6
0
#!/usr/bin/python
# -*- coding: utf-8 -*-
'''
Created on Oct 17, 2017

@author: Joerg Weingrill <*****@*****.**>
'''
from opencluster import OpenCluster
from astropy.coordinates import SkyCoord  # @UnresolvedImport

if __name__ == '__main__':
    iriscoord = SkyCoord('02h05m4.4s', '+21d24m06.1s', frame='icrs')

    Iris = OpenCluster(objectname='Iris',
                       obsmode='uvby',
                       ra=iriscoord.ra.degree,
                       dec=iriscoord.dec.degree)
    Iris.startdate = '2017-10-30'
    Iris.enddate = '2017-10-31'
    Iris.tofile('/work2/jwe/SOCS/')