|
Station List Observations Mobile Access Obs via Google Maps Classic Maps Recent Historical DART® MMS ADCP Obs Search Ship Obs Report Gliders APEX TAO DODS HF Radar OSMC Dial-A-Buoy RSS Feeds ![]() Obs Web Widget Email Access Station Status NDBC Maintenance NDBC Platforms Partner Platforms Program Info ![]() NDBC on Facebook About NDBC Met/Ocean Moored Buoy C-MAN TAO DART® VOS CSP IOOS® Program IOOS® DAC Publications NDBC DQC Handbook Hurricane Data Plots Mariners Weather Log Observing Handbook No. 1 Science Education NDBC Director FAQ Media Inquiries Contact Us Visitor Information Links ![]() |
![]() |
How can Realtime data be retrieved from the NDBC web site?The data posted to the NDBC web server are stored in flat files that may be downloaded via HTTP, wget, or Perl/LWP (among other utilities). HTTP is the protocol that should be used. The Realtime directory data/realtime2 contains the current (last 45 days) data. The term Realtime refers to the version of the data. In general, Realtime data are the data that have undergone automated quality control checks as they were received in real time and released on the Global Telecommunications System. The files are named station_id.datatype. The available data types are:
For station 41002,
In building file names, C-MAN (land) stations are in uppercase, e.g., FPSN7.txt. Not all of these data types are available on each station. All stations should have standard met data (.txt) and buoys should have spectral wave summaries (.spec). See Measurement Descriptions and Units for more information on the units of measure used on the NDBC web site. wget accesswget is a handy UNIX utility for retrieving files from remote servers. It supports the FTP and HTTP protocol. HTTP is the preferred protocol at NDBC. To retrieve the 42001.txt file from NDBC, use:
LWP accessUsing Perl and the LWP interface to the web, you would reference these files as http://www.ndbc.noaa.gov/data/realtime2/41002.txt and so on. Note that the data files are accessed via HTTP and are in the data/realtime2 directory. Though LWP supports FTP, the preferred protocol at NDBC is HTTP. For more info on LWP, review the LWP modules at http://www.cpan.org/. FTP accessAnonymous FTP access is presently available on data.ndbc.noaa.gov, but this access method is expected to be discontinued. It is strongly recommended that if you are just beginning to access NDBC data, you not start with an FTP method. If already using it for NDBC data access, please plan to change to HTTP or wget. A sample FTP session to extract files might look like this: ftp data.ndbc.noaa.gov anonymous email address for password cd data/realtime2 get 46087.txt quit Frequency of accessWe ask that you limit your retrievals to a minimal level. Most stations report hourly and most of the data is available by 25 minutes after the hour. You can determine the reporting frequency of the station you are interested in by viewing the Previous Observations on the Station Page. |