Skip to content

Commit e03aec7

Browse files
committed
Updated site contents
1 parent 6b6a1a2 commit e03aec7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+27585
-24
lines changed

docs/About.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ PyAEZ has been developed to be used within the tropical region, hence some of th
3333

3434
PyAEZ package consists of six main AEZ modules and one additional utility module stated as below:
3535

36-
* Module 1: Climate regime - calculation of agro-climatic indicators for evaluation of climatic suitability of crops.
36+
* **Module 1: Climate regime** - calculation of agro-climatic indicators for evaluation of climatic suitability of crops.
3737

3838
* **Module 2: Crop simulation** - simulate an optimal crop cycle for the highest attainable yield.
3939
* **Module 3: Climate constraints** - application of agro-climatic constraints to the calculated yield of a particular crop.

docs/Acknowledgements.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Acknowledgements
22

3-
The free and open source package Python Agro-Ecological Zoning (PyAEZ) was developed to address country-specific spatial information needs on future agricultural production. The finalization of this publication was led by Dr. Manzul Kumar Hazarika, Dr. Kittiphon Boonma and Swun Wunna Htet are the main authors for this publication with technical advice and contribution from Prof. Rajendra P. Shrestha.
3+
The free and open source package Python Agro-Ecological Zoning (PyAEZ) was developed to address country-specific spatial information needs on future agricultural production. The finalization of this web-based PyAEZ documentation was done by Swun Wunna Htet, Senior Research Associate of GIC-AIT.
44

5-
The authors acknowledge the contribution from the Asian Institute of Technology - Geoinformatics Center and the Food and Agriculture Organization of the United Nations (FAO) through the Geospatial Unit and the Regional Office for Asia and the Pacific (FAO-RAP). The PyAEZ development received financial support under a regional initiative on “Capacity building for Agro-Ecological Zone (AEZ) mapping and modelling to project climate suitability of crops and land uses” in collaboration with the FAO-RAP and the “Strengthening agro-climatic monitoring and information systems to improve adaptation to climate change and food security in Lao PDR (GCP /LAO/021/LDF)” project. The code development received contribution from Lakmal Nawarathnage, Thaileng Thol, Gianluca Franceschini, Shraddha Sharma, Dr. Kavinda Gunasekara, Dr. Kittiphon Boonma, Swun Wunna Htet and Dwijendra Das.
5+
The authors acknowledge the contribution from the Asian Institute of Technology - Geoinformatics Center (GIC-AIT) and the Food and Agriculture Organization of the United Nations (FAO) through the Geospatial Unit and the Regional Office for Asia and the Pacific (FAO-RAP). The PyAEZ development received financial support under a regional initiative on “Capacity building for Agro-Ecological Zone (AEZ) mapping and modelling to project climate suitability of crops and land uses” in collaboration with the FAO-RAP and the “Strengthening agro-climatic monitoring and information systems to improve adaptation to climate change and food security in Lao PDR (GCP /LAO/021/LDF)” project. The code development received contribution from Lakmal Nawarathnage, Thaileng Thol, Gianluca Franceschini, Shraddha Sharma, Dr. Kavinda Gunasekara, Dr. Kittiphon Boonma, Swun Wunna Htet and Dwijendra Das.
66

7-
This achievement would have not been made possible without the continuous technical contribution and advice from Günther Fischer from the International Institute for Applied Systems Analysis (IIASA) and Freddy Nachtergaele. The authors are also grateful for the financial and management support from FAO, especially Beau Damon, Monica Petri, Federica Chiozza, Joyce Ahimbisibwe, Dario Spiller, Rutendo Mukaratirwa and Matieu Henry.
7+
This achievement would have not been made possible without the continuous technical contribution and advice from Günther Fischer from the International Institute for Applied Systems Analysis (IIASA) and Freddy Nachtergaele. The authors are also grateful for the financial, management and technical support from FAO, especially Beau Damon, Monica Petri, Federica Chiozza, Joyce Ahimbisibwe, Dario Spiller, Rutendo Mukaratirwa, Filippo Sarvia and Matieu Henry.

docs/Data_Prep.md

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,23 @@ PyAEZ package requires the following additional open-source Python packages to b
1212
4. Pandas: allows PyAEZ to read MS Excel sheets with user-defined parameters.
1313
5. Numba: aware optimizing compiler used to speed up some computationally heavy routines within PyAEZ.
1414

15-
!!! note "Additional Information"
15+
!!! info "Additional Information"
1616

