ATMOS/pyatmos/utils/__init__.py

17 lines
654 B
Python
Raw Normal View History

2020-07-27 10:38:52 +08:00
'''
pyatmos utils subpackage
This subpackage defines the following functions:
2021-01-22 15:28:59 +08:00
Const.py - Defines some basic physical constants at sea level.
2020-07-27 10:38:52 +08:00
2021-01-22 15:28:59 +08:00
try_download.py
tqdm_request - Try to download files from a remote server by request with a colored progress bar.
2020-07-27 10:38:52 +08:00
2021-01-22 15:28:59 +08:00
utils.py
vectorize - Vectorize a number(int, float) or a list to a numpy array.
wraplon - Wrap a longitude in range of [0,360] to [-180,180]
hms_conver - Convert the form of hour/minute/second to hours and seconds.
alt_conver - Fulfill conversions between geometric altitudes and geopotential altitudes.
check_altitude - Checks if altitudes are inside a valid range.
2020-07-27 10:38:52 +08:00
'''