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

Module waterlevel_dap

source code

Functions [hide private]
 
getWaterLevelNow(stationId, verbose=False, returnDict=True, datum='MSL')
Fetch the dictionary for the current water level
source code
Variables [hide private]
  __version__ = '$Revision: 4762 $'.split() [1]
  __date__ = '$Date: 2006-09-19 14:56:22 -0400 (Tue, 19 Sep 2006...
  __author__ = 'Kurt Schwehr'
  __doc__ = ...
  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 = dap.client.open(datasetURL)
This set only contains raw 6 minute water level data
  waterlevelSeq = waterlevelDataset ['WATERLEVEL_RAW_PX']
This is a sequence containter for waterlevels
  stationsAll = {'8639348': 'Money Point', '8638595': 'South Cra...
  stationsWaterLevel = {'8638610': 'Sewells Point', '8639348': '...
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]

__date__

Value:
'$Date: 2006-09-19 14:56:22 -0400 (Tue, 19 Sep 2006) $'.split() [1]

__doc__

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

@see: U{NOAA DODS/OPeNDAP page<http://opendap.co-ops.nos.noaa.gov/dods\
/>}
@requires: U{pydap/dap-py<http://pydap.org/>}
@requires: U{epydoc<http://epydoc.sourceforge.net/>}

...

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'

stationsAll

Value:
{'8639348': 'Money Point', '8638595': 'South Craney Island', '8638610'\
: 'Sewells Point', 'cb0402': 'NSN LB 7', 'cb0601': 'Newport News Chann\
el LB 14', '8638511': 'Dom. Term. Assoc. Pier 11', '8638614': 'Willoug\
hby Degaussing Station', 'cb0301': 'Thimble Shoal Channel LB 18', '863\
8863': 'CBBT', 'cb0102': 'Cape Henry LB 2CH', '8638999': 'Cape Henry',\
 'cb0201': 'York Spit Channel LBB 22', '8632200': 'Kiptopeke Beach', '\
8637611': 'York River East Rear Range Light', '8637689': 'Yorktown USC\
G Training Center'}

stationsWaterLevel

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