17-
Numpy: https://numpy.org/install/
17+
Numpy: [click-here](https://numpy.org/install/)
1818

19-
GDAL : https://anaconda.org/conda-forge/gdal
19+
GDAL : [click-here](https://anaconda.org/conda-forge/gdal)
2020

21-
SciPy : https://scipy.org/install
21+
SciPy : [click-here](https://scipy.org/install)
2222

23-
Pandas : https://pandas.pydata.org/docs/getting_started/install.html
23+
Pandas : [click-here](https://pandas.pydata.org/docs/getting_started/install.html)
2424

25-
Numba : https://numba.readthedocs.io/en/stable/user/installing.html
25+
Numba : [click-here](https://numba.readthedocs.io/en/stable/user/installing.html)
2626

27-
Copernicus Climate Data Stores : https://cds.climate.copernicus.eu/
27+
Copernicus Climate Data Stores : [click-here](https://cds.climate.copernicus.eu/)
2828

29-
ECMWF : https://www.ecmwf.int/en/forecasts/datasets
29+
ECMWF : [click-here](https://www.ecmwf.int/en/forecasts/datasets)
3030

31-
Google Earth Engine : https://developers.google.com/earth-engine/datasets
31+
Google Earth Engine : [click-here](https://developers.google.com/earth-engine/datasets)
3232

3333
___
3434

@@ -56,7 +56,13 @@ PyAEZ requires to provide all mandatory crop parameters to be prepared by users'
5656
3. Crop-specific thermal characteristics
5757
4. Land utilization type characteristics
5858

59-
While most of the parameterizations can be referred to GAEZv4 Appendix (Source: https://s3.eu-west-1.amazonaws.com/data.gaezdev.aws.fao.org/documentation/GAEZ4_Appendices.xlsx), some requires additional references apart from GAEZ context. The crop parameters can also be user-defined, or experimental, i.e., some parameters can be estimated from laboratory experiments, as FAO scientists initiated in the early 1900's.
59+
While most of the parameterizations can be referred to [GAEZv4 Appendix](https://s3.eu-west-1.amazonaws.com/data.gaezdev.aws.fao.org/documentation/GAEZ4_Appendices.xlsx), some requires additional references apart from GAEZ context. The crop parameters can also be user-defined, or experimental, i.e., some parameters can be estimated from laboratory experiments, as FAO scientists initiated in the early 1900's.
60+
61+
!!! info
62+
63+
Additional crop information can be referred to the following resources:
64+
65+
1. [ECOCROP](https://gaez.fao.org/pages/ecocrop) is a crop database designed to collect and provide information on plant characteristics and crop environmental requirements for more than 200 plant species. It provides sutability of a crop for a specified enfironment. Several information includes category, life form, growth habit, life span and environmental description (minimum and maximum temperature, annual precipitation, soil pH, etc.,).
6066

6167
An extensive list of crop paramters to prepare as an excel sheet are provided as below:
6268

docs/M1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ These following functions are required to set up first before AEZ project initia
1111

1212
### Initialization of M1 Object Class Creation
1313

14-
PyAEZ codes utilizes ‘Object-Oriented Programming’ style, meaning that each module has its own Classes containing separate attributes and functions. Therefore, it is essential that the necessary object-classes are initiated at the beginning of each module. For Module 1, the Class that we need is called ClimateRegime, and is imported and initiated as
14+
PyAEZ codes utilizes ‘Object-Oriented Programming’ style, meaning that each module has its own Classes containing separate attributes and functions. Therefore, it is essential that the necessary object-classes are initiated at the beginning of each module. For Module 1, the Class that we need is called `ClimateRegime`, and is imported and initiated.
1515

1616
```py title="M1 Object Class Creation" linenums="1"
1717
from pyaez import ClimateRegime

docs/M2.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ aez.ImportLGPandLGPT(lgp, lgpt5, lgpt10)
180180
**Output**
181181

182182
|Arguments|Description|Unit|Data Format|
183+
|---|---|---|---|
183184
|None|---|---|---|
184185

185186
___
@@ -188,7 +189,7 @@ ___
188189

189190
### Setting the Study Area Inputs
190191

191-
Users can provide the study area mask of to omit unnecessary pixels calculations.
192+
Users can provide the study area mask to omit unnecessary pixels calculations.
192193

193194
```py title="Setting Study Area" linenums="1"
194195
# Study Area Mask
@@ -205,6 +206,7 @@ aez.setStudyAreaMask(admin_mask, no_data_value=0)
205206
**Output**
206207

207208
|Arguments|Description|Unit|Data Format|
209+
|---|---|---|---|
208210
|None|---|---|---|
209211

210212
___
@@ -232,6 +234,7 @@ aez.setThermalClimateScreening(tclimate, no_t_climate)
232234
**Output**
233235

234236
|Arguments|Description|Data Format|
237+
|---|---|---|
235238
|None|---|---|
236239

237240
### Permafrost Screening
@@ -252,11 +255,12 @@ aez.setPermafrostScreening(permafrost_class)
252255
**Output**
253256

254257
|Arguments|Description|Data Format|
258+
|---|---|---|
255259
|None|---|---|
256260

257261
### TSUM Screening
258262

259-
The matching of the individual crop LUT heat unit requirements with the prevailing temperature sum is the purpose of temperature summation screening. TSUM is evaluated from base temperature of 0 ℃ for each individual cycle length duration. In version 2.1.0, the new algorithm for TSUM screening is introduced which is implemented with different inputs.
263+
The matching of the individual crop LUT heat unit requirements with the prevailing temperature sum is the purpose of temperature summation screening. TSUM is evaluated from base temperature of 0 ℃ for each individual cycle length duration. Starting from version 2.1.0, the new algorithm for TSUM screening is introduced which is implemented with different inputs.
260264

261265
TSUM screening works to evaluate three conditions, each deciding the TSUM suitability termed as: “Optimum”, “Sub-optimum" and "Not-suitable”. Optimum condition requires no reduction factor to the calculated yield, while the rest of two conditions calculates the TSUM related reduction factor. Each condition has upper and lower boundaries (See Figure 6); defined as threshold points for the users to provide as below:
262266

@@ -271,7 +275,7 @@ Any TSUM values within the optimum threshold range (green line) are considered a
271275

272276
!!! note "Additional Information"
273277

274-
TSUM setting is done in the excel sheet from [data preparation](Data_Prep.md#crop-parameter-preparation). TSUM screening requires providing all six thresholds to activate. If one of the thresholds is missing, TSUM screening will not be activate. If users do not want to apply TSUM screening, provide **nan** value to all six variables.
278+
TSUM setting is done in the excel sheet from [data preparation](Data_Prep.md#crop-parameter-preparation). TSUM screening requires providing all six thresholds to activate. If one of the thresholds is missing, TSUM screening will not be activated. If users do not want to apply TSUM screening, provide **nan** value to all six variables.
275279

276280
**Figure: Implementation of TSUM Screening**
277281
![Alt text](assets\TSUM Screening.png)
@@ -321,7 +325,9 @@ aez.setupCropSpecificRule(file_path, crop_name)
321325
**Output**
322326

323327
|Arguments|Description|Data Format|
328+
|---|---|---|
324329
|None|---|---|
330+
325331
___
326332

327333
## Crop Simulation
@@ -335,7 +341,7 @@ The general schematic of the crop simulation is implemented as shown in figure b
335341

336342
A newly implemented crop simulation routine for sugarcane is introduced as below:
337343

338-
**Procedure of Calculation of Module 2 Outputs (Irrigated and Rainfed) for Sugarcane**
344+
**Figure: Procedure of Calculation of Module 2 Outputs (Irrigated and Rainfed) for Sugarcane**
339345
![Alt text](assets\M2_sugarcane.png)
340346

341347
### Irrigated Crop Simulation
@@ -359,6 +365,7 @@ aez.simulateIrrigatedCropCycle(start_doy =1, end_doy = 365, step_doy = 1, leap_y
359365
**Output**
360366

361367
|Arguments|Description|Data Format|
368+
|---|---|---|
362369
|None|---|---|
363370

364371
___
@@ -384,6 +391,7 @@ aez.simulateRainfedCropCycle(start_doy =1, end_doy = 365, step_doy = 1, leap_yea
384391
**Output**
385392

386393
|Arguments|Description|Data Format|
394+
|---|---|---|
387395
|None|---|---|
388396

389397
___

docs/M5.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ __
126126

127127
Once all the mandatory settings are done, users can run this function which executes the terrain-related yield reduction factors.
128128

129-
```py title="Import climate and slope" linenums="s1"
129+
```py title="Import climate and slope" linenums="1"
130130
yld_out = terrain.applyTerrainConstraints(yield_in, irr_or_rain)
131131
```
132132

@@ -149,7 +149,7 @@ ___
149149

150150
This function returns the terrain suitability map (fc5) after applying the terrain constraint function. Based on the setting from `applyTerrainConstraints`, the fc5 map can be representative for either rainfed or irrigated. Fc5 values ranges from 0 (Not Suitable) to 1 (Very Suitable).
151151

152-
```py title="Get Fc5 map" linenums="s1"
152+
```py title="Get Fc5 map" linenums="1"
153153
fc5_map = terrain.getTerrainReductionFactor()
154154
```
155155

@@ -171,7 +171,7 @@ ___
171171

172172
This function extracts the Fournier Index (FI) map after the execution of `calculateFI` function.
173173

174-
```py title="Get FI" linenums="s1"
174+
```py title="Get FI" linenums="1"
175175
fi = terrain.getFI()
176176
```
177177

@@ -185,6 +185,6 @@ fi = terrain.getFI()
185185

186186
|Arguments| Description|Unit|Data Type|
187187
|---|---|---|---|
188-
|None|-|-|-|
188+
|fi|Fournier Index|-|2D-NumPy Array|
189189

190190
___

mkdocs.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
1-
site_name: PyAEZ v2.4 Documentation
1+
site_name: PyAEZ v2.3 Documentation
22
site_dir: site
33
use_directory_urls: true
44
repo_url: https://github.com/gicait/PyAEZ
55
repo_name: gicait/PyAEZ
66
plugins:
77
- search
8+
- git-revision-date-localized:
9+
type: datetime
10+
fallback_to_build_date: false
11+
enable_creation_date: false
12+
enabled: true
813
nav:
914
- Home: index.md
1015
- Acknowledgements: Acknowledgements.md
@@ -78,6 +83,7 @@ markdown_extensions:
7883
anchor_linenums: true
7984
line_spans: __span
8085
pygments_lang_class: true
86+
use_pygments: true
8187
- pymdownx.inlinehilite
8288
- pymdownx.snippets
8389
- pymdownx.superfences:

0 commit comments

Comments
 (0)