Outline Locations SOCS Configuration UI OpSim4 Tools Docker.

Slides:



Advertisements
Similar presentations
©2011 Quest Software, Inc. All rights reserved.. Andrei Polevoi, Tatiana Golubovich Program Management Group ActiveRoles Add-on Manager Overview.
Advertisements

July 2010 D2.1 Upgrading strategy Javier Soto Catalog Release 3. Communities.
Paperless Online Payroll, Integrated HR & Report Generating System.
Operating-System Structures
© 2010 IBM Corporation IBM Experience Modeler - Theme Editor Installing Python Image Library Presenter’s Name - Presenter’s Title DD Month Year.
©2011 Quest Software, Inc. All rights reserved. Steve Walch, Senior Product Manager Blog: November, 2011 Partner Training Webcast.
Metadata Creation with the Earth System Modeling Framework Ryan O’Kuinghttons – NESII/CIRES/NOAA Kathy Saint – NESII/CSG July 22, 2014.
® IBM Software Group © 2009 IBM Corporation Rational Publishing Engine RQM Multi Level Report Tutorial David Rennie, IBM Rational Services A/NZ
LSST Scheduler status Francisco Delgado Sr. Software Engineer Telescope & Site.
1 Copyright ©2004 TAC. 2 T-WorMS Adding Sanity to Your Process Jamie L. Mitchell CTO TAC.
The Pipeline Processing Framework LSST Applications Meeting IPAC Feb. 19, 2008 Raymond Plante National Center for Supercomputing Applications.
LSST Scheduler requirements
IBM Software Group ® Overview of SA and RSA Integration John Jessup June 1, 2012 Slides from Kevin Cornell December 2008 Have been reused in this presentation.
VistA Imaging Workstation Configuration. October The information in this documentation includes functionality of the software after the installation.
LSST Scheduler construction plan Francisco Delgado Sr. Software Engineer Telescope & Site.
Wordpress with Mina Automated Deployment Solution Jonathan Gravato DIG 4104c.
Differences Training BAAN IVc-BaanERP 5.0c: Application Administration, Customization and Exchange BaanERP 5.0c Tools / Exchange.
Proposal: staged delivery of Scheduler and OpSim V1 (2016) meet most of the SRD requirements – Deliver a system that can be extended with an improved scheduler.
INFSO-RI Enabling Grids for E-sciencE Using of GANGA interface for Athena applications A. Zalite / PNPI.
Hands-On Microsoft Windows Server 2008 Chapter 5 Configuring Windows Server 2008 Printing.
Copyright 2007, Information Builders. Slide 1 iWay Web Services and WebFOCUS Consumption Michael Florkowski Information Builders.
CITA 171 Section 1 DOS/Windows Introduction. DOS Disk operating system (DOS) –Term most often associated with MS-DOS –Single-tasking operating system.
17 Copyright © 2006, Oracle. All rights reserved. Information Publisher.
Chapter 25 – Configuration Management 1Chapter 25 Configuration management.
*DT Project Model Leo Treggiari Intel Corp. Dec, 2005.
1 OBSERVATORY CONTROL SYSTEM (OCS) FRANCISCO DELGADO OCS CAM.
LSST Commissioning Overview and Data Plan Charles (Chuck) Claver Beth Willman LSST System Scientist LSST Deputy Director SAC Meeting.
Deployment Diagram.
The Distributed Application Debugger (DAD)
Agenda:- DevOps Tools Chef Jenkins Puppet Apache Ant Apache Maven Logstash Docker New Relic Gradle Git.
SQA Incident Tracking System Overview
Muen Policy & Toolchain
Jason Bury Dylan Drake Rush Corey Watt
Deployment Diagram.
Flight Software Development Through Python
Developer 2000 CSE 4504/6504 Lab.
Data Virtualization Tutorial: Introduction to SQL Script
LSST Commissioning Overview and Data Plan Charles (Chuck) Claver Beth Willman LSST System Scientist LSST Deputy Director SAC Meeting.
Extending Model-Driven Engineering in Tango
Chapter 5: Using System Software
OpSim Configuration Management Michael Reuter
Cross Platform Development using Software Matrix
HTCondor and LSST Stephen Pietrowicz Senior Research Programmer National Center for Supercomputing Applications HTCondor Week May 2-5, 2017.
OpSim4 vs OpSim3 Francisco Delgado
DCR ARB Presentation Team 5: Tour Conductor.
CASE STUDY 1: Linux and Android
SOCS/Scheduler Development Plan Michael Reuter, Fransicso Delgado
22-INTEGRATION HUB
Metadata Editor Introduction
Software Documentation
OCS Scheduler Status Francisco Delgado T&S Software Manager
CAE-SCRUB for Incorporating Static Analysis into Peer Reviews
My Oracle Support (The next generation Metalink experience) lynn
JD Edwards Support and Oracle Cloud Infrastructure: A Successful Path to Oracle Cloud
IVend Retail 6.5 Dashboard Designer.
SharePoint Administrative Communications Planning: Dynamic User Notifications for Upgrades, Migrations, Testing, … Presented by Robert Freeman (
LSST Control Software Integration Francisco Delgado OCS Software Manager LSST Commissioning Plan Review January 24-26, 2017.
OCS Scheduler Status Francisco Delgado T&S Software Manager
Chapter 2: System Structures
SwiftALM product management
Using JDeveloper.
Dtk-tools Benoit Raybaud, Research Software Manager.
Chapter 2: Operating-System Structures
Rational Publishing Engine RQM Multi Level Report Tutorial
Lab 2: Information Retrieval
PyWBEM Python WBEM Client: Overview #2
SCCM Advanced Task Sequence Part 1
MS Confidential : SharePoint 2010 Developer Workshop (Beta1)
SSDT, Docker, and (Azure) DevOps
Introducing MagicInfo 6
Presentation transcript:

High-Level Software Overview for SOCS Ecosystem Michael Reuter OpSim Working Meeting July 7, 2017

Outline Locations SOCS Configuration UI OpSim4 Tools Docker

Repository Locations SOCS (https://github.com/lsst-sims/sims_ocs) Configuration UI (https://github.com/lsst-sims/opsim4_config_ui) Survey Fields (https://github.com/lsst/sims_survey_fields) OpSim4 Tools (https://github.com/lsst-sims/opsim4_tools) Scheduler (https://stash.lsstcorp.org/projects/TS/repos/ts_scheduler/ browse) Observatory Model (https://stash.lsstcorp.org/projects/TS/repos/ts_observatory_model/browse) Astronomical Sky Model (https://stash.lsstcorp.org/projects/TS/repos/ts_astrosky_model/browse) Date/Location (https://stash.lsstcorp.org/projects/TS/repos/ts_dateloc/browse) All Stash repositories are mirrored on GitHub (https://github.com/lsst-ts) for read-only access

Documentation Locations SOCS (https://lsst-sims.github.io/sims_ocs/) Configuration UI (https://lsst-sims.github.io/opsim4_config_ui/) Survey Fields (https://sims-survey-fields.lsst.io/) OpSim4 Tools (README.rst in every directory)

First Up

Operations Simulator Version 3 Scheduler

Operations Simulator Version 4 Simulated OCS (SOCS) Central Logger DDS Scheduler

What is SOCS? SOCS is NOT the Scheduler!!!!! Very lightweight derivation of OCS Just enough information to get Scheduler working Uses same SAL/DDS communication backplane as OCS Interoperability Is NOT the OCS simulator!!!!!

SOCS as a Project Nominally completed Remaining major development effort Weather maps Warm start Minor development necessary for parameters

Version 4 Block Diagram SOCS Simulation Targets Kernel Control Time SB Targets Sched Config Targets Control Downtime Downtime Model Time Sequencer Visits Current observation Observatory Observatory conditions Observatory Survey Database Model Sched Telem Sched Telem Environment Model Environmental Environment conditions Configuration SAL Config Configuration as built

Code Layout doc docker python/lsst/sims/ocs scripts tests ups

Configuration Encapsulates all configuration for SOCS and Scheduler Sub-packages handle observatory and proposal configuration Code stores baseline configuration (self-representation) Uses PexConfig system from DM Python object configuration Simple override system Full dump can be saved via driver flag Uses ConfigurationCommunicator to pass information across DDS to Scheduler

Database Encapsulates interactions with Survey Database SQLite only Two databases One session database Many simulation databases Table/Column documentation contained in implementation Except SummaryAllProps which is a view Documentation system culls this information SummaryAllProps needs columns handled

Downtime Scheduled downtime Same as version 3 SQLite DB Unscheduled downtime Uses same algorithm to derive v3 information Not the same schedule as v3 170/152 down days (v3: 185/137) 1 catastrophic downtime per 10 years https://github.com/mareuter/notebooks/blob/master/LSST/SOCS/UnscheduledDowntime.ipynb https://github.com/mareuter/notebooks/blob/master/LSST/SOCS/UnschedDowntimeSeedFinder.ipynb Can be run randomly (BEWARE!)

Environment Cloud and Seeing values from v3 Both models have concept of month start Can be overridden with other files

Kernel Simulator Overall orchestrator DDS message exchanges called from here TimeHandler Handles timestamp interactions DowntimeHandler Coordinates both downtime schedules Handles overlaps (if any) Sequencer Retrieves observatory state Performs observation of targets Passes along filter swaps Helpers for collecting proposal information

Observatory Uses TS Observatory Model package “Slews” observatory “Performs” visit Has simple variation model Linearly degrade telescope and dome velocities and accelerations Helpers for gathering exposure and slew information

SAL Abstracts some of the details of the SAL/DDS layer Create topic and perform publish or subscribe process in one step SOCS Publishers Configurations (12) Time Information Observatory State Cloud and Seeing Observation SOCS Subscribers Target Interested Proposal Filter Swap Topic definitions: https://docushare.lsstcorp.org/docushare/dsweb/Get/Document-18105/Scheduler_ICD.docx

Setup Argument parser setup Logging system configuration Logs to both console and file Levels effect detail (console only does two levels) Program configuration Information kept in OS level configuration file Run log tracking

Utilities Constants File path helper Session information helpers Exceptions

Scripts add_tracking Can insert records into Run Log from DB and log file central_logger Responsible for handling log info from SOCS and Scheduler manage_db Create or recreate session DB and configuration opsim4 Driver for Operations Simulator

Tests 300+ unit tests Approximately 95% coverage (grain of salt here) Not hooked into scons (cleanup task?) Run via pytest (install separately) drun py.test

Doc System for making GitHub Pages Pages are following versioned releases generate_tables.py Responsible for auto-generating survey database table documentation SummaryAllProps additions/subtractions need to be taken care of here to ensure consistency Top-level command to build GitHub Pages drun make gh-pages

Docker Contains necessary things for creating Docker container Scripts invoke the Docker builds build_base.sh Does OS and OS dependencies build_stack.sh Does LSST stack and stack installable packages build_opsim4.sh Does source installs and setup

Next Up

UI in a Nutshell View of currently “connected” SOCS configuration Visual feedback (color and indicator) for changed parameters Difference report tool to see them all together Apply overrides from another directory Starting from previously saved state Changes shown in normal way Proposal creation wizard Handles both types: General and Sequence

Code Features Written using PyQt5 Code uses Model-View-Controller (MVC) architecture Controllers do the coordination One per main tab, main program and base feature controller Models parse the SOCS configuration One per tab/sub-tab Widgets handle tab views Wizard widgets do not rely on controllers/models Unit tests only deal with models

Code Layout doc images (icons and backgrounds) python/lsst/opsim4/config/ui (build only, generated version) python/lsst/sims/opsim4 controller model widgets wizard scripts tests ups

Operations Simulator Organization https://github.com/lsst-opsim Only has repo related to MAF serving from ops2 Intended home for public-facing data configurations One configuration per repository Recommend not using repos for iterative work Unless really controlled sharing is desired Dropbox/Google Drive better

Next Up OpSim4 Tools

simple_qa check_runs.py Takes 2 OpSim4 SQLite DBs Does brute force comparison between all tables Can compare unequal length files Checks repeatability when same configuration is used

simple_plots plot_footprint.py Uses SOCS cut system to display proposal footprints Uses MAF for display

live_view opsim_live_polar.py Attaches to a observation message channel Either running simulation or served file db_server.py Creates a observation message stream from a SQLite DB Works on both v4 and v3 files Both require SAL/DDS library

Next Up

Particulars Scripts for building covered earlier Installation nearly identical, but not same, to source SAL library pre-compiled sims_skybrightness_pre handled as repo not package Optional sims_skybrightness package installed causing bloat in image size  Wrapper script not necessary One simulation per container GUI items need extra help (socat) Not deployed to DockerHub since not certified Mainly for OSX, Linux has permission problems

SSH Keys for Stash Generate and add key into profile on Stash Install key via ssh-add Clone repositories by the following: git clone ssh://git@stash.lsstcorp.org:7999/ts/<repo>.git