IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 8 and Version 9 of ps1_public_release_pstamp_issues


Ignore:
Timestamp:
May 4, 2015, 2:46:57 PM (11 years ago)
Author:
bills
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ps1_public_release_pstamp_issues

    v8 v9  
    11= Notes on Implementation of the Public Release of PS1 image data products =
    22
    3 Author: Bill Sweeney 2015-05-04
     3Note started by: Bill Sweeney 2015-05-04
    44
    5 The plan of record is to migrate the PS1 images to Space Telescope Institute by shipping machines owned by STSCI which have
    6 been operating as file servers on the IPP cluster on Maui. These machines will contain file systems with the desired data products.
     5The plan of record is to migrate the PS1 images to Space Telescope Institute by shipping machines owned by STSCI that have
     6been operating as file servers in the IPP cluster on Maui. These machines will contain file systems with the desired data products.
    77STSCI will then provide some method for accessing the data.
    88
     
    1414on what IPP software might be adapted to meet the requirements and what might need to be developed.
    1515
    16 The contents here in the first draft come from my understanding of what is needed and what is planned. I'm sure others have thought
    17 through many issues in detail.
     16The contents here in the first draft come from my understanding of what is needed and what is planned. I know that others have already thought
     17through many of these issues in some detail.
    1818
    1919
     
    2121
    2222The primary way for PS1SC users to access image data products has been through the IPP data store interface. ''Files'' are contained in ''File Sets'' (sub-directories)
    23 in particular ''Products'' (directories) on the data store HTTP server. This server is part of the IPP cluster on Maui. Access external to the
    24 IfA is allowed through a proxy server in Manoa on Maui. Access to this server is controlled by restricting access to IP addresses
    25 that have been identified as belonging to members of the PS1 science consortium. Access to certain products is more
     23in particular ''Products'' (directories) on the data store HTTP server. This server is part of the IPP cluster on Maui. Access by users external to the
     24IfA is provided through a proxy server in Manoa on Maui. Access is restricted to authorized users by restricting HTTP access to hosts with IP addresses
     25that belong to members of the PS1 science consortium. Access to certain products is more
    2626restricted. Listings of the various levels are given by cgi scripts run by the HTTP server.
    2727
     
    3434This is of great use to users who need timely access to recently acquired science data as it is processed.
    3535
    36 The data store is of less utility to users of the postage stamp server. Those users simply need to know that a request has completed processing and where the results have been posted.
    37 In practice users who submit requests through the "upload request file method" know in advance what the name of their results file set will be and repeatedly
    38 ask for it getting 403 file not found errors until they exist.
     36The data store is of less utility to users of the postage stamp server. Those users simply need to know that a request has completed processing and where the results may be found.
     37In practice, users who submit requests through the "upload request file method" know in advance what the name of their results file set will be and repeatedly
     38ask for it getting 403 file not found errors until they exist. PSI provides users with a link to the results filesets.
    3939
    4040The Postage Stamp Server is a system which allows users to access images '''from the IPP'''. Several different mechanisms exist for submitting
     
    4242control document (ICD) (add link.)
    4343
    44 The server is controlled by a set of pantasks tasks. Work to do is managed through a mysql database. One of the requirements of the server is that it
    45 support multiple ''projects'' simultaneously so the postage stamp tables are stored in database separate from the project (gpc1) database. Currently the postage stamp
     44The server is controlled by a set of pantasks tasks. Work to do is managed through a mysql database. One of the requirements of the server is for it to
     45support multiple ''projects'' simultaneously. For this reason, the postage stamp tables are stored in database separate from the project (gpc1) database. Currently the postage stamp
    4646database is shared with the database that contains the data store tables (ippRequestServer).
    4747
     
    6666The following is my understanding (guess) of the image data to be provided with the public release.
    6767
    68  * Postage stamp subsets (cut outs) and complete single frame warp skycell images
     68 * Postage stamp subsets (cut outs) and complete single frame warp skycell images, masks, and variance images
    6969  * These are the data products from IPP warp processing (full state) which are being preserved from processing version 3 (PV3).
    7070  * Are results from the entire run needed, psfs, cmfs, log files etc. I suspect no.
    71  * Postage stamps and complete stack skycell images
     71 * Postage stamps and complete stack skycell images, masks, and variance images
    7272  * These are the data products from the IPP stack processing
    7373  * To provide photometry information for headers and detections equivalent to what the IPP server odes today the skycal cmfs for each skycell are needed (or at least the FITS headers).
    7474 * Stack Summary images for the sky. (MD or just 3PI?)
     75 * Selection methods: by coordinate, by skycell, by exposure (single frame only).
     76  * No bydiff. No byid ?
    7577
    7678Note: The IPP postage stamp server delivers images based on a single IPP image. That is we do not mosaic images together although is is
    77 an often requested feature.
     79an often requested feature that should be considered.
    7880
    7981=== Data products that will not be included in the public release ===
     
    8385 * catalogs (except staticsky)
    8486
    85 The chip and diff stage images were not preserved by the IPP for PV3 because of insufficient space.
     87The chip and diff stage images were not preserved by the IPP for PV3 because of insufficient space.  The lack of difference images will somewhat
     88reduce the utility of the difference detections.
    8689
    8790=== Metadata Required to Support the implementation of an Image Server ===
    8891The plan is to ship the images pre installed on the servers being shipped back to STSCI. The IPP locates images using the Nebulous system.
    89 Nebulous is essentially a sophisticated lookup tables that maps abstract paths to NFS disk locations in the IPP cluster.
     92Nebulous is essentially a sophisticated lookup table that maps abstract paths to NFS disk locations in the IPP cluster.
    9093For example: The file referenced by neb://path_to_bills_file/myfile.fits might resolve to an actual file on disk
    9194with a name like  /data/stsci19.2/nebulous/a8/a7/6829803927.afile.fits
     
    9598
    9699There are several issues that need to be resolved before these systems are delivered.
    97  * Data that must stay in the IPP cluster will need to be shuffled off to other systems or replicated.
     100 * Data that must stay in the IPP cluster will need to be shuffled off to other systems or replicated to machines that are staying on Maui.
    98101 * Some system that implements the Nebulous interfaces or a subset thereof will need to be delivered. Of course that could be nebulous but:
    99102  * The full nebulous database currently takes up 3.7 TB and contains information on files that are not part of the delivery
    100   * Nebulous contains many features that might not be relevant to the new owners
    101   * It introduces depencies on NFS, apache, and mysql. These might not be issues but should be noted.
    102   * Management requires expertise that does not currently exist outside of the IPP team.
     103  * Nebulous contains many features that might not be relevant to the new implementation
     104  * It introduces depencies on NFS, apache, and mysql. (These might not be issues but should be noted.)
     105  * Management of the Nebulous system requires expertise that does not currently exist outside of the IPP team.
    103106 * Information describing the composition of the delivered IPP data products is required.
    104107  * This could be a modified copy of the GPC1 mysql database  (594 GB) with the states of various data is modified to match the data being shipped.
    105   * Alternatively a database with a simplfied structure (single frame data represented by warp tables augmented with exposure metadata from rawExp) could be loaded
     108  * Alternatively a database with a simplfied structure (single frame data represented by warp tables augmented with exposure metadata from rawExp) could be created
    106109 * Description of the skycell tessellations. (Tessellation directories).
    107110
    108 In addition we should prepare for the inevitable and come up with a mechanism for the IPP to regenerate lost images and deliver them to STSCI.
     111In addition we should prepare for the inevitable and come up with a mechanism for the IPP to regenerate images that get lost due to system failures and getting back to STSCI.
    109112
    110113=== Postage Stamp Server Requirements ===
    111114Given that the IPP postage stamp server is so tightly coupled with the IPP and has several complexities to support requirements that the
    112115public server does not have, the implementors at STSCI may want to build a different implementation.
     116
     117The requirements include
    113118 * A graphical user interface similar to what PSI (or SDSS) provides
    114  * A mechanism for users to programmaticaly submit requests. (The IPP's upload mechanism is basically a prototype and not a good model).
    115  * A simplified request specification bycoord and byexp
     119 * A mechanism for advanced users to programmaticaly submit requests. (The IPP's upload mechanism is basically a prototype and not a good model).
     120 * System for locating images of interest that correspond to the users' requests
     121 * Pixel extractor
    116122
     123It is possible to use the IPP software but would require a nearly full IPP build.
    117124