https://github.com/observingclouds/wyominglib
https://github.com/observingclouds/wyominglib
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/observingclouds/wyominglib
- Owner: observingClouds
- Created: 2021-01-02T11:39:31.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-02T11:57:58.000Z (over 4 years ago)
- Last Synced: 2025-01-07T13:48:17.048Z (4 months ago)
- Language: Python
- Size: 32.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Download and parse wyoming soundings into pandas DataFrames, then store to HDF5 file
This is a fork of https://gitlab.com/rvalenzuela/wyominglib
Raul Valenzuela
Original code: Philip Austin
Source: https://github.com/phaustin/A405
## Install
Clone the repo:
```bash
$git clone [email protected]/rvalenzuela/wyominglib.git
```add PYTHONPATH (e.g. in bash):
```bash
export PYTHONPATH="/path/to/clone/directory/wyominglib:$PYTHONPATH"
```
## Dependencies* numpy
* h5py
* BeautifulSoup
* pandas## Examples
```python
import wyominglib as wl
import numpy as npyears = np.arange(2000,2003)
for yr in years:
wl.download_wyoming(region='samer',
station=dict(name='ptomnt',number='85799'),
out_directory='/home/raul'
year=yr)
```
```python
import wyominglib as wlwl.download_wyoming(region='samer',
station=dict(name='puerto_montt',number='85799'),
out_directory='/home/raul',
dates=['2001-01-01 00:00','2001-01-10 12:00'])
```
```python
import wyominglib as wlwl.download_wyoming(region='samer',
station=dict(name='puerto_montt',number='85799'),
out_directory='/home/raul',
date='2001-01-01 00:00')
```