| For internal use only |
Data Archival Guidance
Questions and comments are welcome to: jsstewar@usgs.gov
The answers to these questions depend on the needs of the archive audience. There are several potential audiences that need a "snapshot:"
A data-base "snapshot" does not eliminate the need to correct errors and add new data to the dynamic data base. Relatively painless procedures are required to make the snapshot data base from the dynamic data base. If done consistently among study units, the documentation requirements could be drastically reduced, as "cookie-cutter" documents would suffice.
If only one copy of a data set is archived for NAWQA, it should be the "quality-controlled" data set. Documentation of the changes made during the evolutionary cycle of the data set also should be provided, in the form of narrative text, computer programs that make the necessary changes, "transactions" showing the changes, and (or) copies of the "raw" and "analytical" data-set stages.
Often good reasons for keeping two or three copies of a data set in the different stages of development exist. A "raw" copy of a data set obtained from another agency's computer system could be retained, because retrieving the original data set may be impossible in the future since computerized data bases are dynamic. Keeping a copy of the "analysis" data set is advised, if the results of the analysis are likely to be contended or controversial, or if the "analysis" data set is difficult or time consuming to recreate.
The use of NWIS alone as the NAWQA data archive is inadvisable because the data-base system does not currently offer the attributes needed for a NAWQA data archive. Therefore, an additional storage location is needed.
Several observations about the NWIS data-management system are pertinent.
An archival checklist was developed to help study units plan,conduct, and document data archival. The checklist should be used as a guide and will serve as the primary documentation for study unit archive reviews. The archival categories listed in Table 2 are included on the archive review checklist.
Table 1.--NAWQA archive review checklist categories.
------------------------------------------------------------------------------
Site History and Identifiers
Location narrative and directions
Maps with locations plotted
Data Networks, description, and Site IDs
Site reconnaissance notes and sketches
Land owner, local contacts, and permission forms
Sampling/measurement location sketches
Photographs, slides and video
Site header data
Well inventories
Continuous Data Records
Raw media (ADR tapes, datalogger files (Hobo temp files),strip charts)
Preliminary and processed computations for stage, temperature,
conductance, pH, DO from on-site monitoring equipment.
Computed unit-values and daily-values data
Field Notes
Measurement notes (Discharge, leveling, light penetration,etc.)
Water-quality field sheets
Field-analysis record sheets (titrations, immunoassay, Hydrolab, etc.
Site inspection notes
Analytical Services Request forms (ASRs)
'91 Land use / land cover forms
'94/'97 New Land use / land cover field forms
Chemical Analyses
Water, including suspended sediment
Tissue
Bed sediment
Atmospheric deposition
Other environmental matrices
Quality-control samples
Chemical analysis review
Analytical rerun requests
Physical Measurements
Meter calibration records
Atmosphere (meteorlogic)
Habitat
Soil
Biological Analyses(Taxonomic)
Biota (fish)
Biota (invertebrates)
Biota (algae)
Specimens
Organisms
Water
Sediment cores or Drill-stem cores
Drill cuttings
Spatial Data and Imagery
Aerial photographs and satellite imagery
Agricultural activities: crop patterns, chemical, and fertilizer usage
Census (population, housing, commerce)
Climate: precip, runoff, temperature
Commercial, industrial, and mining activities
Elevation
Bedrock geology
Surficial geology
Known environmental-contamination incidents
Land ownership
Land use and land cover
Physiography and ecoregions
Point sources (NPDES, TRI, CERCLA, RCRA)
Public-land survey boundaries (PLSS)
Sewered areas
Soils
Water use
Wetlands
Basin boundaries
Study boundaries
Base Maps
Project Management and Related Information
Annual Study-unit workplans
Email pertinent to study planning activities
NAWQA Spinoff studies
Purpose, procedure, and conclusions of topical quality-assurance studies
Equipment purchases
Equipment inventory
Instrumentation information
Interagency coordination
Outreach and Related Information
Contacts data: Name, Organization, Purpose of contact, etc.
Liaison committee meeting information
Presentations
Study Unit Library and Reports
Reports published by Study Unit
Graphics and Illustration files for reports
Data-analysis files for each report
News clippings
Bibliography and reports relevant to study unit
Other (The above list serves as a guide. Study units may have addition items to archive.)
Data sets designated for public release should conform to the requirements of the U.S.G.S. Manual section 500.24 governing characteristics of data bases that are released to the public. These public data-base requirements specify as a minimum that: (1) the data must be reviewed, and (2) the data base must be documented. These requirements are independent of the distribution method: traditional paper data report, CD-ROM, floppy disk, or World-Wide Web document.
Public release of digital spatial data sets (GIS data sets) requires some special considerations. Guidelines are available.
Proper documentation is the key to public release of data. Each data set must be documented to be useful to future users. Although similar in content, the documentation methods for tabular and GIS data differ. Data set documentation is commonly referred to as metadata ("data about data").
Documentation describes the utility of the data set for any future (unknown) analytical purpose. The following kinds of information are helpful.
A simple text file is used to document tabular data or ascii text files. This file should be attached to the beginning of RDB data files and can be saved as a README file in the same directory as the file that is being documented. A documentation template should be used to ensure that all appropriate topics are included and organized in a consistent manner.
The Federal Geographic Data Committee (FGDC) has developed a standard for GIS metadata. All Federal agencies are required by Executive Order 12906 to use the FGDC metadata standard. Additional metadata guidance that may be helpful to USGS users is maintained by the Enterprise GIS office.
Many data sets internally provide information in the form of codes. Data-base field names are often codes that refer to complete data-element definitions. Other times, the contents of the fields contain coded values.
Repeated usage of a consistent coding scheme using formal metadata tables avoids continually documenting the same information. Several metadata files can be used directly from the National-Synthesis Data Base.
Collating and verifying physical records: Paper records include field forms and notes, lab reports, calibration logs, and any other records important to identification or interpretation of data or samples collected.
All records and artifacts kept in the archive should have all essential information completely documented. Elements such as station identifiers, dates, cross-reference information, and field observations and notes should be complete on all data records. All file folders and containers should be clearly labeled. The archive should include documents such as equipment manuals (if equipment is archived) and maintenance and calibration logs. Sediment samples, any kind of cores, drill cuttings, stable isotope water samples, and any other physical samples must be clearly and completely identified and stored in spill-proof containers.
Certain items associated with data collection and management should be maintained as part of the Study Unit archive. For example, sample collection or measurement equipment unique to NAWQA should be available to duplicate procedures during future High-Intensity Phases. In some cases. it may be sufficient to keep detailed plans for constructing equipment rather than the actual equipment. Some expensive equipment might be shared among study units during the NAWQA cycles, but accountability must be assured so that equipment can rotate back to the High-Intensity Phase study unit.
Entering and formatting computerized data: Data should be entered into NWIS, for all data that fit. Sample coding guidelines are provided by the NAWQA Data Synthesis Team.
Guidance is also provided for entering and storing data that do not fit into NWIS. These data include station network files, biological data and ancillary GIS data. Station network files are rdb files that are maintained by study units and are retrieved from time to time during national aggregations. Guidance for station-network files is maintained as part of the NAWQA data dictionary. Ecological data that do not fit into NWIS are entered into the NAWQA Biological Transactional Database (BIO-TDB) . All NWIS data, station-network files, and some ancillary GIS data are also maintained in the NAWQA Data Warehouse.
Other Tabular Data: RDB files are recommended for their ease of use and wide compatibility with many computer hardware and software systems. The files are a tab-delimited, ASCII format and are easily created, processed, and exchanged with other software packages, even on different computing platforms. The data documentation can be stored within the RDB file. RDB format is described well by the RDB man page, which has a few literature references about the RDB system, but not about the file format.
The only other format seriously considered was fixed-format ASCII files, but these files: (1) are more work to create and process, and (2) do not have any ready method for internal documentation.
A Documentation Template should be used to ensure that all appropriate topics are included and organized in a consistent manner. A completed documentation template is provided below as an example.
Many training materials for learning about RDB files have been prepared. Data in proprietary formats (SAS libraries, STATIT workspaces, Excel spreadsheets, etc.) can and should be converted to a non-proprietary format, because: (1) there is no guarantee that future revisions of proprietary software will be able read the current format, and (2) there is no assurance that the NAWQA Program will have the software or expertise for working with data in a vendor-specific format in the future. Documented software exists for converting data to RDB format from most other data formats used by WRD.
Use the public-domain gzip software to compress large files when appropriate. Gzip recognizes .gz,.tgz,.taz file name extensions, among others (see the man page).
GIS Data: ESRI data sets are complex collections of geographic features, attribute tables, and support files. ESRI software is used by all the NAWQA study units, and future GIS contracts will support the translation of ESRI format data sets. Although guidance has been prepared to describe how to release USGS digital spatial data to the public, few of these guidelines are official.
Publishing GIS data sets as a USGS product or report is a good thing to do from an archival standpoint as the data then can be maintained virtually forever as part of the USGS public web publication server (pubs.water.usgs.gov), included in the National Spatial Data Infrastructure, and shared without restrictions. Many Water Discipline GIS data sets have been published in this way over the years, mostly as OFR and WRI reports, and a few as part of the USGS Digital Data Series.
The following steps should be taken to archive GIS data:
Metadata guidance is available from USGS's Enterprise GIS team
Data stored in the newer ArcGIS geodatabase format can be verified using many different kinds of topology checks (overlapping polygons, etc.) by building a topology on the geodatabase.
Arc: ADDXY cover
% qwsy (convert INFO table cover.PAT to RDB text format)
Arc: GRIDIMAGE grid grid.cmp grid.tif TIFF COMPRESSION
Arc: arctar grid (creates file grid.tgz
An HTML-format metadata report may be generated easily from metadata in XML or text format using either ArcCatalog or the USGS metadata parser mp program. For more details see the metadata link on the USGS Enterprise GIS page.
Text and graphics:
FrameMaker files and Microsoft Word documents or other word-processor proprietary formats should be translated to one or more of the following formats: ASCII text, html, PDF.
Index physical records. Contents and locations of physical records, equipment, and artifacts should be thoroughly indexed and the index be made readily available. It may be appropriate to maintain this index on a Study Unit internal home page.
Index data sets. Each directory must include at the least an ASCII "readme" file describing the purpose of the directory, the directory entries, the contents of the files, type and scope of the data, and so forth.
A HyperText Markup Language (HTML) document can provide a good index to the data. A script is available for preparing a skeletal, directory-based HTML document by recursively scanning through a specified directory tree. This approach works well when the study-unit directory structures are thematically based; but fails when directories are organized around persons, or other criteria.
The basics for cataloging the data sets using HTML are:
Physical records and artifacts should be secured from loss due to fire, flood and other foreseeable natural hazards, insects, mold/mildew, environmental extremes (including excessive heat or freezing), and from inadvertent loss or damage due to mishandling, mislabeling, and other normal office operations (including office moves).
Biological specimens must be preserved using acceptable techniques, clearly and completely identified, and stored in spill-proof containers in a secure location. Any samples preserved in alcohol must be stored in special cabinets for flammable materials. All samples should be protected from freezing.
A program that checks all file names in a directory against MS-DOS and ISO-9660 file naming limitations is available.
Naming files using the 8.3 convention is not required in archival data sets, but 8.3-compliant file names will be usable by MS-DOS, Windows, UNIX, and Macintosh, affording the widest possible audience. Although most operating systems and ISO-9660 level 2 CD-ROMs support longer file names, meaningful uppercase letters for filenames are specific to UNIX, and should be avoided if possible.
Even when long filenames are used, consistent file extensions are very useful to humans and computer programs for identifying files. For example, many programs recognize PostScript files if the file name ends with a ".ps" extension.
Use of the provided file name extensions (Table 2) is not required; the list is included here simply to encourage consistency. Three-character extensions are used when possible.
Table 2.--Suggested file-name suffixes.
__________________________________________________________________
Suffix Usage
__________________________________________________________________
.Z compressed file (compress(1))
.ai Adobe Illustrator graphics file
.aml Arc Macro Language program
.asc ascii text file
.ascii ascii text file
.bil Image file (band-interleaved-by-line)
.biw ESRI (ascii) image "world" file (used by ESRI software
for georegistration--associated with .bil file)
.c C source-code file
.cdr CorelDraw graphics file
.cgm Computer Graphics Metafile
.csh C-shell script
.dat Generic data file (binary or ascii) (avoid if possible)
.dbf DBase file (all versions)
.doc MS Word or FrameMaker document
.e00 Arc EXPORT file
.eps Encapsulated PostScript
.epsi Encapsulated PostScript with image header
.exe Microsoft OS (DOS, Windows) (not UNIX) executable file
.fgd FGDC metadata file (NOTE: Please use .met instead)
.fm3 FrameMaker v3.0 document
.fm4 FrameMaker v4.0 document
.frq ascii text file containing frequency statistics
.gif Graphics Interchange Format
.gra Arc graphics file
.gz compressed file (gzip)
.hdr ESRI (ascii) image header file (readable by humans)
.html HTML (ascii)
.htm --ditto--
.ksh Korn shell script
.mdb Microsoft Access database file
.met FGDC metadata file
.mif Maker Interchange Format
.pdf Adobe Portable Document Format
.pl Perl script
.ps PostScript file
.psin P-Stat program
.psout P-Stat log
.PS1 P-Stat dataset (uppercase in UNIX)
.PS2 P-Stat dataset (uppercase in UNIX)
.py Python script
.qwf USGS QW flatfile (NWIS)
.qwf.parnames Parameter list for USGS QW flatfile (NWIS)
.qwp Parameter list for USGS QW flatfile (NWIS)
.rdb RDB file (ASCII)
.rdbin Script to manipulate rdb file (.sh?)
.sas SAS program
.sct01 SAS datafile
.sh shell script
.shp ESRI shapefile (.shx,.dbf files accompany .shp)
.shx ESRI shapefile index
.ssd01 SAS datafile
.stx ESRI (ascii) image statistics file
.sys SYSTAT data file
.syd SYSTAT data file
.t Tactician spreadsheet
.tar UNIX tape archive (tar) file
.tgz compressed (gzip) tar file (.tar.gz)
.taz compressed (compress(1)) tar file (.tar.Z)
.tfw ESRI (ascii) image "world" file (used by ESRI software
for georegistration--associated with .tif file)
.tif TIFF image file
.txt ASCII text file (may include any content formatted as ASCII text)
.w Arc watch file
.wkN Lotus spreadsheet, version N (N=1,2,3)
.wkx Exclaim! spreadsheet
.xls Excel spreadsheet
In general, the computerized data should be categorized and organized thematically. It will be easier to find and maintain data in the archive if the physical organization parallels the index organization. A standardized directory structure provides useful consistency to the NAWQA data archives. Although disagreement about which standard categories should be used and uncertainty about which category is appropriate for any given data item will exist, this attempt for consistent organization should be helpful.
However, considerable confusion could be caused by moving many the study-unit files into a new directory structure. Useful files could be misplaced, and computer programs rendered inoperative. Restarted and new study units should seriously consider using thematically based directory structures from the beginning of the project.
This document incorporates the efforts of many people,including: Jim Bisese (jabisese) - SCTX study unit Gary Buell (grbuell) - ACFB study unit Gary Fisher (gtfisher) - MD-DE-DC mgmt.(also POTO & DLMV study units) Kerie Hitt (kjhitt) - Nutrients National Synthesis Mike McNally (mmcnally) - Biology National Synthesis Curtis Price (cprice) - VOC National Synthesis Sarah Ryker (sjryker) - CCPT study unit Jon Scott (jon) - National Synthesis (also COKL pilot study unit) Mike Yurewicz (mcyurewi) - Northeast Region Ass't Regional Hyd. for NAWQA Updates to this document are made by: Jana Stewart (jsstewar) - NAWQA Data Archival Technical AdvisorReturn to NAWQA Data Archival Guidance
![]()
|
NAWQA Public |
URL: http://water.usgs.gov/nawqa-only/guidance/howtoarch.html Maintainer: Melanie McCalmont Last modified: October 27, 2008 8:14 AM |