diff --git a/python/README.md b/python/README.md index 469a0b8f..82a7519f 100644 --- a/python/README.md +++ b/python/README.md @@ -59,16 +59,11 @@ You can also download and generate global gridded canopy-app inputs using Python 1. Edit python script (`global_data_process.py`) -2. Change user settings +2. Change global settings ```python '''User Options''' path = '/scratch/pcampbe8/canopy-app/input' # work directory - year = 2022 # year - month = 7 # month - day = 1 # day - houri = 12 # gfs initialization hour in UTC (caution currently GFS files are initialized at 12 UTC only -- do not change) - hour = 00 # gfs forecast hour in UTC ref_lev = 10 # reference height above the canopy (m) frp_src = 1 # frp data source (0: local source; 1: check local source first, switch to climatological file if no available data; 2: 12 month climatology; 3: all ones when ifcanwaf=.FALSE.) ``` @@ -79,8 +74,18 @@ You can also download and generate global gridded canopy-app inputs using Python conda activate canopy-app ``` -3. Run Python script +3. Run Python script with time arguments: + + Time format: `Year(yyyy)+month(mm)+date(dd)+hour(hh)+forecast hour(fff)` Multiple time steps available. Use `,` to separate different times, no spaces. + + Example 1: 15-17 Jul 2020 12Z, forecast hour=0 + + ``` + python global_data_process.py 2020071512000,2020071612000,2020071712000 + ``` + + Example 2: 1 Jul 2020 12Z, forecast hour=0-4 ``` - python global_data_process.py + python global_data_process.py 2020070112000,2020070112001,2020070112002,2020070112003,2020070112004 ```