Skip to content

Package contains handy and customize tool for downloading data from ERDDAP website with API

License

Notifications You must be signed in to change notification settings

GMfatcat/py_erddap

Repository files navigation

py_erddap

Status Status Status Status
Package contains handy and customize tool for downloading grid data from ERDDAP website with API
Inspired by my previous project:ConvLSTM-CNN-for-tropical-cyclone
Package Icon:Dolphin Icon Vectors by Vecteezy

For those who want to try out:point_down:

No need to install it , just add download.py and download_setting.py to your current working directory
👉 Import in your script and it's ready to go ~
git clone https://github.com/GMfatcat/py_erddap.git
from download import *

For those who want to get a package:point_down:

More functional pip package will be release later (I wish to release at least until Multiprocessing Download works fine)
pip install py-erddap==1.0.1

Start using by typing from py_erddap.download import *

✅ Package Usage

Check Example.ipynb for dataset without depth, ex. NOAA/NCEP Global Forecast System (GFS) Atmospheric Model
Check Example_with_depth.ipynb for dataset with depth, ex. Simulating WAves Nearshore (SWAN) Regional Wave Model


📙 define_url_and_output_filename() can also choose the file type to save, default to .nc define_url_and_output_filename(saving_dir,suffix,filetype = '.nc',stride = 1)

⚠️All defaults are inherit from the gfs dataset, you need to modify when downloading other dataset
⚠️You Should Always Check your downlaod setting before run the downloader, since initial values varys in every dataset
⚠️You got a big chance to get nothing in random setting :trollface:

New Features TODO LIST

[:x:] Asynico Download (Failed:bug:)

  • Multiprocessing Download (Still Working:bicyclist:)
  • Dataset without historic data (Still Working:bicyclist:)

Bugs and feature requests

Have a bug or a feature request? Please first search for existing and closed issues.
If your problem or idea is not addressed yet, please open a new issue.

Creator

GMfatcat

Copyright and license

Code released under the MIT License.

Enjoy 🤘

About

Package contains handy and customize tool for downloading data from ERDDAP website with API

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published