Skip to content
Snippets Groups Projects
Select Git revision
  • 8618022d53f34357c681b3033005e16e697b73d9
  • consistent_config default protected
2 results

workflows.py

Blame
  • generate_observations.py 589 B
    #!/usr/bin/python3
    """
    Generate observation files from an experiment
    """
    import datetime as dt
    from dartwrf.workflows import WorkFlows
    
    w = WorkFlows(exp_config='nature.py', server_config='jet.py')
    
    obs_times = [dt.datetime(2008,7,30,12), dt.datetime(2008,7,30,12,1),
                 dt.datetime(2008,7,30,12,30),  dt.datetime(2008,7,30,12,31),
                 dt.datetime(2008,7,30,13), dt.datetime(2008,7,30,13,1),
                 dt.datetime(2008,7,30,13,30),  dt.datetime(2008,7,30,13,31),
                 dt.datetime(2008,7,30,14), dt.datetime(2008,7,30,14,1),]
    
    w.generate_obsseq_out(obs_times)