Package noaadata :: Module waterlevel_dap
[hide private]
[frames] | no frames]

Module waterlevel_dap

source code

Retrieve 6 minute raw water level data from NOAA CO-OPS server.


See Also: NOAA DODS/OPeNDAP page

Requires:

Author: Kurt Schwehr

License: GPL v2

Copyright: (C) 2006 Kurt Schwehr

Version: 4762

Date: 2006-09-19

Functions [hide private]
 
getWaterLevelNow(stationId, verbose=False, returnDict=True, datum='MSL')
Fetch the dictionary for the current water level
source code
Variables [hide private]
  datumList = ['MLLW', 'MSL', 'MHW', 'STND', 'IGLD', 'NGVD', 'NA...
  unitList = ['Meters', 'Feet']
  datasetURL = 'http://opendap.co-ops.nos.noaa.gov/dods/IOOS/Raw...
OPeNDAP URL for NOAA CO-OPS database
  waterlevelDataset = {'WATERLEVEL_RAW_PX': {'_STATION_ID': <dap...
This set only contains raw 6 minute water level data
  waterlevelSeq = {'_STATION_ID': <dap.dtypes.BaseType object at...
This is a sequence containter for waterlevels
  stationsAll = {'8632200': 'Kiptopeke Beach', '8637611': 'York ...
  stationsWaterLevel = {'8632200': 'Kiptopeke Beach', '8637689':...
Convenience table.
Function Details [hide private]

getWaterLevelNow(stationId, verbose=False, returnDict=True, datum='MSL')

source code 
Fetch the dictionary for the current water level

Variables Details [hide private]

datumList

Value:
['MLLW', 'MSL', 'MHW', 'STND', 'IGLD', 'NGVD', 'NAVD']

datasetURL

OPeNDAP URL for NOAA CO-OPS database
Value:
'http://opendap.co-ops.nos.noaa.gov/dods/IOOS/Raw_Water_Level'

waterlevelDataset

This set only contains raw 6 minute water level data
Value:
{'WATERLEVEL_RAW_PX': {'_STATION_ID': <dap.dtypes.BaseType object at 0\
x1406650>, '_DATUM': <dap.dtypes.BaseType object at 0x14066b0>, '_BEGI\
N_DATE': <dap.dtypes.BaseType object at 0x1406710>, '_END_DATE': <dap.\
dtypes.BaseType object at 0x1406770>, 'DCP': <dap.dtypes.BaseType obje\
ct at 0x14065f0>, 'SENSOR_ID': <dap.dtypes.BaseType object at 0x140681\
0>, 'DATE_TIME': <dap.dtypes.BaseType object at 0x1406870>, 'WL_VALUE'\
: <dap.dtypes.BaseType object at 0x14068f0>, 'SIGMA': <dap.dtypes.Base\
Type object at 0x1406890>, 'O': <dap.dtypes.BaseType object at 0x14069\
...

waterlevelSeq

This is a sequence containter for waterlevels
Value:
{'_STATION_ID': <dap.dtypes.BaseType object at 0x1406650>, '_DATUM': <\
dap.dtypes.BaseType object at 0x14066b0>, '_BEGIN_DATE': <dap.dtypes.B\
aseType object at 0x1406710>, '_END_DATE': <dap.dtypes.BaseType object\
 at 0x1406770>, 'DCP': <dap.dtypes.BaseType object at 0x14065f0>, 'SEN\
SOR_ID': <dap.dtypes.BaseType object at 0x1406810>, 'DATE_TIME': <dap.\
dtypes.BaseType object at 0x1406870>, 'WL_VALUE': <dap.dtypes.BaseType\
 object at 0x14068f0>, 'SIGMA': <dap.dtypes.BaseType object at 0x14068\
90>, 'O': <dap.dtypes.BaseType object at 0x1406970>, 'F': <dap.dtypes.\
...

stationsAll

Value:
{'8632200': 'Kiptopeke Beach',
 '8637611': 'York River East Rear Range Light',
 '8637689': 'Yorktown USCG Training Center',
 '8638511': 'Dom. Term. Assoc. Pier 11',
 '8638595': 'South Craney Island',
 '8638610': 'Sewells Point',
 '8638614': 'Willoughby Degaussing Station',
 '8638863': 'CBBT',
...

stationsWaterLevel

Convenience table. Should really get the stations from the web, soap, or dap. These stations are in the Southern Chesapeake Bay.
Value:
{'8632200': 'Kiptopeke Beach',
 '8637689': 'Yorktown USCG Training Center',
 '8638610': 'Sewells Point',
 '8638863': 'CBBT',
 '8639348': 'Money Point'}