Skip to content

Commit 75d6f18

Browse files
authored
Merge pull request #4 from ESMG/exp/rel011
Release 0.1.1 to dev
2 parents cadbbbc + c352a86 commit 75d6f18

18 files changed

+300
-944
lines changed

.github/workflows/base.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
name: CI
44

5-
# Controls when the action will run.
5+
# Controls when the action will run.
66
on:
77
# Triggers the workflow on push or pull request events but only for the main branch
88
push:

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Direct code contributions should be made by creating a
77

88
Developers with `commit` access to this repository
99
should develop on a branch using the name `exp/`.
10-
When finished, send a **pull request** to the
10+
When finished, send a **pull request** to the
1111
`dev` branch for inclusion.
1212

1313
As milestones are reached, a pull request from

README.md

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@ details about this repository can be found below. For usage of
1111
the GridUtils library, please visit the [user manual](docs/manual/GridUtils.md).
1212

1313
Various examples are available to demonstrate manipulation of new and existing
14-
grids in an iterative or interactive form.
14+
grids in an iterative or interactive (application) form.
1515

1616
Python notebooks:
17-
* mkGridIterative.ipynb
18-
* mkGridInteractive.ipynb
17+
* [mkGridIterative.ipynb](examples/mkGridIterative.ipynb)
18+
* [mkGridInteractive.ipynb](examples/mkGridInteractive.ipynb)
19+
* The [gridtools application tutorial](docs/manual/gridtoolAppTutorial.ipynb)
1920

2021
Python scripts:
2122
* [examples](examples)
@@ -45,7 +46,7 @@ The [example](examples) python scripts can also be run with ipython.
4546

4647
These prefer notebook files (ipynb). Please see the
4748
mkGridIterative.ipynb notebook for a hands on way to access the grid
48-
generation library.
49+
generation library.
4950

5051
A simple graphical user interface (GUI) was built and is available using the
5152
mkGridInteractive.ipynb notebook.
@@ -86,7 +87,8 @@ above:
8687
# Installation
8788

8889
If you plan to use the grid generation software on your system, you
89-
need to peform the following steps.
90+
need to peform the following steps or follow the
91+
[local installation tutorial](docs/manual/local_installation_tutorial.ipynb).
9092

9193
## Step 1
9294

@@ -112,8 +114,8 @@ environment (venv).
112114
or [clone](https://github.com/ESMG/gridtools.git) the
113115
[ESMG/gridtools](https://github.com/ESMG/gridtools) repository.
114116

115-
You may use any of the typical installation methods to install the grid
116-
tool library.
117+
The `python setup.py install` method is now considered a legacy installation
118+
method. Please use the `python -m pip install` method.
117119

118120
### pip
119121

@@ -122,18 +124,11 @@ $ cd gridtools
122124
$ python -m pip install .
123125
```
124126

125-
### setup.py
126-
127-
```
128-
$ cd gridtools
129-
$ python setup.py install
130-
```
131-
132127
# Workarounds
133128

134129
These are the current workarounds that are required for the grid
135130
toolset package. You may need to perform these steps once if you
136-
plan to install a copy of the grid generation software.
131+
plan to install a copy of the grid generation software.
137132

138133
NOTE: These workarounds should be automatically installed with
139134
an installation of gridtools.
@@ -202,6 +197,8 @@ to upkeep of a manual index.
202197
* [MOM6ROMS](docs/grids/MOM6ROMS.md): Important things between MOM6 and ROMS grids
203198
* [ROMS](docs/grids/ROMS.md): ROMS grids
204199
* [manual](docs/manual/GridUtils.md): User manual for the GridUtils library
200+
* [Installation tutorial](docs/manual/local_installation_tutorial.ipynb)
201+
* [Gridtools application tutorial](docs/manual/gridtoolAppTutorial.ipynb)
205202
* [resources](docs/resources)
206203
* [Bathymetry](docs/resources/Bathymetry)
207204

binder/environment.yml

Lines changed: 41 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ dependencies:
77
- _libgcc_mutex=0.1=conda_forge
88
- _openmp_mutex=4.5=1_gnu
99
- alsa-lib=1.2.3=h516909a_0
10-
- anyio=3.0.1=py37h89c1867_0
10+
- anyio=3.1.0=py37h89c1867_0
1111
- argon2-cffi=20.1.0=py37h5e8e339_2
1212
- async_generator=1.10=py_0
1313
- attrs=21.2.0=pyhd8ed1ab_0
@@ -20,88 +20,90 @@ dependencies:
2020
- brotlipy=0.7.0=py37h5e8e339_1001
2121
- bzip2=1.0.8=h7f98852_4
2222
- c-ares=1.17.1=h7f98852_1
23-
- ca-certificates=2020.12.5=ha878542_0
23+
- ca-certificates=2021.5.30=ha878542_0
2424
- cartopy=0.19.0.post1=py37h0c48da3_0
25-
- certifi=2020.12.5=py37h89c1867_1
25+
- certifi=2021.5.30=py37h89c1867_0
2626
- cf_xarray=0.5.2=pyh6c4a22f_0
2727
- cffi=1.14.5=py37hc58025e_0
28+
- cftime=1.5.0=py37h6f94858_0
2829
- chardet=4.0.0=py37h89c1867_1
29-
- click=8.0.0=py37h89c1867_0
30+
- click=8.0.1=py37h89c1867_0
3031
- cloudpickle=1.6.0=py_0
3132
- conda=4.10.1=py37h89c1867_0
3233
- conda-package-handling=1.7.3=py37h5e8e339_0
3334
- coverage=5.5=py37h5e8e339_0
3435
- cryptography=3.4.7=py37h5d9358c_0
35-
- curl=7.76.1=hea6ffbf_2
36+
- curl=7.77.0=hea6ffbf_0
3637
- cycler=0.10.0=py_2
3738
- cytoolz=0.11.0=py37h5e8e339_3
38-
- dask=2021.5.0=pyhd8ed1ab_0
39-
- dask-core=2021.5.0=pyhd8ed1ab_0
39+
- dask=2021.5.1=pyhd8ed1ab_0
40+
- dask-core=2021.5.1=pyhd8ed1ab_0
4041
- dbus=1.13.6=h48d8840_2
4142
- decorator=5.0.9=pyhd8ed1ab_0
4243
- defusedxml=0.7.1=pyhd8ed1ab_0
43-
- distributed=2021.5.0=py37h89c1867_0
44+
- distributed=2021.5.1=py37h89c1867_0
4445
- docrep=0.2.7=py_0
4546
- entrypoints=0.3=pyhd8ed1ab_1003
4647
- esmf=8.1.1=nompi_hb4f3075_0
4748
- esmpy=8.1.1=nompi_py37hff16fce_0
48-
- expat=2.3.0=h9c3ff4c_0
49+
- expat=2.4.1=h9c3ff4c_0
4950
- fontconfig=2.13.1=hba837de_1005
5051
- freetype=2.10.4=h0708190_1
5152
- fsspec=2021.5.0=pyhd8ed1ab_0
5253
- future=0.18.2=py37h89c1867_3
5354
- geos=3.9.1=h9c3ff4c_2
5455
- gettext=0.19.8.1=h0b5b191_1005
55-
- glib=2.68.2=h9c3ff4c_0
56-
- glib-tools=2.68.2=h9c3ff4c_0
56+
- glib=2.68.2=h9c3ff4c_2
57+
- glib-tools=2.68.2=h9c3ff4c_2
5758
- gst-plugins-base=1.18.4=hf529b03_2
5859
- gstreamer=1.18.4=h76c114f_2
59-
- hdf4=4.2.15=h10796ff_2
60+
- hdf4=4.2.15=h10796ff_3
6061
- hdf5=1.10.6=nompi_h6a2412b_1114
6162
- heapdict=1.0.1=py_0
6263
- icu=68.1=h58526e2_0
6364
- idna=2.10=pyh9f0ad1d_0
64-
- importlib-metadata=4.0.1=py37h89c1867_0
65-
- importlib_metadata=4.0.1=hd8ed1ab_0
65+
- importlib-metadata=4.4.0=py37h89c1867_0
66+
- importlib_metadata=4.4.0=hd8ed1ab_0
6667
- iniconfig=1.1.1=pyh9f0ad1d_0
6768
- ipykernel=5.5.5=py37h085eea5_0
68-
- ipython=7.23.1=py37h085eea5_0
69+
- ipython=7.24.0=py37h085eea5_0
6970
- ipython_genutils=0.2.0=py_1
7071
- jedi=0.18.0=py37h89c1867_2
71-
- jinja2=3.0.0=pyhd8ed1ab_0
72+
- jinja2=3.0.1=pyhd8ed1ab_0
7273
- jpeg=9d=h36c2ea0_0
7374
- json5=0.9.5=pyh9f0ad1d_0
7475
- jsonschema=3.2.0=pyhd8ed1ab_3
7576
- jupyter_client=6.1.12=pyhd8ed1ab_0
7677
- jupyter_core=4.7.1=py37h89c1867_0
77-
- jupyter_server=1.7.0=py37h89c1867_1
78-
- jupyterlab=3.0.15=pyhd8ed1ab_0
78+
- jupyter_server=1.8.0=pyhd8ed1ab_0
79+
- jupyterlab=3.0.16=pyhd8ed1ab_0
7980
- jupyterlab_pygments=0.1.2=pyh9f0ad1d_0
80-
- jupyterlab_server=2.5.2=pyhd8ed1ab_0
81+
- jupyterlab_server=2.6.0=pyhd8ed1ab_0
8182
- kiwisolver=1.3.1=py37h2527ec5_1
8283
- krb5=1.19.1=hcc1bbae_0
8384
- lcms2=2.12=hddcbb42_0
8485
- ld_impl_linux-64=2.35.1=hea4e1c9_2
8586
- libblas=3.9.0=9_openblas
8687
- libcblas=3.9.0=9_openblas
8788
- libclang=11.1.0=default_ha53f305_1
88-
- libcurl=7.76.1=h2574ce0_2
89+
- libcurl=7.77.0=h2574ce0_0
8990
- libedit=3.1.20191231=he28a2e2_2
9091
- libev=4.33=h516909a_1
9192
- libevent=2.1.10=hcdb4288_3
9293
- libffi=3.3=h58526e2_2
9394
- libgcc-ng=9.3.0=h2828fa1_19
9495
- libgfortran-ng=9.3.0=hff62375_19
9596
- libgfortran5=9.3.0=hff62375_19
96-
- libglib=2.68.2=h3e27bee_0
97+
- libglib=2.68.2=h3e27bee_2
9798
- libgomp=9.3.0=h2828fa1_19
9899
- libiconv=1.16=h516909a_0
99100
- liblapack=3.9.0=9_openblas
101+
- libllvm10=10.0.1=he513fc3_3
100102
- libllvm11=11.1.0=hf817b99_2
101103
- libnetcdf=4.8.0=nompi_hcd642e3_103
102104
- libnghttp2=1.43.0=h812cca2_0
103105
- libogg=1.3.4=h7f98852_1
104-
- libopenblas=0.3.15=pthreads_h8fe5266_0
106+
- libopenblas=0.3.15=pthreads_h8fe5266_1
105107
- libopus=1.3.1=h7f98852_1
106108
- libpng=1.6.37=h21135ba_2
107109
- libpq=13.3=hd57d9b9_0
@@ -116,35 +118,38 @@ dependencies:
116118
- libxkbcommon=1.0.3=he3ba5ed_0
117119
- libxml2=2.9.12=h72842e0_0
118120
- libzip=1.7.3=h4de3113_0
121+
- llvmlite=0.36.0=py37h9d7f4d0_0
119122
- locket=0.2.0=py_2
120123
- lz4-c=1.9.3=h9c3ff4c_0
121124
- markdown=3.3.4=pyhd8ed1ab_0
122-
- markupsafe=2.0.0=py37h5e8e339_0
125+
- markupsafe=2.0.1=py37h5e8e339_0
123126
- matplotlib=3.4.2=py37h89c1867_0
124127
- matplotlib-base=3.4.2=py37hdd32ed1_0
125128
- matplotlib-inline=0.1.2=pyhd8ed1ab_2
126129
- mistune=0.8.4=py37h5e8e339_1003
127-
- more-itertools=8.7.0=pyhd8ed1ab_1
130+
- more-itertools=8.8.0=pyhd8ed1ab_0
128131
- msgpack-python=1.0.2=py37h2527ec5_1
129132
- mysql-common=8.0.23=ha770c72_2
130133
- mysql-libs=8.0.23=h935591d_2
131-
- nbclassic=0.2.8=pyhd8ed1ab_0
134+
- nbclassic=0.3.1=pyhd8ed1ab_1
132135
- nbclient=0.5.3=pyhd8ed1ab_0
133136
- nbconvert=6.0.7=py37h89c1867_3
134137
- nbformat=5.1.3=pyhd8ed1ab_0
135138
- ncurses=6.2=h58526e2_4
136139
- nest-asyncio=1.5.1=pyhd8ed1ab_0
137140
- netcdf-fortran=4.5.3=nompi_hf3f1587_104
141+
- netcdf4=1.5.6=nompi_py37h946d57d_103
138142
- notebook=6.4.0=pyha770c72_0
139143
- nspr=4.30=h9c3ff4c_0
140144
- nss=3.65=hb5efdd6_0
141-
- numpy=1.20.2=py37h038b26d_0
145+
- numba=0.53.1=py37h134767a_0
146+
- numpy=1.20.3=py37h038b26d_1
142147
- olefile=0.46=pyh9f0ad1d_1
143148
- openjpeg=2.4.0=hb52868f_1
144149
- openssl=1.1.1k=h7f98852_0
145150
- packaging=20.9=pyh44b312d_0
146151
- pandas=1.2.4=py37h219a48f_0
147-
- pandoc=2.13=h7f98852_0
152+
- pandoc=2.14.0.1=h7f98852_0
148153
- pandocfilters=1.4.2=py_1
149154
- panel=0.11.3=py_0
150155
- param=1.10.1=py_0
@@ -153,8 +158,8 @@ dependencies:
153158
- pcre=8.44=he1b5a44_0
154159
- pexpect=4.8.0=pyh9f0ad1d_2
155160
- pickleshare=0.7.5=py_1003
156-
- pillow=8.1.2=py37h4600e1f_1
157-
- pip=21.1.1=pyhd8ed1ab_0
161+
- pillow=8.2.0=py37h4600e1f_1
162+
- pip=21.1.2=pyhd8ed1ab_0
158163
- pluggy=0.13.1=py37h89c1867_4
159164
- proj=7.2.0=h277dcde_2
160165
- prometheus_client=0.10.1=pyhd8ed1ab_0
@@ -186,37 +191,37 @@ dependencies:
186191
- pytz=2021.1=pyhd8ed1ab_0
187192
- pyviz_comms=2.0.1=py_0
188193
- pyyaml=5.4.1=py37h5e8e339_0
189-
- pyzmq=22.0.3=py37h336d617_1
194+
- pyzmq=22.1.0=py37h336d617_0
190195
- qt=5.12.9=hda022c4_4
191196
- readline=8.1=h46c0cb4_0
192197
- requests=2.25.1=pyhd3deb0d_0
193198
- ruamel_yaml=0.15.80=py37h5e8e339_1004
194199
- scipy=1.6.3=py37h29e03ee_0
195200
- send2trash=1.5.0=py_0
196201
- setuptools=49.6.0=py37h89c1867_3
197-
- shapely=1.7.1=py37hf7ed6d2_4
202+
- shapely=1.7.1=py37h2d1e849_4
198203
- six=1.16.0=pyh6c4a22f_0
199204
- sniffio=1.2.0=py37h89c1867_1
200205
- sortedcontainers=2.4.0=pyhd8ed1ab_0
201206
- sqlite=3.35.5=h74cdb3f_0
202207
- tblib=1.7.0=pyhd8ed1ab_0
203-
- terminado=0.9.5=py37h89c1867_0
208+
- terminado=0.10.0=py37h89c1867_0
204209
- testpath=0.5.0=pyhd8ed1ab_0
205210
- tk=8.6.10=h21135ba_1
206211
- toml=0.10.2=pyhd8ed1ab_0
207212
- toolz=0.11.1=py_0
208213
- tornado=6.1=py37h5e8e339_1
209-
- tqdm=4.60.0=pyhd8ed1ab_0
214+
- tqdm=4.61.0=pyhd8ed1ab_0
210215
- traitlets=5.0.5=py_0
211216
- typing_extensions=3.7.4.3=py_0
212-
- urllib3=1.26.4=pyhd8ed1ab_0
217+
- urllib3=1.26.5=pyhd8ed1ab_0
213218
- wcwidth=0.2.5=pyh9f0ad1d_2
214219
- webencodings=0.5.1=py_1
215220
- websocket-client=0.57.0=py37h89c1867_4
216221
- wheel=0.36.2=pyhd3deb0d_0
217-
- xarray=0.18.0=pyhd8ed1ab_0
222+
- xarray=0.18.2=pyhd8ed1ab_0
218223
- xesmf=0.5.3=pyhd8ed1ab_0
219-
- xgcm=0.5.1=py_0
224+
- xgcm=0.5.2=pyhd8ed1ab_0
220225
- xorg-libxau=1.0.9=h7f98852_0
221226
- xorg-libxdmcp=1.1.3=h7f98852_0
222227
- xz=5.2.5=h516909a_1

binder/postBuild

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ mv binder/panelserverextension.py ${NB_PYTHON_PREFIX}/lib/python*/site-packages/
77
# enable panel extension
88
jupyter serverextension enable --sys-prefix panelserverextension
99
# Install the gridtools library
10-
pip install -e .
10+
pip install -q -e .

0 commit comments

Comments
 (0)