Water Quality Database Design and Data Dictionary
Total Page:16
File Type:pdf, Size:1020Kb
Water Quality Database Database Design and Data Dictionary Prepared For: U.S. Environmental Protection Agency, Region III Chesapeake Bay Program Office January 2004 BACKGROUND...........................................................................................................................................4 INTRODUCTION ......................................................................................................................................6 WATER QUALITY DATA.............................................................................................................................6 THE RELATIONAL CONCEPT ..................................................................................................................6 THE RELATIONAL DATABASE STRUCTURE ...................................................................................7 WATER QUALITY DATABASE STRUCTURE..........................................................8 PRIMARY TABLES ..........................................................................................................................................8 WQ_CRUISES ..................................................................................................................................................8 WQ_EVENT.......................................................................................................................................................8 WQ_DATA..........................................................................................................................................................9 WQ_DATA_BMDL.........................................................................................................................................10 WQ_CHLOROPHYLL ..................................................................................................................................11 WQ_KD .............................................................................................................................................................13 WQ_QAQC.......................................................................................................................................................13 LOOKUP TABLES ..........................................................................................................................................15 WQ_STATIONS.............................................................................................................................................15 WQ_EVENT lookup tables............................................................................................................................................. 25 SOURCE ..........................................................................................................................................................25 AGENCY ..........................................................................................................................................................25 PROGRAM.......................................................................................................................................................26 PROJECT ........................................................................................................................................................27 CLOUD_COVER ............................................................................................................................................27 WIND_SPEED.................................................................................................................................................27 WIND_DIRECTION ......................................................................................................................................28 PRECIP_TYPE...............................................................................................................................................28 WAVE_HEIGHT.............................................................................................................................................29 TIDE_STAGE..................................................................................................................................................29 WQ_DATA lookup tables ............................................................................................................................................... 30 PARAMETER .................................................................................................................................................30 SAMPLE_TYPE .............................................................................................................................................32 SAMPLE_ID ....................................................................................................................................................32 LAYER ..............................................................................................................................................................33 UNIT..................................................................................................................................................................34 QUALIFIER.....................................................................................................................................................35 METHOD..........................................................................................................................................................35 PROBLEM .......................................................................................................................................................39 LAB ....................................................................................................................................................................40 WQ_STATIONS lookup tables ...................................................................................................................................... 41 FIPS ...................................................................................................................................................................41 - 2 - Water Quality Database Design and Data Dictionary HUC8.................................................................................................................................................................45 HUC11..............................................................................................................................................................46 CBP_BASIN ....................................................................................................................................................56 TS_BASIN .......................................................................................................................................................57 SEGS_1985.....................................................................................................................................................57 SEGS_1998.....................................................................................................................................................59 SEGS_2003.....................................................................................................................................................61 WSM_SEGS.....................................................................................................................................................63 DATA PRESENTATION TABLES ............................................................................................................65 TIME_SERIES................................................................................................................................................65 STATISTICS...................................................................................................................................................65 LOADS TABLE.............................................................................................................................................66 LOADS..............................................................................................................................................................66 CONVERSION AUXILIARY TABLES ....................................................................................................67 AGENCY_AKA...............................................................................................................................................67 LAB_AKA.........................................................................................................................................................67 PARAMETER_AKA......................................................................................................................................68 PARAM_METHOD_MAP ............................................................................................................................69 WQ_STATIONS_AKA..................................................................................................................................71 RIM_INIT_STATIONS.................................................................................................................................72 RIM_INIT_PARAMETERS.........................................................................................................................73 - 3 - Water Quality Database