Skip to content

Commit de95f38

Browse files
committed
Merge branch 'release/1.1.0'
2 parents ded44c4 + 80c057f commit de95f38

142 files changed

Lines changed: 1420 additions & 6788 deletions

File tree

Some content is hidden

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

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.nc filter=lfs diff=lfs merge=lfs -text

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,12 @@ doc/source/savefig/plotting_example.png
1313
doc/source/generated/
1414
**/__pycache__
1515
**/*.pyc
16+
doc/source/_static/*png
17+
doc/source/_static/movie.**
18+
**/compile.sh
19+
20+
doc/_build
21+
doc/generated
22+
doc/_static/map*png
23+
doc/_static/temp*png
24+
doc/_static/*ogg

.vscode/settings.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"esbonio.sphinx.confDir": "${workspaceFolder}/doc",
3+
"esbonio.sphinx.buildDir": "${confDir}/_build",
4+
}

.zenodo.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"title": "Ichthyop Python package",
3+
"notes": "If you use this software, please cite it as below.",
4+
"creators": [
5+
{
6+
"name": "Barrier, Nicolas",
7+
"orcid": "0000-0002-1693-4719"
8+
},
9+
{
10+
"name": "Lett, Christophe",
11+
"orcid": "0000-0001-5809-2452"
12+
}
13+
],
14+
"communities": [
15+
{
16+
"identifier": "ichthyop"
17+
},
18+
{
19+
"identifier": "umr-marbec"
20+
}
21+
]
22+
}

CITATION.cff

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
cff-version: 1.1.0
2+
message: "If you use this software, please cite it as below."
3+
authors:
4+
- family-names: Barrier
5+
given-names: Nicolas
6+
orcid: https://orcid.org/0000-0002-1693-4719
7+
- family-names: Lett
8+
given-names: Christophe
9+
orcid: https://orcid.org/0000-0001-5809-2452
10+
11+
title: Ichthyop Python package
12+
version: 1.0.2
13+
date-released: 2023-02-28
14+
doi: 10.5281/zenodo.4109869

README.md

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

1313
Ichthyop (http://ichthyop.org/) is a free Java tool designed to study the effects of physical and biological factors on ichthyoplankton dynamics (code available [here](https://github.com/ichthyop/ichthyop)).
1414

15-
This python package is dedicated to the analysis of Ichthyop's outputs.
15+
This python package is dedicated to the analysis of Ichthyop's outputs.
1616
- Plots trajectories (as a function of time, depth, etc.)
1717
- Make animations
1818
- Connectivity calculations

RELEASE.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Release notes for Ichthyop python
2+
3+
## Version 1.0.2
4+
5+
### Bug fix
6+
7+
- Correction in the use of the `cftime` library (no more `utime` variable)
8+
9+
## Version 1.0.1
10+
11+
### New features
12+
13+
- Adding DOI badge
14+
15+
## Version 1.0.0
16+
17+
- First commit

doc/Makefile

Lines changed: 14 additions & 221 deletions
Original file line numberDiff line numberDiff line change
@@ -1,227 +1,20 @@
1-
# Makefile for Sphinx documentation
1+
# Minimal makefile for Sphinx documentation
22
#
33

4-
# You can set these variables from the command line.
5-
SPHINXOPTS =
6-
SPHINXBUILD = sphinx-build
7-
PAPER =
8-
BUILDDIR = build
4+
# You can set these variables from the command line, and also
5+
# from the environment for the first two.
6+
SPHINXOPTS ?=
7+
SPHINXBUILD ?= sphinx-build
8+
SOURCEDIR = .
9+
BUILDDIR = _build
910

10-
# Internal variables.
11-
PAPEROPT_a4 = -D latex_paper_size=a4
12-
PAPEROPT_letter = -D latex_paper_size=letter
13-
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source
14-
# the i18n builder cannot share the environment and doctrees with the others
15-
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source
16-
17-
.PHONY: help
11+
# Put it first so that "make" without argument is like "make help".
1812
help:
19-
@echo "Please use \`make <target>' where <target> is one of"
20-
@echo " html to make standalone HTML files"
21-
@echo " dirhtml to make HTML files named index.html in directories"
22-
@echo " singlehtml to make a single large HTML file"
23-
@echo " pickle to make pickle files"
24-
@echo " json to make JSON files"
25-
@echo " htmlhelp to make HTML files and a HTML help project"
26-
@echo " qthelp to make HTML files and a qthelp project"
27-
@echo " applehelp to make an Apple Help Book"
28-
@echo " devhelp to make HTML files and a Devhelp project"
29-
@echo " epub to make an epub"
30-
@echo " epub3 to make an epub3"
31-
@echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
32-
@echo " latexpdf to make LaTeX files and run them through pdflatex"
33-
@echo " latexpdfja to make LaTeX files and run them through platex/dvipdfmx"
34-
@echo " text to make text files"
35-
@echo " man to make manual pages"
36-
@echo " texinfo to make Texinfo files"
37-
@echo " info to make Texinfo files and run them through makeinfo"
38-
@echo " gettext to make PO message catalogs"
39-
@echo " changes to make an overview of all changed/added/deprecated items"
40-
@echo " xml to make Docutils-native XML files"
41-
@echo " pseudoxml to make pseudoxml-XML files for display purposes"
42-
@echo " linkcheck to check all external links for integrity"
43-
@echo " doctest to run all doctests embedded in the documentation (if enabled)"
44-
@echo " coverage to run coverage check of the documentation (if enabled)"
45-
@echo " dummy to check syntax errors of document sources"
46-
47-
.PHONY: clean
48-
clean:
49-
rm -rf $(BUILDDIR)/*
50-
rm -rfv source/generated
51-
rm -rfv source/savefig
52-
53-
.PHONY: html
54-
html:
55-
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
56-
@echo
57-
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
58-
59-
.PHONY: dirhtml
60-
dirhtml:
61-
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
62-
@echo
63-
@echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
64-
65-
.PHONY: singlehtml
66-
singlehtml:
67-
$(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
68-
@echo
69-
@echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
70-
71-
.PHONY: pickle
72-
pickle:
73-
$(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
74-
@echo
75-
@echo "Build finished; now you can process the pickle files."
76-
77-
.PHONY: json
78-
json:
79-
$(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
80-
@echo
81-
@echo "Build finished; now you can process the JSON files."
82-
83-
.PHONY: htmlhelp
84-
htmlhelp:
85-
$(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
86-
@echo
87-
@echo "Build finished; now you can run HTML Help Workshop with the" \
88-
".hhp project file in $(BUILDDIR)/htmlhelp."
89-
90-
.PHONY: qthelp
91-
qthelp:
92-
$(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
93-
@echo
94-
@echo "Build finished; now you can run "qcollectiongenerator" with the" \
95-
".qhcp project file in $(BUILDDIR)/qthelp, like this:"
96-
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/pyichthyop.qhcp"
97-
@echo "To view the help file:"
98-
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/pyichthyop.qhc"
99-
100-
.PHONY: applehelp
101-
applehelp:
102-
$(SPHINXBUILD) -b applehelp $(ALLSPHINXOPTS) $(BUILDDIR)/applehelp
103-
@echo
104-
@echo "Build finished. The help book is in $(BUILDDIR)/applehelp."
105-
@echo "N.B. You won't be able to view it unless you put it in" \
106-
"~/Library/Documentation/Help or install it in your application" \
107-
"bundle."
108-
109-
.PHONY: devhelp
110-
devhelp:
111-
$(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
112-
@echo
113-
@echo "Build finished."
114-
@echo "To view the help file:"
115-
@echo "# mkdir -p $$HOME/.local/share/devhelp/pyichthyop"
116-
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/pyichthyop"
117-
@echo "# devhelp"
118-
119-
.PHONY: epub
120-
epub:
121-
$(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
122-
@echo
123-
@echo "Build finished. The epub file is in $(BUILDDIR)/epub."
124-
125-
.PHONY: epub3
126-
epub3:
127-
$(SPHINXBUILD) -b epub3 $(ALLSPHINXOPTS) $(BUILDDIR)/epub3
128-
@echo
129-
@echo "Build finished. The epub3 file is in $(BUILDDIR)/epub3."
130-
131-
.PHONY: latex
132-
latex:
133-
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
134-
@echo
135-
@echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
136-
@echo "Run \`make' in that directory to run these through (pdf)latex" \
137-
"(use \`make latexpdf' here to do that automatically)."
138-
139-
.PHONY: latexpdf
140-
latexpdf:
141-
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
142-
@echo "Running LaTeX files through pdflatex..."
143-
$(MAKE) -C $(BUILDDIR)/latex all-pdf
144-
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
145-
146-
.PHONY: latexpdfja
147-
latexpdfja:
148-
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
149-
@echo "Running LaTeX files through platex and dvipdfmx..."
150-
$(MAKE) -C $(BUILDDIR)/latex all-pdf-ja
151-
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
152-
153-
.PHONY: text
154-
text:
155-
$(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
156-
@echo
157-
@echo "Build finished. The text files are in $(BUILDDIR)/text."
158-
159-
.PHONY: man
160-
man:
161-
$(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
162-
@echo
163-
@echo "Build finished. The manual pages are in $(BUILDDIR)/man."
164-
165-
.PHONY: texinfo
166-
texinfo:
167-
$(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
168-
@echo
169-
@echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo."
170-
@echo "Run \`make' in that directory to run these through makeinfo" \
171-
"(use \`make info' here to do that automatically)."
172-
173-
.PHONY: info
174-
info:
175-
$(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
176-
@echo "Running Texinfo files through makeinfo..."
177-
make -C $(BUILDDIR)/texinfo info
178-
@echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo."
179-
180-
.PHONY: gettext
181-
gettext:
182-
$(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale
183-
@echo
184-
@echo "Build finished. The message catalogs are in $(BUILDDIR)/locale."
185-
186-
.PHONY: changes
187-
changes:
188-
$(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
189-
@echo
190-
@echo "The overview file is in $(BUILDDIR)/changes."
191-
192-
.PHONY: linkcheck
193-
linkcheck:
194-
$(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
195-
@echo
196-
@echo "Link check complete; look for any errors in the above output " \
197-
"or in $(BUILDDIR)/linkcheck/output.txt."
198-
199-
.PHONY: doctest
200-
doctest:
201-
$(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
202-
@echo "Testing of doctests in the sources finished, look at the " \
203-
"results in $(BUILDDIR)/doctest/output.txt."
204-
205-
.PHONY: coverage
206-
coverage:
207-
$(SPHINXBUILD) -b coverage $(ALLSPHINXOPTS) $(BUILDDIR)/coverage
208-
@echo "Testing of coverage in the sources finished, look at the " \
209-
"results in $(BUILDDIR)/coverage/python.txt."
210-
211-
.PHONY: xml
212-
xml:
213-
$(SPHINXBUILD) -b xml $(ALLSPHINXOPTS) $(BUILDDIR)/xml
214-
@echo
215-
@echo "Build finished. The XML files are in $(BUILDDIR)/xml."
13+
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
21614

217-
.PHONY: pseudoxml
218-
pseudoxml:
219-
$(SPHINXBUILD) -b pseudoxml $(ALLSPHINXOPTS) $(BUILDDIR)/pseudoxml
220-
@echo
221-
@echo "Build finished. The pseudo-XML files are in $(BUILDDIR)/pseudoxml."
15+
.PHONY: help Makefile
22216

223-
.PHONY: dummy
224-
dummy:
225-
$(SPHINXBUILD) -b dummy $(ALLSPHINXOPTS) $(BUILDDIR)/dummy
226-
@echo
227-
@echo "Build finished. Dummy builder generates no files."
17+
# Catch-all target: route all unknown targets to Sphinx using the new
18+
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
19+
%: Makefile
20+
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

doc/_static/biblio.bib

Whitespace-only changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import ichthyop.plot as ichplot
33
import pylab as plt
44

5-
filename = 'source/_static/ichthyop-example.nc'
5+
filename = '_static/ichthyop-example.nc'
66
#filename = '../_static/ichthyop-example.nc'
77

88
# extracts the trajectories of drifters numbers with a step of 1000

0 commit comments

Comments
 (0)