Changes between Version 1 and Version 2 of MOLES2/HandlingGranules


Ignore:
Timestamp:
15/12/08 16:27:52 (11 years ago)
Author:
lawrence
Comment:

granulite creation usage

Legend:

Unmodified
Added
Removed
Modified
  • MOLES2/HandlingGranules

    v1 v2  
    33The assumption is that data can be described by the following input documents: 
    44 * [c:CSML] 
    5  * CDML 
    6  * [wiki:MOLES2/Granulite Granulite] 
    7  * __NCML__ (not yet implemented). 
     5 * [attachment:cdml.pdf CDML] 
     6 * [wiki:MOLES2/Granulite Granulite.txt] 
     7 * --NCML-- (not yet implemented). 
    88 
    99Granules are created by running either the command line granulite tool on one of the input documents, or by uploading one of these documents via the appropriate MILK granule edit page.  
     10 
     11The idea is that each granule can form part of multiple data entities. 
     12 
     13There are currently two possibilities at upload: 
     14 * the granule input data has an identifier within it, in which case the MOLES granule uses that identifier as the localID, or 
     15 * the granule input data does not include an identifier, in which case the MOLES granule is given a new identifier. 
     16 
     17There are currently then two logical possibilities: 
     18 * that granule id is already present, in which case 
     19   * the command line tool should fail with a sensible error, or a command line argument should be used to indicate that the  granule is being replaced, or it should override with a new identifier. 
     20   * the web interface should provide a button to indicate which option to use. 
     21 * the granule id is not present, in which case this is clearly a new granule. 
     22 
     23The former option is to be expected in the case of datasets being extended, or where metadata is being corrected. In this case, the 
     24granule document in MOLES should be copied into the backup repository, and a new version created. 
     25 
     26It is thus possible for two identical granules to be created, which only differ by their ID. In this case, the command 
     27line and web tools offer a removal option, which can only remove an identifier when passed with the duplicate identifier which is to be kept. All use of the incorrect identifier in other MOLES objects will then be replaced with the correct one.