semvec/pypi-packages huggingface dataset:
noaa-weather 0.1
A bulk historical weather data from National Oceanic and Atmospheric Administration.

# noaa-weather-api 

You can access historical weather data with NOAA Weather API.

## Getting Started

Method : ```get_all_stations_in_location(): ```

Returns all stations in that given country.
```df_s``` is a data frame that contains information such as station code, latitude and longitude.

```
from noaa import get_all_stations_in_location as gas

df_s = get_all_stations(dataset, location, n_token)
```

```df_s``` looks like this:

![alt_text](images/df_s.png)


Method : ```get_bulk_weather_in_station():```


Returns one historical weather report for a given station between two dates, using one of the resulting station id's.

Date: Must be in ```String``` and ```YYYY-MM-DD``` format. Example: ```'2019-06-26'```
```
df_w = get_bulk_weather_in_station(dataset, location, s_date, e_date, n_token)
```


```df_w``` looks like this:
![alt_text](images/df_w.png)


For more information about abbreviations: [click here](ftp://ftp.ncdc.noaa.gov/pub/data/ghcn/daily/readme.txt).
download-and-extract 0.3.3
Downloads zip archive and extracts it to specified folder
Requires Python: >=3.7,<4.0

Download And Extract
====================

It will download zip file and extract it to the specified folder. Here is an example:

```py
from download_and_extract import Fetcher, FetcherException

try:
    fetcher.fetch("http://example.com/about.txt", "./test/1")
raise FetcherException as ex:
    print("Some error")
```