Skip to content

Commit 30e1929

Browse files
author
sandyherho
committed
beberapa perbaikan
1 parent 6aabf5c commit 30e1929

File tree

4 files changed

+208
-4
lines changed

4 files changed

+208
-4
lines changed

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,15 @@
55
[![Open Source Love svg2](https://badges.frapsoft.com/os/v2/open-source.svg?v=103)](https://github.com/ellerbrock/open-source-badges/)
66
[![License: CC0-1.0](https://img.shields.io/badge/License-CC0%201.0-lightgrey.svg)](http://creativecommons.org/publicdomain/zero/1.0/)
77

8-
<div style="text-align: justify">`xarray` merupakan pustaka di lingkungan komputasi ilmiah Python yang berguna untuk menangani dataset
9-
multidimensi dengan metode pelabelan seperti pada struktur `DataFrame` di pustaka pandas. Hal ini sangatlah menguntungkan bagi kaum *awam* yang terbiasa
8+
<div style="text-align: justify"> ```xarray``` merupakan pustaka di lingkungan komputasi ilmiah Python yang berguna untuk menangani dataset
9+
multidimensi dengan metode pelabelan seperti pada struktur ```DataFrame``` di pustaka pandas. Hal ini sangatlah menguntungkan bagi kaum <i>awam</i> yang terbiasa
1010
menangani data tabular, untuk mengeksplorasi data multidimensi secara lebih intuitif. Tutorial ini sendiri lebih berfokus pada analisis sederhana data luaran model iklim
1111
berformat NetCDF menggunakan `xarray`. Diharapkan dengan hadirnya tutorial ini, dapat membantu kesulitan para praktisi dan mahasiswa S-1, utamanya untuk bidang non-geosains untuk mengeksplorasi data berformat NetCDF.</div>
1212

1313

14-
<div style="text-align: justify">Untuk mereproduksi tutorial ini, kawan - kawan dapat mengakses file - file NetCDF yang saya gunakan pada situs [!berikut](https://osf.io/gvf37/)</div>
14+
Untuk mereproduksi tutorial ini pastikan kalian telah melakukan hal - hal sebagai berikut:
15+
1. Jalankan ```git clone [email protected]:sandyherho/tutorial_xarray.git```
16+
2. Unduh dan jalankan [!Anaconda versi 3](https://www.anaconda.com/distribution/#download-section).
17+
3. Jalankan perintah berikut ini:
18+
```conda env create -f environment.yml```
19+
4. Unduh data model iklim global yang dijadikan contoh pada folder ```Data``` di situs [!ini](https://osf.io/gvf37/).

latex_script/pengantarNetcdfXarray.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ \chapter{Pengaturan Lingkungan Komputasi}
161161
conda install -c conda-forge xarray cartopy pynio pseudonetcdf
162162
\end{lstlisting}
163163

164-
Pembaca juga disarankan untuk melakukan instalasi \verb|jupyter notebook| atau konsol \verb|ipython| karena tutorial ini mengasumsikan pembaca menjalankan perintah - perintah Python di lingkungan interaktif. Untuk mempermudah pembaca (tidak perlu melakukan perintah - perintah sebelumnya, kecuali instalasi Anaconda), saya telah membuatkan file \verb|tutorial_xarray.yml| di repositori GitHub saya\footnote{\url{xxx.ww.}} dengan perintah berikut ini:
164+
Pembaca juga disarankan untuk melakukan instalasi \verb|jupyter notebook| atau konsol \verb|ipython| karena tutorial ini mengasumsikan pembaca menjalankan perintah - perintah Python di lingkungan interaktif. Untuk mempermudah pembaca (tidak perlu melakukan perintah - perintah sebelumnya, kecuali instalasi Anaconda), saya telah membuatkan file \verb|tutorial_xarray.yml| di repositori GitHub saya\footnote{\url{https://github.com/sandyherho/tutorial_xarray}} dengan perintah berikut ini:
165165
\begin{lstlisting}[language=bash, numbers=none]
166166
conda env create -f tutorial_xarray.yml
167167
\end{lstlisting}

pengantarNetcdfXarray.pdf

10 Bytes
Binary file not shown.

tutorial_xarray.yml

Lines changed: 199 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,199 @@
1+
name: tutorial_xarray
2+
channels:
3+
- conda-forge
4+
- anaconda
5+
- defaults
6+
dependencies:
7+
- _libgcc_mutex=0.1=main
8+
- attrs=19.3.0=py_0
9+
- backcall=0.1.0=py37_0
10+
- blas=1.0=mkl
11+
- bleach=3.1.0=py37_0
12+
- bokeh=1.4.0=py37_0
13+
- boost-cpp=1.70.0=h8e57a91_2
14+
- bzip2=1.0.8=h516909a_2
15+
- ca-certificates=2020.1.1=0
16+
- cairo=1.16.0=hfb77d84_1002
17+
- cartopy=0.17.0=py37h88e1628_1010
18+
- certifi=2019.11.28=py37_0
19+
- cffi=1.13.2=py37h8022711_0
20+
- cfitsio=3.470=hb60a0a2_2
21+
- cftime=1.0.4.2=py37hc1659b7_0
22+
- chardet=3.0.4=py37_1003
23+
- click=7.0=py37_0
24+
- cloudpickle=1.3.0=py_0
25+
- cryptography=2.8=py37h72c5cf5_1
26+
- curl=7.68.0=hf8cf82a_0
27+
- cycler=0.10.0=py37_0
28+
- cytoolz=0.10.1=py37h7b6447c_0
29+
- dask=2.10.1=py_0
30+
- dask-core=2.10.1=py_0
31+
- dbus=1.13.12=h746ee38_0
32+
- decorator=4.4.1=py_0
33+
- defusedxml=0.6.0=py_0
34+
- distributed=2.10.0=py_0
35+
- entrypoints=0.3=py37_0
36+
- expat=2.2.9=he1b5a44_2
37+
- fontconfig=2.13.1=h86ecdb6_1001
38+
- freetype=2.9.1=h8a8886c_1
39+
- freexl=1.0.5=h14c3975_1002
40+
- fsspec=0.6.2=py_0
41+
- g2clib=1.6.0=hf3f1b0b_9
42+
- geos=3.8.0=he1b5a44_0
43+
- geotiff=1.5.1=h38872f0_8
44+
- giflib=5.2.1=h516909a_1
45+
- glib=2.63.1=h5a9c865_0
46+
- gmp=6.1.2=hb3b607b_0
47+
- gst-plugins-base=1.14.5=h0935bb2_2
48+
- gstreamer=1.14.5=h36ae1b5_2
49+
- hdf4=4.2.13=hf30be14_1003
50+
- hdf5=1.10.5=nompi_h3c11f04_1104
51+
- hdfeos2=2.20=h64bfcee_1000
52+
- hdfeos5=5.1.16=h8b6279f_5
53+
- heapdict=1.0.1=py_0
54+
- icu=64.2=he1b5a44_1
55+
- idna=2.8=py37_1000
56+
- importlib_metadata=1.5.0=py37_0
57+
- intel-openmp=2020.0=166
58+
- ipykernel=5.1.4=py37h39e3cac_0
59+
- ipython=7.12.0=py37h5ca1d4c_0
60+
- ipython_genutils=0.2.0=py37_0
61+
- jasper=1.900.1=h07fcdf6_1006
62+
- jedi=0.16.0=py37_0
63+
- jinja2=2.11.1=py_0
64+
- jpeg=9c=h14c3975_1001
65+
- json-c=0.13.1=h14c3975_1001
66+
- jsonschema=3.2.0=py37_0
67+
- jupyter_client=5.3.4=py37_0
68+
- jupyter_core=4.6.1=py37_0
69+
- kealib=1.4.10=h58c409b_1005
70+
- kiwisolver=1.1.0=py37he6710b0_0
71+
- krb5=1.16.4=h2fd8d38_0
72+
- ld_impl_linux-64=2.33.1=h53a641e_7
73+
- libcurl=7.68.0=hda55be3_0
74+
- libdap4=3.20.4=hd3bb157_0
75+
- libedit=3.1.20181209=hc058e9b_0
76+
- libffi=3.2.1=hd88cf55_4
77+
- libgcc-ng=9.1.0=hdf63c60_0
78+
- libgdal=3.0.4=h20022a4_0
79+
- libgfortran-ng=7.3.0=hdf63c60_0
80+
- libiconv=1.15=h516909a_1005
81+
- libkml=1.3.0=h4fcabce_1010
82+
- libnetcdf=4.7.3=nompi_h9f9fd6a_101
83+
- libpng=1.6.37=hbc83047_0
84+
- libpq=12.1=hd9ab2ff_0
85+
- libsodium=1.0.16=h1bed415_0
86+
- libspatialite=4.3.0a=ha48a99a_1034
87+
- libssh2=1.8.2=h22169c7_2
88+
- libstdcxx-ng=9.1.0=hdf63c60_0
89+
- libtiff=4.1.0=hc3755c2_3
90+
- libuuid=2.32.1=h14c3975_1000
91+
- libwebp=1.0.2=h56121f0_5
92+
- libxcb=1.13=h1bed415_1
93+
- libxml2=2.9.10=hee79883_0
94+
- locket=0.2.0=py37_1
95+
- lz4-c=1.8.3=he1b5a44_1001
96+
- markupsafe=1.1.1=py37h7b6447c_0
97+
- matplotlib=3.1.3=py37_0
98+
- matplotlib-base=3.1.3=py37h250f245_0
99+
- mistune=0.8.4=py37h7b6447c_0
100+
- mkl=2020.0=166
101+
- mkl-service=2.3.0=py37he904b0f_0
102+
- mkl_fft=1.0.15=py37ha843d7b_0
103+
- mkl_random=1.1.0=py37hd6b4f25_0
104+
- msgpack-python=0.6.1=py37hfd86e86_1
105+
- nbconvert=5.6.1=py37_0
106+
- nbformat=5.0.4=py_0
107+
- nc-time-axis=1.2.0=py_1
108+
- ncurses=6.1=he6710b0_1
109+
- netcdf4=1.5.3=nompi_py37hd35fb8e_102
110+
- notebook=6.0.3=py37_0
111+
- numpy=1.18.1=py37h4f9e942_0
112+
- numpy-base=1.18.1=py37hde5b4d6_1
113+
- olefile=0.46=py_0
114+
- openjpeg=2.3.1=h981e76c_3
115+
- openssl=1.1.1=h7b6447c_0
116+
- owslib=0.19.1=py_0
117+
- packaging=20.1=py_0
118+
- pandas=1.0.1=py37h0573a6f_0
119+
- pandoc=2.2.3.2=0
120+
- pandocfilters=1.4.2=py37_1
121+
- parso=0.6.1=py_0
122+
- partd=1.1.0=py_0
123+
- pcre=8.43=he6710b0_0
124+
- pexpect=4.8.0=py37_0
125+
- pickleshare=0.7.5=py37_0
126+
- pillow=7.0.0=py37hefe7db6_0
127+
- pip=20.0.2=py37_1
128+
- pixman=0.38.0=h516909a_1003
129+
- poppler=0.67.0=h14e79db_8
130+
- poppler-data=0.4.9=1
131+
- postgresql=12.1=hc63931a_0
132+
- proj=6.3.0=hc80f0dc_0
133+
- prometheus_client=0.7.1=py_0
134+
- prompt_toolkit=3.0.3=py_0
135+
- pseudonetcdf=3.1.0=py_0
136+
- psutil=5.6.7=py37h7b6447c_0
137+
- ptyprocess=0.6.0=py37_0
138+
- pycparser=2.19=py37_1
139+
- pyepsg=0.4.0=py_0
140+
- pygments=2.5.2=py_0
141+
- pykdtree=1.3.1=py37hc1659b7_1002
142+
- pynio=1.5.5=py37h3763121_9
143+
- pyopenssl=19.1.0=py37_0
144+
- pyparsing=2.4.6=py_0
145+
- pyproj=2.4.2.post1=py37h8ff28aa_1
146+
- pyqt=5.9.2=py37h05f1152_2
147+
- pyrsistent=0.15.7=py37h7b6447c_0
148+
- pyshp=2.1.0=py_0
149+
- pysocks=1.7.1=py37_0
150+
- python=3.7.6=h357f687_2
151+
- python-dateutil=2.8.1=py_0
152+
- pytz=2019.3=py_0
153+
- pyyaml=5.3=py37h516909a_0
154+
- pyzmq=18.1.1=py37he6710b0_0
155+
- qt=5.9.7=h0c104cb_3
156+
- readline=8.0=hf8c457e_0
157+
- requests=2.22.0=py37_1
158+
- scipy=1.4.1=py37h0b6359f_0
159+
- send2trash=1.5.0=py37_0
160+
- setuptools=45.2.0=py37_0
161+
- shapely=1.7.0=py37h5d51c17_0
162+
- sip=4.19.8=py37hf484d3e_0
163+
- six=1.14.0=py37_0
164+
- sortedcontainers=2.1.0=py37_0
165+
- sqlite=3.31.1=h7b6447c_0
166+
- tbb=2018.0.5=h2d50403_0
167+
- tblib=1.6.0=py_0
168+
- terminado=0.8.3=py37_0
169+
- testpath=0.4.4=py_0
170+
- tiledb=1.7.0=hcde45ca_2
171+
- tk=8.6.10=hed695b0_0
172+
- toolz=0.10.0=py_0
173+
- tornado=6.0.3=py37h7b6447c_3
174+
- traitlets=4.3.3=py37_0
175+
- tzcode=2019a=h516909a_1002
176+
- urllib3=1.25.7=py37_0
177+
- wcwidth=0.1.8=py_0
178+
- webencodings=0.5.1=py37_1
179+
- wheel=0.34.2=py37_0
180+
- xarray=0.15.0=py_0
181+
- xerces-c=3.2.2=h8412b87_1004
182+
- xorg-kbproto=1.0.7=h14c3975_1002
183+
- xorg-libice=1.0.10=h516909a_0
184+
- xorg-libsm=1.2.3=h84519dc_1000
185+
- xorg-libx11=1.6.9=h516909a_0
186+
- xorg-libxext=1.3.4=h516909a_0
187+
- xorg-libxrender=0.9.10=h516909a_1002
188+
- xorg-renderproto=0.11.1=h14c3975_1002
189+
- xorg-xextproto=7.3.0=h14c3975_1002
190+
- xorg-xproto=7.0.31=h14c3975_1007
191+
- xz=5.2.4=h14c3975_4
192+
- yaml=0.2.2=h516909a_1
193+
- zeromq=4.3.1=he6710b0_3
194+
- zict=1.0.0=py_0
195+
- zipp=2.2.0=py_0
196+
- zlib=1.2.11=h7b6447c_3
197+
- zstd=1.4.4=h3b9ef0a_1
198+
prefix: /home/ronggolawe/anaconda3/envs/tutorial_xarray
199+

0 commit comments

Comments
 (0)