Overview 
The user can upload individual OIFITS files and create a collection of their granules.
 Data extraction 
The user provides either URL to OIFITS file hosted on a public Web server or upload files.
 Data mapping 
Granules are extracted from OIFITS files by OIFitsViewer and completed by data from the collection they are to be associated with.
If a collection is created
 
-  the granule is associated with a collection named after the catalog designation (
obs_collection)
  -  the calibration level is set the to 3 (
calib_level)
  -  the creator name (
obs_creator_name) is set with the name of the first author from the catalog description
  -  the release date (
obs_release_date) is set to the last modification date of the catalog (last line in the catalog description)
  -  the bibliographic reference (
bib_reference) is set to the bibcode of the first paper in the catalog description
 
 
A collection with an id equal to the catalog designation is created. Its contents is:
 
-  the name is the catalog designation
  -  the title is the catalog title from the first line of the catalog description
  -  the description is the catalog abstract
  -  the date the catalog was last modified
  -  the description of any article associated with the catalog (bibcode, title, authors and keywords)
 
 
 Usage 
From the OiDB 
Submit new data
, the user chooses the calibration level of the data to process: L2 for calibrated data and L3 for calibrated and published data.
The form and validation rules change with the calibration level.
Calibration level 2:
 
-  creation of a collection is optional.
  -  the collection has no associated article.
  -  the user can attach a set of up to 6 keywords to the collection.
 
 
Calibration level 3:
 
-  creation of a collection is mandatory (TODO).
  -  the user has to provide at least one reference to an article through its bibcode (the abstract of the article may or may not be available at ADS).
  -  the keywords of the collection are taken from the keywords of the article abstract.
 
 
Any collection must have at least a name and a title.
The user can add individual OIFITS files: 
 
-  the file are either downloaded from a public Web server
  -  or from a local file that is uploaded to the service
 
 
Uploaded files are saved in a staging area within 
OiDB.
If the user requested the creation of a collection, a new XML collection document is build with the data from the upper form and uploaded to the server.
 Notes 
The uploaded files are stored on the OiDB server in a staging area.
The validation of target, instrument and instrument mode is not enforced.