Skip to content

Commit

Permalink
notebooks in Arabic and French - initial
Browse files Browse the repository at this point in the history
  • Loading branch information
trngbich committed Mar 26, 2021
1 parent 40be451 commit 56f85a2
Show file tree
Hide file tree
Showing 11 changed files with 5,206 additions and 4,713 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -151,4 +151,8 @@ Thumbs.db #thumbnail cache on Windows
modules/WaPOR/wapor_api_token.pickle
notebooks/Module1_unit4/data
notebooks/Module1_unit5/data
notebooks_AR/Module1_unit4/data
notebooks_AR/Module1_unit5/data
notebooks_FR/Module1_unit4/data
notebooks_FR/Module1_unit5/data
# End of https://www.toptal.com/developers/gitignore/api/python
4 changes: 2 additions & 2 deletions README_FR.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ Cloner dans Git Bash ([Git](https://git-scm.com/) doit être installé)
>>> git clone https://github.com/wateraccounting/WAPOROCW.git


**Étape 2**: Ouvrez Anaconda Prompt, changez de répertoire pour le dossier **..\WAPOROCW\notebooks**
**Étape 2**: Ouvrez Anaconda Prompt, changez de répertoire pour le dossier **..\WAPOROCW\notebooks_FR**

>>> cd ..PATH..\WAPOROCW\notebooks
>>> cd ..PATH..\WAPOROCW\notebooks_FR

**Étape 3**: Créer un nouvel environnement à partir du fichier environment.yml

Expand Down
33 changes: 18 additions & 15 deletions notebooks_AR/Module1_unit4/0_Start_here.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,37 @@
" \n",
"# يرجى القراءة \n",
"\n",
"</div>\n",
"\n",
"<div dir=\"rtl\">\n",
"الدفتر التالي هو مثال عن كيفية استخدام Python لتحميل، معالجة وتحليل WaPOR data:\n",
"</div>\n",
"\n",
"* [1 تحميل بيانات WaPOR باستخدام حزمة hkvwaporpy](1_Download_WaPOR_using_hkvwaporpy.ipynb)\n",
"<div dir=\"rtl\">\n",
" \n",
"* [1 تحميل بيانات WaPOR بالجملة](1_Bulk_download_WaPOR_data.ipynb)\n",
"* [2 معالجة بيانات WaPOR المحملة](2_Preprocess_WaPOR_data.ipynb)\n",
"* [3 معالجة بيانات WaPOR المحملة](3_Bulk_download_WaPOR_data.ipynb)\n",
"* [4 تحليل بيانات WaPOR](4_Analyse_WaPOR_data.ipynb)\n",
"* [3 تحليل بيانات WaPOR](3_Analyse_WaPOR_data.ipynb)\n",
"\n",
"</div>\n",
"\n",
"<div dir=\"rtl\">\n",
"تحتاج إلى تحميل الحزم التالية لبدء تشغيل الدفتر:\n",
"</div>\n",
"\n",
"<div dir=\"rtl\">\n",
" \n",
"* requests\n",
"* hkvwaporpy\n",
"* gdal\n",
"* numpy\n",
"* pandas\n",
"* matplotlib\n",
"* pyshp (shapefile)\n",
"\n",
"تفقد إن تم تحميل الحزم التالية من خلال بدء تشغيل الكود التالي.\n",
"</div>\n",
"\n",
"<div dir=\"rtl\">\n",
"تفقد إن تم تحميل الحزم التالية من خلال بدء تشغيل الكود التالي.\n",
"</div>"
]
},
Expand All @@ -37,7 +49,6 @@
"outputs": [],
"source": [
"import requests\n",
"import hkvwaporpy\n",
"import numpy\n",
"import pandas\n",
"import matplotlib\n",
Expand Down Expand Up @@ -86,7 +97,6 @@
"[في هذه الحالة، يمكن تجربة الخيارات التالية لتحميل الحزم](https://ocw.un-ihe.org/mod/book/view.php?id=6539&chapterid=680) \n",
"\n",
"### ملاحظات:\n",
"- **hkvwaporpy** غير متوفرة على Anaconda لذلك سوف تحتاج إلى استخدام طريقة مدير حزمة PIP للتثبيت.\n",
"- تم الحصول على osr و **ogr** بمجرد تحميل **gdal** \n",
" \n",
"</div>"
Expand All @@ -106,13 +116,6 @@
"\n",
"![fig1](../img/fig1_get_api_key.gif)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand All @@ -131,7 +134,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.3"
"version": "3.7.9"
}
},
"nbformat": 4,
Expand Down
Loading

0 comments on commit 56f85a2

Please sign in to comment.