Skip to content

Create meteo_lookup.py#101

Open
amsmith1109 wants to merge 2 commits into
mscross:masterfrom
amsmith1109:meteo_lookup
Open

Create meteo_lookup.py#101
amsmith1109 wants to merge 2 commits into
mscross:masterfrom
amsmith1109:meteo_lookup

Conversation

@amsmith1109
Copy link
Copy Markdown

This pull request is to add one file under the pysplit directory to expand functionality related to met data discovery. It does not alter any current functionality, but could later be integrated with trajectory_generator.py

meteo_lookup.py provides functionality related to NOAA ARL databases. These features include:
Looking up file names individually - arl_file()
Retrieve a span of file names - arl_span()
Retrieve a list of filenames - arl_list()
Details for each archive dataset are saved as a dictionary - arl_datasets
Downloading files via FTP - download_meteo_data()

name=='main' is a collection of tests for each function.

meteo_lookup provides functionality related to NOAA ARL databases. These features include:
Looking up file names individually - arl_file()
Retrieve a span of file names - arl_span()
Retrieve a list of filenames - arl_list()
Details for each archive dataset are saved as a dictionary - arl_datasets
Downloading files via FTP - download_meteo_data()

__name__=='__main__' is a collection of tests for each function.
Moves arl_datasets to a json file in the resources folder. meteo_lookup.py uses a parser to interpret portions of arl_datasets.

Includes some fixes to how gdas is interpreted.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant