Skip to content

Open and read an NDBC data file #1

@milancurcic

Description

@milancurcic

NDBC maintains buoys and the database of their measurements: https://www.ndbc.noaa.gov/

Let's start with one buoy just offshore from from Long Island: https://www.ndbc.noaa.gov/station_page.php?station=44097

You can see the data available for this buoy here: https://www.ndbc.noaa.gov/station_history.php?station=44008

Let's start with data from 2023: https://www.ndbc.noaa.gov/view_text_file.php?filename=44008h2023.txt.gz&dir=data/historical/stdmet/

This last link will allow you to download the data to a file on your computer.

Using Python, your challenge is to:

  • Open this file
  • Read it line by line
  • Print each line back to the screen

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions