Skip to content

Commit 5553ad8

Browse files
committed
Next steps for release 0.3.0
1 parent c80cfaa commit 5553ad8

File tree

8 files changed

+73
-30
lines changed

8 files changed

+73
-30
lines changed

conda/slow_bootstrap.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Use this technique to slowly bootstrap
2-
# an environment.
2+
# an environment.
33
# conda create -y -q -n gridTools python==3.7.10
44
# conda activate gridTools
55
conda install -q -y geoviews=1.9.1

docs/development/CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
# Changelog
22

3+
# 2021-07-10
4+
5+
- Working through deployment checklist.
6+
37
# 2021-07-09
48

5-
- For UAF/chinook with old glibc, it is best to bootstrap with python and
9+
- For UAF/chinook with old glibc, it is best to bootstrap with python and
610
geoviews up front and then load all the other packages. All examples
711
and editors work.
812

docs/development/ImportantReferences.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,3 +155,11 @@
155155

156156
* ParaView
157157
* https://www.paraview.org/gallery/
158+
159+
* Julia: https://julialang.org/
160+
- faster and interchangeable between python and julia and julia and python
161+
- already integrated into the jupyter notebook framework
162+
163+
* Pyston: https://github.com/pyston/pyston
164+
- 30% speed improvement over Python
165+

docs/development/TODO.md

Lines changed: 9 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@
2828

2929
# BUGS
3030

31-
- [ ] latitude is not reliably reproduced between platforms; other
32-
fields show reproducibility.
31+
- [ ] Investigate reliably of produced grids between platforms
3332
- [ ] A nested dictionary will clobber other nested elements instead
3433
of updating elements. Recode `setPlotParameters` and
3534
`setGridParameters` to recursively update dictionary elements.
@@ -67,7 +66,7 @@
6766
- [X] convert lon [+0,+360] to [-180,+180]
6867
- [ ] Unify code that adjusts lon (PR#1)
6968
- [ ] Verify unification of radius (R) throughout code
70-
- [ ] grid mask editor (land, etc)
69+
- [ ] grid mask editor (ocean, etc)
7170
- [X] needs upgrade from basemap()
7271
- [X] create an editor that works in jupyter
7372
- [ ] add routines for mask checking
@@ -79,7 +78,7 @@
7978
- [ ] show outline of full grid
8079
- [ ] show other underlying fields - topo?
8180
- [ ] ROMS: write edited mask
82-
- [ ] MOM6: write edited mask
81+
- [X] MOM6: write edited mask
8382
- [ ] ipython --pylab
8483
- [ ] MOM6: Obey `MASKING_DEPTH`, `MINIMUM_DEPTH`, `ALLOW_LANDMASK_CHANGES`,
8584
`MAXIMUM_DEPTH`, `TOPO_EDITS_FILE` MOM6/src/initialization parameters
@@ -89,6 +88,7 @@
8988
- [ ] grids.roms.ROMS_gridinfo._get_grid_info()
9089
- [ ] show other underlying fields - topo?
9190
- [ ] MOM6: write edited mask
91+
- [X] ROMS: write edited mask
9292
- [ ] integration of data sources
9393
- [ ] generic regridder for creating boundary files (OBCs) from data sources
9494
- [ ] xesmf regridder for bathymetry sources
@@ -112,13 +112,9 @@
112112
- [ ] Implement `TOPO_EDITS_FILE` in bathytools.applyExistingLandMask()
113113
- [ ] Implement `TOPO_EDITS_FILE` in bathytools.applyExistingOceanMask()
114114
- [ ] Check depth points for values that exceed `MAXIMUM_DEPTH`
115-
- [ ] improve reproducibility
116-
- [X] include a dump of conda environment in the grid file (nc)
117-
- [X] add sha256 to grid and variable arrays
118-
- [ ] if conda environment does not exist, do some other snooping
119115
- [ ] Add option to use numpypi package (Alistair) as a configurable
120116
option in gridtools
121-
- [X] add datashader and numpypi from github sources; see postBuild script
117+
- [X] add xesmf and numpypi from github sources; see postBuild script
122118
- [ ] implement and document in application
123119
- [ ] implement and document for programming use
124120
- [ ] on load of a grid into gridtool library
@@ -217,11 +213,10 @@
217213
- [ ] Try ETOPO2
218214
- REF: https://data1.gfdl.noaa.gov/~arl/pubrel/r/mom4p1/src/mom4p1/doc/mosaic_tool.html
219215
- REF: https://github.com/NOAA-GFDL/FRE-NCtools/issues/35
220-
- [ ] Investigate the differences between FRE-NCtools vs gridutils. Are
221-
there things that we could use there instead of recreating many wheels.
222-
There are lot of FRE-NCtool references in the ROMS to MOM6
223-
conversion tool.
224-
- [ ] Migrate to use of file:// or http://, https:// for file specifications.
216+
- [ ] Investigate the differences between FRE-NCtools vs gridutils. Are
217+
there things that we could use there instead of recreating many wheels.
218+
There are lot of FRE-NCtool references in the ROMS to MOM6
219+
conversion tool.
225220
- [ ] Allow gridtools to continue to operate with some disabled
226221
routines that use xesmf.
227222
- [ ] app:Save remote files; additional sanity checks
@@ -297,11 +292,3 @@
297292

298293
- [ ] ntiles,1 is written in `write_MOM6_topography_file`, is this
299294
required for MOM6?
300-
301-
# FOLLOWING
302-
303-
- [ ] julia: https://julialang.org/
304-
- faster and interchangeable between python and julia and julia and python
305-
- already integrated into the jupyter notebook framework
306-
- [ ] pyston: https://github.com/pyston/pyston
307-
- 30% speed improvement over Python

docs/development/archive/0.2.0.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Retired TODO and Milestones
22

33
## Release 0.2.0
4-
* TBD
5-
* June XX, 2021
4+
* https://github.com/ESMG/gridtools/commit/9c1c9fd89808cbe9481b3c4335119a7c93827e68
5+
* June 22, 2021
66

77
### Milestones
88

docs/development/archive/0.3.0.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Retired TODO and Milestones
2+
3+
## Release 0.3.0
4+
* https://github.com/ESMG/gridtools/commit/....
5+
* July xx, 2021
6+
7+
### Milestones
8+
9+
- [X] Release 0.3
10+
- [X] Jupyter version of mask editor
11+
- [X] Improve mask editor speed for each click using adaptive subgrids
12+
- [X] Apply edited land or ocean mask to existing bathy grid
13+
- [X] Rewrite mosaic files based on new bathymetry
14+
15+
### TODOs
16+
17+
- [X] pylab: write edited ROMS grid
18+
- [X] jupyter: write edited MOM6 grid
19+
- [X] option to create ocean mask fraction
20+
- [X] improved netcdf metadata software descriptions
21+
- [X] include a dump of conda environment in the grid file (nc)
22+
- [X] add sha256 to grid and variable arrays
23+
- [X] if conda environment does not exist, do some other snooping
24+
25+
### BUGS
26+

docs/development/releases/0.3.0.md

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Minor updates after tag: `a9f9a893d003e9e7b2a0b66ddb7cdaedc0c2668c`
77

88
# Checklist
99

10-
- [ ] Operating system checks
10+
- [X] Operating system checks
1111
- [X] `x86_64`: Ubuntu 20.04.2 LTS (64 GB)
1212
- [ ] `x86_64`: Ubuntu 20.04.2 LTS (12 GB VM)
1313
- [X] `aarch64`: Raspberry Pi 4 (8 GB)
@@ -24,8 +24,8 @@ Minor updates after tag: `a9f9a893d003e9e7b2a0b66ddb7cdaedc0c2668c`
2424
with `conda/gridTools_export-linux-64.yml`
2525
- [X] Ensure release/version is properly updated in `gridtools/__init__.py`
2626
- [X] Modify any test CI Github Actions
27-
- [ ] Update any tests performed by pytest
28-
- [ ] Update TODOs.md
27+
- [X] Update any tests performed by pytest
28+
- [X] Update TODOs.md
2929
- [ ] After submission of PR
3030
- [ ] Review commit as necessary
3131
- [ ] Verify CI/Actions pass
@@ -42,4 +42,22 @@ Minor updates after tag: `a9f9a893d003e9e7b2a0b66ddb7cdaedc0c2668c`
4242

4343
# General Release Notes
4444

45+
- Add application hooks for jupyter and ipylab grid mask editors
46+
- Port ROMS grid editor to gridtools using pylab
47+
- Initial creation of MOM6 grid editor in Jupyter
48+
- Edited ocean mask can be applied to existing grids
49+
- Mosaic files can be rewritten with modified grids
50+
- Experimenting artifacts on github Actions
51+
- Use a platform specific export yml file
52+
- Need to use a RTD specific yml file
53+
- Provide additional options for loading the gridTools
54+
environment using conda
55+
- Update extra short cut keys for jupyter.
56+
- Add more descriptions to README.md in examples
57+
- Add more default options to examples
58+
- Renumber exmaples so they are more `ls` friendly
59+
- Consolidate creation of hashes using a single function
60+
4561
# Bug Fixes
62+
63+
- Fix a couple examples to catch up with API changes

gridtools/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1065,7 +1065,7 @@ def great_circle(self, lon1, lat1, lon2, lat2):
10651065
return dist
10661066

10671067
def plotMap(self, x, y):
1068-
1068+
10691069
self.lon = x
10701070
self.lat = y
10711071

0 commit comments

Comments
 (0)