--############################################################################## -- -- Auth: Paul Brown -- Keith Sklower -- -- $Header: /usr/local/devel/montage/contrib/BigSur/Schema/RCS/bigsur_datafile.msql,v 1.4 1994/12/05 22:39:27 pbrown Exp pbrown $ -- --##################################################################### -- -- BigSurObject - This is the top level of the templates. Some of the -- data structures will not need the association with -- Grid and Variable (They will just be Postscript -- files, or in the case of the Photo-CD data, just -- slides.) -- -- MetaData - This is a reference to the -- Meta-Data associated with the -- Data file. -- -- BigSurObject - This is it! The objective of the -- whole buffalo hunt! -- -- fileOffSet - integer offset within file. This -- is used to 'step over' header -- information and to allow us -- to describe each 'data set' within -- a file storing several data sets. -- -- storageFormat - One of a canonical list of -- storage formats; NDF, CDF, GRIB, -- Fortran etc. -- CREATE TABLE BigSurObject OF NEW TYPE BigSurObject_t ( MetaData ref(MetaData_t) NOT NULL, BigSurObject dlobh, fileOffSet integer, storageFormat text ); -- -- BigSurDataObject - This is the relation which 'ties it all together'. -- Not all of BigSur's applications will need one -- of these as not all of the BigSurObject's will -- have Gridded data. Only those apps with this kind -- of data to manage will require it. -- CREATE TABLE BigSurDataObject OF NEW TYPE BigSurDataObject_t ( BigSurGrid ref(BigSurGrid_t) NOT NULL, CellVector ref(CellVector_t) NOT NULL ) UNDER Description, BigSurObject; -- -- GRANT ALL ON BigSurObject TO PUBLIC; GRANT USAGE ON TYPE BigSurObject_t TO PUBLIC; GRANT ALL ON BigSurDataObject TO PUBLIC; GRANT USAGE ON TYPE BigSurDataObject_t TO PUBLIC; -- -- GRANT ALL ON BigSur_Raster TO PUBLIC; --