Skip to main content

Library used to work with rstn-1-second data

Project description

  • RSTNPy

Library to work with RSTN 1 second data from NOAA’s site. Working for data after 2000.

** Installation

#+BEGIN_SRC bash pip install rstnpy #+END_SRC

** How to use it

#+BEGIN_SRC python import matplotlib.pyplot as plt

from rstnpy import RSTN

day = 16 month = 10 year = 2014 path_to_files = “data/” station = “San vito”

rstn = RSTN(day, month, year, path_to_files, station)

# Search and download the file. filename = rstn.downloader.download_file()

# Decompress the gzipped file into a text file. filename = rstn.decompress_file(filename)

# Generate a dataframe from the data. df = rstn.create_dataframe()

# Plot the data. ax = rstn.plot()

plt.plot() #+END_SRC

** Compatibility

The library works with Python 3.5+

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rstnpy-1.0.tar.gz (12.7 kB view hashes)

Uploaded Source

Built Distribution

rstnpy-1.0-py3-none-any.whl (15.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page