Metadata-Version: 2.4
Name: pyqihou
Version: 0.1.1
Summary: Python Package for Climate Analysis
Author-email: VVVictorZhou <ahme02147483647a@gmail.com>
License: MIT
Project-URL: Homepage, https://github.com/VVVICTORZHOU/
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: numpy>=1.19.5
Requires-Dist: scipy>=1.5.4
Requires-Dist: windspharm>=1.7.0
Requires-Dist: xarray>=0.16.2

## README
### How to install the `pyqihou` package:

- Method 1: `npm install pyqihou`

- Method 2: `pip install pyqihou`


### Functions in the `pyqihou` package:
#### `pyqihou.water`

- `MassIntegrationAlongPressure`: 沿著垂直氣壓層執行大氣變數的質量積分。   
- `HorizontalMoistureAdvection`: 計算水平水氣平流的熱力學與動力學分解項，並進行氣壓層垂直積分。   
- `VerticalMoistureAdvection`: 計算垂直水氣平流的熱力學與動力學分解項，並進行氣壓層垂直積分。   
- `RelativeHumidity`: 依據溫度、比濕與氣壓計算大氣相對濕度百分比。   
- `VaporPressureDeficit`: 依據溫度、比濕與氣壓計算水氣壓差 (VPD)。   

#### `pyqihou.energy`

- `MixedLayerHeatBudget`: 計算混合層熱平衡的各項輻射、熱通量與物理分解項。   
- `NetEnergyInput`: 計算大氣與地表的淨能量輸入 (NEI)。   
- `EnergyFluxPotential`: 計算能量通量位勢 (EFP) 並自動處理標準網格內插與還原。   
- `MeridionalMassStreamFunction`: 計算經向質量經流函數 (MSF)。   
- `ZonalMassStreamFunction`: 計算緯向質量經流函數 (MSF)。  
- `HorizontalTN01WaveActivityFlux`: 計算幾何校正版的 Takaya-Nakamura (2001) 水平波活動通量與其散度。   

#### `pyqihou.statistic`

- `TtestPvalue`: 計算 Welch's t-test 的 p-value，並可選擇回傳平均值差異。

---

## CHANGELOG

### [0.1.0] - 2024-06-19
- Initial release of the `pyqihou` package, providing functions for climate analysis in `pyqihou.energy` and `pyqihou.water`, including mass integration, moisture advection, relative humidity calculation, energy flux potential

### [0.1.1] - 2024-06-20
- Added `TtestPvalue` function in `pyqihou.statistic`, which calculates the p-value of Welch's t-test and optionally returns the mean difference between two 3D arrays.
