From 21a4056ee4eab807e10c04068e0dd8640219592d Mon Sep 17 00:00:00 2001 From: Chunxiao Li Date: Fri, 22 Jan 2021 15:28:59 +0800 Subject: [PATCH] comments update --- pyatmos/utils/__init__.py | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/pyatmos/utils/__init__.py b/pyatmos/utils/__init__.py index e7b3ecf..a60958d 100644 --- a/pyatmos/utils/__init__.py +++ b/pyatmos/utils/__init__.py @@ -3,14 +3,15 @@ pyatmos utils subpackage This subpackage defines the following functions: -# try_download.py +Const.py - Defines some basic physical constants at sea level. -wraplon - Wrap a longitude in range of [0,360] to [-180,180] - -hms2s - Convert hour/minute/second to seconds - -hms2h - Convert hour/minute/second to hours - -tqdm_request - Try to download files from a remote server by request. +try_download.py + tqdm_request - Try to download files from a remote server by request with a colored progress bar. +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. ''' \ No newline at end of file