Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
612 commits
Select commit Hold shift + click to select a range
fec9064
Binning: update some other examples to use auto-binning
MuellerSeb Jan 14, 2021
02c416c
Binning: adjust examples in Readme to use auto binning
MuellerSeb Jan 14, 2021
f42ecb3
Tests: add auto-binning tests; check Error on directional latlon vari…
MuellerSeb Jan 14, 2021
8421007
Tests: test standard_bins
MuellerSeb Jan 14, 2021
5c41b84
Readme: minor fixes
MuellerSeb Jan 14, 2021
6b93469
Examples: eliminate removed mean-var from kriging examples
MuellerSeb Jan 14, 2021
85ed3f0
Fix some typos
LSchueler Jan 15, 2021
c71fd75
Binning: move chordal_to_great_circle to tools.geometric
MuellerSeb Jan 15, 2021
1deaf7d
Merge pull request #131 from GeoStat-Framework/binning
MuellerSeb Jan 15, 2021
d5e9195
README: badges from develop
MuellerSeb Jan 16, 2021
2bdf976
Field: add value_type to repr; remove redundant type check
MuellerSeb Jan 17, 2021
bef8381
CondSRF: call generator without adding nugget (done later)
MuellerSeb Jan 17, 2021
03396de
Examples: update dwd example to use wetterdienst 0.13
MuellerSeb Jan 22, 2021
e5b3d62
Fix some typos
LSchueler Jan 26, 2021
ecb3339
Replace pyvista 3d plot with matplotlib animation
LSchueler Jan 16, 2021
633bcc3
Update precip tutorial
LSchueler Jan 22, 2021
c76a346
Add readme to new example folder
LSchueler Jan 26, 2021
64c3b7a
Update precip tutorials
LSchueler Jan 26, 2021
d8b7582
Amend
LSchueler Jan 26, 2021
07ec46d
Examples: add PyVista/VTK example (#132)
MuellerSeb Jan 27, 2021
b7caa77
Krige: rename summation routines and add _summate method
MuellerSeb Jan 27, 2021
5ebcd90
Field: doc update
MuellerSeb Jan 27, 2021
10db0c6
Examples: rename csrf to cond_srf
MuellerSeb Jan 27, 2021
238c86e
Field: add Field to gstools.field
MuellerSeb Jan 27, 2021
0076880
Fix typo
LSchueler Jan 27, 2021
dedfdae
Merge pull request #130 from GeoStat-Framework/cond_srf
MuellerSeb Jan 27, 2021
eb10cd5
Merge pull request #136 from GeoStat-Framework/dwd_update
MuellerSeb Jan 27, 2021
3ccf703
Normalize: typo
MuellerSeb Jan 27, 2021
d584f71
merge develop
MuellerSeb Jan 27, 2021
086780a
Examples: blackenend
MuellerSeb Jan 27, 2021
e632ef5
Field: outsourcing helper functions
MuellerSeb Jan 28, 2021
a85ee97
Normalize: add name attribute to class
MuellerSeb Jan 28, 2021
98974b1
Tools: add eval_func to misc tools
MuellerSeb Jan 28, 2021
00257da
Field: add mean, normalizer, trend to Field class and refactoring
MuellerSeb Jan 28, 2021
999e0e1
Field: use field_dim in post_field
MuellerSeb Jan 28, 2021
c06294e
SRF: add normalizer and trend
MuellerSeb Jan 28, 2021
8446d9a
Krige: add normalizer and trend to base-class; refactoring; add fit_n…
MuellerSeb Jan 28, 2021
c396873
Krige: add normalizer and trend to methods (Detrended stays the same)
MuellerSeb Jan 28, 2021
185bc0c
Krige: remove moved routines
MuellerSeb Jan 28, 2021
9b8e782
Tests: change calling sequence in Kriging routines (trend was moved)
MuellerSeb Jan 28, 2021
4bacbbb
CondSRF: add support for normalizer and trend
MuellerSeb Jan 28, 2021
7835769
Docs: update docs accordingly
MuellerSeb Jan 28, 2021
6cda28f
Examples: fix call signature in ordinary kriging
MuellerSeb Jan 28, 2021
f626c02
Transform: better description to distinguish from normalizer
MuellerSeb Jan 29, 2021
19519b2
Normalizer: rename subpackage to 'normalizer'
MuellerSeb Jan 29, 2021
5d541b6
Tests: import fix for normalizer
MuellerSeb Jan 29, 2021
d5d2454
Examples: add first normalizer example
MuellerSeb Jan 29, 2021
ea759ac
Examples: update Normalizers
MuellerSeb Jan 29, 2021
2774899
Examples: use bullet points to describe mean, trend, normalizer
MuellerSeb Jan 29, 2021
ab3969a
CondSRF: bug fix for trend property
MuellerSeb Jan 29, 2021
db681d8
CondSRF: consequently forward properties to kriging class
MuellerSeb Jan 29, 2021
bbf19e7
Krige: fix external drift bug (when using ext+int drift); adding defa…
MuellerSeb Jan 29, 2021
5e169a5
Krige: add fit_variogram argument to automatically fit covmodel to gi…
MuellerSeb Jan 29, 2021
542c0cb
Krige: bugfix in ext_drift setting
MuellerSeb Jan 29, 2021
50dfe66
Krige: better doc for normalizer
MuellerSeb Jan 29, 2021
0fed22f
Docs: add normalizer tutorial to toctree
MuellerSeb Jan 29, 2021
1f93a8e
Examples: update normalizer readme
MuellerSeb Jan 29, 2021
788e87b
Examples: add second normalizer example on auto fitting
MuellerSeb Jan 29, 2021
e4a1be5
Examples: update auto-fit normalizer example
MuellerSeb Jan 29, 2021
96d4a07
Examples: update auto-fit normalizer example again
MuellerSeb Jan 29, 2021
9520b35
Examples: update auto-fit normalizer example again
MuellerSeb Jan 29, 2021
8b4e4c2
Examples: update auto-fit normalizer example again
MuellerSeb Jan 29, 2021
3ed157a
Examples: update auto-fit normalizer example again
MuellerSeb Jan 29, 2021
4936a84
Examples: update auto-fit variogram example
MuellerSeb Jan 29, 2021
ecbf937
DOC: update
MuellerSeb Jan 29, 2021
e6b7b48
Docs: update index
MuellerSeb Jan 29, 2021
6b9b535
README: link normalizer models
MuellerSeb Jan 29, 2021
f49b4da
README: fix link
MuellerSeb Jan 30, 2021
058f27b
Field: allow passing uninitialized Normalizer classes
MuellerSeb Jan 30, 2021
cbc305a
Tools: add eval_func to doc; minor fix
MuellerSeb Jan 30, 2021
b8572cd
Krige: get_mean respects normalizer now; set_condition better handles…
MuellerSeb Jan 30, 2021
44aaf72
Filed: fix normalizer setting with class
MuellerSeb Jan 30, 2021
bc3e893
Krige: 'get_mean' add switch to enable processing; fix kriging the mean
MuellerSeb Jan 30, 2021
83126c9
CondSRF: cleanup init; make krige a property
MuellerSeb Jan 30, 2021
0fa29df
Examples: minor updates in normalizer examples
MuellerSeb Jan 30, 2021
f3fc351
Krige: better handling of field-mean in kriging the mean
MuellerSeb Jan 31, 2021
f75ee1c
Field: better formatting of mean, normalizer and trend in repr
MuellerSeb Jan 31, 2021
46db911
Normalizer: ignore nan-data; add range check for data; better subclas…
MuellerSeb Feb 1, 2021
9092ef9
Docs: cleanup doc; Sphinx bugfixes (wrong refs)
MuellerSeb Feb 1, 2021
27a691b
Normalizer: add routines to add/remove mean-normalizer-trend
MuellerSeb Feb 2, 2021
614a6f8
Variogram: add mean, normalizer, trend and fit_normalizer to variogra…
MuellerSeb Feb 2, 2021
48ed439
Field: use apply_mean_normalizer_trend routine
MuellerSeb Feb 2, 2021
2c9dcd9
Doc: minor fix
MuellerSeb Feb 2, 2021
a9771ac
Normalizer: fix some wrong data ranges for negative lambdas
MuellerSeb Feb 2, 2021
7b7278d
Examples: add normalizer comparison example
MuellerSeb Feb 2, 2021
f305995
Examples: saver call of normalize_range
MuellerSeb Feb 2, 2021
9b55002
Field: add 'dim' property that's identical to model.field_dim
MuellerSeb Feb 5, 2021
99a9fb3
Add example of how to plot a 3d vector field
LSchueler Feb 12, 2021
7f53a7e
Update 3d vector example
LSchueler Feb 12, 2021
f8e6339
Fix readme examples
LSchueler Feb 12, 2021
9bb8daa
Field: allow vector valued mean/trend for vector valued fields
MuellerSeb Feb 12, 2021
56ec497
Field: bugfix in mesh method: transpose vector fields
MuellerSeb Feb 12, 2021
8fe2297
Merge branch 'develop' of github.com:GeoStat-Framework/GSTools into n…
MuellerSeb Feb 12, 2021
619f242
Examples: update 3D vector example to use mesh method
MuellerSeb Feb 12, 2021
2ba9e43
Field: fix repr of vector mean
MuellerSeb Feb 13, 2021
36ac370
CondSRF: simplify field saving; remove unneeded generator value type …
MuellerSeb Feb 22, 2021
d8059ff
Field: skip some string formatting routines in coverage
MuellerSeb Feb 22, 2021
79f7de4
Tools: skip corner case for mean from vector in coverage
MuellerSeb Feb 22, 2021
cf01e0d
VectorField: add test for vector mean
MuellerSeb Feb 22, 2021
12bfaa0
CovModel: remove redundant __ne__ method
MuellerSeb Feb 22, 2021
05eba49
Normalizer: add __eq__ magic method
MuellerSeb Feb 22, 2021
801b6c9
CondSRF: minor fix
MuellerSeb Feb 22, 2021
db02681
Tests: more CondSRF testing
MuellerSeb Feb 22, 2021
7f4af3c
Tests: test comparing normalizers
MuellerSeb Feb 22, 2021
79687ff
Tests: check autofitting normalizer
MuellerSeb Feb 22, 2021
63df1c0
Tests: check auto-init normalizers in krige
MuellerSeb Feb 22, 2021
3a3fd47
Tests: reduce places in comparison (normalizer autofit)
MuellerSeb Feb 22, 2021
3af20e0
Krige: better setting of drift_functions
MuellerSeb Feb 22, 2021
7dce305
Tests: test Error raise for wrong latlon input in vario estimate
MuellerSeb Feb 22, 2021
b1be332
Tests: krige: raise check; better check kriging the mean
MuellerSeb Feb 22, 2021
c6d711f
Krige: remove ext-drift deleter (confusing)
MuellerSeb Feb 22, 2021
5d16fd5
Tests: minor improvements
MuellerSeb Feb 22, 2021
a470040
Fix typos in docstrings and comments
LSchueler Mar 10, 2021
9a875fc
Normalizer: add _dx as class attribute
MuellerSeb Mar 13, 2021
8ac2194
Field: rename mesh_call to generate_on_mesh; minor doc fixes
MuellerSeb Mar 13, 2021
92600ab
BoxCox: (bugfix) use correct data range for lmbda<0
MuellerSeb Mar 13, 2021
bf37471
BoxCoxShift: (bugfix) use correct data range for lmbda<0
MuellerSeb Mar 13, 2021
4b12aed
Examples: change field size in Auto-fit example to prevent confusion …
MuellerSeb Mar 13, 2021
d240cec
Merge pull request #124 from GeoStat-Framework/normalizer
MuellerSeb Mar 13, 2021
3efb579
Field.plot: rework plotting in nD
MuellerSeb Mar 13, 2021
a57637c
Examples: use new plotting; simplify variogram estimation
MuellerSeb Mar 14, 2021
5383c57
Plot: better plotting in 2D; more plot control
MuellerSeb Mar 14, 2021
07c2e67
Plot: update some examples
MuellerSeb Mar 14, 2021
638f2bc
Plot: set contour_plot=True by default for 2D plots
MuellerSeb Mar 14, 2021
cb0bae1
Plot: change res. to 128; use default ticks; fix aspect bug for 'quad…
MuellerSeb Mar 16, 2021
d66613b
Merge pull request #141 from GeoStat-Framework/plotter_update
MuellerSeb Mar 16, 2021
ce43196
CHANGELOG: add missing infos from march 2021
MuellerSeb Mar 16, 2021
8ceeaeb
Merge branch 'develop' of github.com:GeoStat-Framework/GSTools into c…
MuellerSeb Mar 16, 2021
c2d1d01
CovModel: keep default opt args in line with the default bounds to ta…
MuellerSeb Mar 21, 2021
7180e87
CovModel.fit_variogram: allow dict for init_guess; set init for len_s…
MuellerSeb Mar 21, 2021
d6ad3d8
Test: update variogram auto-fit result for new init guess
MuellerSeb Mar 21, 2021
6ff4f79
CovModel.fit_variogram: check if init_guess for anis is in given bounds
MuellerSeb Mar 21, 2021
3f3a3ea
Merge pull request #145 from GeoStat-Framework/better_init_fit_vario
MuellerSeb Mar 22, 2021
fcf1fdd
CI: drop py35 build; use new cibuildwheel Github action workflow with…
MuellerSeb Mar 22, 2021
f78c179
Init: use ModuleNotFoundError to be more precise (not available in py35)
MuellerSeb Mar 22, 2021
d2bbee2
CovModel: remove py35 hack for metaclass
MuellerSeb Mar 22, 2021
9eb3626
Setup: remove py35 classifier
MuellerSeb Mar 22, 2021
16ff76f
covmodel.tools: remove InitSubclassMeta from docstring and __all__
MuellerSeb Mar 22, 2021
b7a58c4
CovModels: limit exponent shape parameters to 50 to prevent numerical…
MuellerSeb Mar 22, 2021
66047d6
Tests: remove tests with np.int which is a deprecated alias for built…
MuellerSeb Mar 22, 2021
b7c8d9c
CI: build wheels with updated versions of numpy and cython
MuellerSeb Mar 23, 2021
45f47eb
CI: pin version for pypi gh-action
MuellerSeb Mar 23, 2021
94aa49a
Merge pull request #147 from GeoStat-Framework/covmodel_arg_bounds_fix
MuellerSeb Mar 23, 2021
412d56a
Merge branch 'develop' into drop_py35
MuellerSeb Mar 23, 2021
cf70af8
CovModel: remove redundant metaclass; __init_subclass__ was added in …
MuellerSeb Mar 23, 2021
7fac588
covmodel.tools: use f-strings
MuellerSeb Mar 23, 2021
e619ca1
covmodel: use f-strings; add trailing commas for **kwargs
MuellerSeb Mar 23, 2021
22fe2e6
covmodel: f-strings everywhere
MuellerSeb Mar 23, 2021
efab281
field: use f-strings; minor fixes
MuellerSeb Mar 23, 2021
51a4be0
normalizer: use f-strings
MuellerSeb Mar 23, 2021
9f2cb27
random: use f-strings
MuellerSeb Mar 23, 2021
4d60c75
tools: use f-strings
MuellerSeb Mar 23, 2021
5b86634
variogram: use f-strings
MuellerSeb Mar 23, 2021
4e28a4a
Merge pull request #146 from GeoStat-Framework/drop_py35
MuellerSeb Mar 26, 2021
ae2f672
Merge pull request #148 from GeoStat-Framework/fix_deprecation_warn_n…
MuellerSeb Mar 26, 2021
e261a9b
CovModel: para-range update
MuellerSeb Mar 29, 2021
21b1e75
Convenience: rename gen_mesh to generate_grid; add generate_st_grid f…
MuellerSeb Mar 29, 2021
485cb83
Tests: test generate_grid routines
MuellerSeb Mar 29, 2021
062552a
Examples: use generate_grid routine
MuellerSeb Mar 29, 2021
9e2f599
Models: update references
MuellerSeb Mar 29, 2021
096ce3a
TPLModels: update references
MuellerSeb Mar 29, 2021
f9d398e
DOC: add more references
MuellerSeb Mar 29, 2021
e08b214
Doc: no cites in headlines
MuellerSeb Mar 29, 2021
0e403f5
Doc: names in Zenodo order wit h umlauts
MuellerSeb Mar 29, 2021
f553c42
Krige: add Krige class to top level
MuellerSeb Mar 29, 2021
6c60ce0
Examples: update cond srf readme and add 2d example
MuellerSeb Mar 29, 2021
97a1f1f
Examples: update readmes of spatio-temporal; cond_srf; normalizer
MuellerSeb Mar 29, 2021
b4fad7a
Doc: fix rst errors
MuellerSeb Mar 29, 2021
8e3401d
Examples: update spatio-temporal readme
MuellerSeb Mar 29, 2021
cdcbf0b
Examples: remove ignored show_colorbar argument
MuellerSeb Mar 29, 2021
a6b8077
Examples: remove Linear model from comparison, since it's not suitabl…
MuellerSeb Mar 29, 2021
955edd8
Doc: add changelog to doc
MuellerSeb Mar 30, 2021
97a8683
Fix typos
LSchueler Apr 5, 2021
3b993b1
Doc: better bib identifier
MuellerSeb Apr 5, 2021
1386520
Doc: no utf8 in bib labels
MuellerSeb Apr 5, 2021
6fb888a
Merge pull request #149 from GeoStat-Framework/doc_update
MuellerSeb Apr 5, 2021
107b554
Setup: update test req
MuellerSeb Apr 6, 2021
22324f6
Setup: remove cfg redundant setup.cfg
MuellerSeb Apr 6, 2021
d550b22
Setup: add pyproject.toml: move setup req there, config black there, …
MuellerSeb Apr 6, 2021
c6e744f
Setup: update manifest
MuellerSeb Apr 6, 2021
1829d49
Setup: MANIFEST.in from scikit-hep.org
MuellerSeb Apr 6, 2021
65a539d
Setup: specify rtd config and use pip there to install gstools
MuellerSeb Apr 6, 2021
cac8c4e
Setup: reformat pyproject.toml
MuellerSeb Apr 6, 2021
04fda38
Setup: rework usage of req. files
MuellerSeb Apr 6, 2021
6170735
Setup: remove the openmp arg hack and use an env-var
MuellerSeb Apr 6, 2021
dd88046
Setup: reuse req file for sdist creation for now
MuellerSeb Apr 6, 2021
3792326
Setup: RTD config typo
MuellerSeb Apr 6, 2021
09f66be
Setup: editable build in CI to use local files for pytest
MuellerSeb Apr 6, 2021
8afe474
Setup: pip in CI should be less verbose (dep-tree is spamming)
MuellerSeb Apr 6, 2021
6d4bcbc
Setup: RTD build added line-breaks (fix attempt)
MuellerSeb Apr 6, 2021
b9b8e71
Doc: add doc about new way to build parallel version
MuellerSeb Apr 6, 2021
d9320e8
Setup: only include py and pyx files from gstools in sdist
MuellerSeb Apr 6, 2021
912efde
Setup: RTD with system packages as before
MuellerSeb Apr 6, 2021
90c80e8
Setup: RTD pin req versions
MuellerSeb Apr 6, 2021
1a20c1a
Setup: be more specific about req versions
MuellerSeb Apr 6, 2021
dd541de
Setup: explicitly install req for RTD
MuellerSeb Apr 6, 2021
165ec53
Setup: use build req from pyproject.toml in CI with CIBW
MuellerSeb Apr 6, 2021
c9baff5
CI: test 'build' pypa package to build sdist
MuellerSeb Apr 6, 2021
f8b5b4a
Setup: yepp, use build for pep517 conform sdist builds
MuellerSeb Apr 6, 2021
f22695d
CI: add black format check stage
MuellerSeb Apr 6, 2021
cfaa547
CI: use [test] options defined in setup.py for CIBW
MuellerSeb Apr 6, 2021
6a132ad
Setup: remove setup req file again, since sdist ist build pep517 conf…
MuellerSeb Apr 6, 2021
392fd4e
Setup: remove req files and use setup.cfg for all configs beside cyth…
MuellerSeb Apr 7, 2021
46b085d
Setup: minor fix for sdist check (attempt 1)
MuellerSeb Apr 7, 2021
b26de24
Merge pull request #154 from GeoStat-Framework/add_pyproject
MuellerSeb Apr 7, 2021
4aaf0cf
Merge branch 'develop' of github.com:GeoStat-Framework/GSTools into c…
MuellerSeb Apr 7, 2021
7aff7a7
AUTHORS: unify Athor links
MuellerSeb Apr 7, 2021
503f5e3
Changelog: add recent development; add correct links to externals, co…
MuellerSeb Apr 7, 2021
cbfbcf4
Changelog: 1.3 will be released in april
MuellerSeb Apr 7, 2021
1ed67c8
Merge pull request #127 from GeoStat-Framework/changelog
MuellerSeb Apr 7, 2021
f21d424
sdist: only include necessary files and tests (no doc)
MuellerSeb Apr 7, 2021
c23381d
Merge pull request #155 from GeoStat-Framework/sdist_fix
MuellerSeb Apr 7, 2021
ef864c3
CovModel: allow setting of rescale
MuellerSeb Apr 8, 2021
675b395
CovModel: always convert var and nugget to float
MuellerSeb Apr 8, 2021
efc0287
CovModel: better printing repr; include rescale; only print anis and …
MuellerSeb Apr 8, 2021
14451e0
CovModel: update Changelog
MuellerSeb Apr 8, 2021
295af50
CovModel: fully use f-string for model repr string and add precision …
MuellerSeb Apr 8, 2021
79e7b60
Merge pull request #157 from GeoStat-Framework/covmodel_arg_bugfix
MuellerSeb Apr 8, 2021
93cbda4
pylint: ignore missing members in Normalizers
MuellerSeb Apr 8, 2021
6f6a275
pylint: prevent cyclic imports in Normalizers
MuellerSeb Apr 8, 2021
a5ed736
pylint: prevent cyclic imports in plotting routines
MuellerSeb Apr 8, 2021
fdbfff6
pylint: ignore methods with no-self-use
MuellerSeb Apr 8, 2021
44ce0a3
pylint: field.base minor fixes
MuellerSeb Apr 8, 2021
cea1d97
pylint: fix: Redefining name 'plot_field' from outer scope
MuellerSeb Apr 8, 2021
3987ec1
pylint: handle pylint warnings in gstools.field
MuellerSeb Apr 8, 2021
17db6fd
pylint: handle pylint warnings in gstools.tools
MuellerSeb Apr 8, 2021
f364239
pylint: handle pylint warnings in gstools.random
MuellerSeb Apr 8, 2021
a7a5966
pylint: handle pylint warnings in gstools.covmodel
MuellerSeb Apr 8, 2021
69f7292
pylint: handle pylint warnings in gstools.krige
MuellerSeb Apr 8, 2021
8145043
covmodel.plot: defer matplotlib import
MuellerSeb Apr 8, 2021
4f19762
pylint: ignore Convexhull false alarm from pylint
MuellerSeb Apr 8, 2021
98457c4
pylint: add CI stage
MuellerSeb Apr 8, 2021
422ff27
pylint: install gstools for pylint check in CI
MuellerSeb Apr 8, 2021
0d67e5d
pylint: put mpl import in try-block
MuellerSeb Apr 8, 2021
e41f1fd
get_fig_ax: doc update
MuellerSeb Apr 8, 2021
ddb5244
pylint: config cleanup
MuellerSeb Apr 8, 2021
d18158a
pylint: add changelog entry
MuellerSeb Apr 8, 2021
8479258
pylint: fix was in wrong section in changlog; minor formatting fixes …
MuellerSeb Apr 9, 2021
bac1444
Krige: use same pseudo_inv_type options as pykrige
MuellerSeb Apr 11, 2021
c3fbc3d
Krige: set 'pinv' as pseudo_inv_type default in all methods
MuellerSeb Apr 11, 2021
7ea7054
PyKrige: update interface example
MuellerSeb Apr 12, 2021
b667e17
PyKrige: update interface example again
MuellerSeb Apr 12, 2021
0014d51
fit_normalizer: return fitted normalizer in 'remove_trend_norm_mean' …
MuellerSeb Apr 12, 2021
1cbc516
vario_estimate: more details on returns
MuellerSeb Apr 12, 2021
fe9b745
Merge pull request #162 from GeoStat-Framework/variogram_normalizer_r…
MuellerSeb Apr 13, 2021
773c538
Merge pull request #160 from GeoStat-Framework/pykrige_compat
MuellerSeb Apr 13, 2021
71f10c6
PyLint: unify pylint comments
MuellerSeb Apr 13, 2021
854fdb0
PyLint: add section about PyLint in CONTRIBUTING.md
MuellerSeb Apr 13, 2021
b50e3e3
fit_variogram: 'full_output' only valid input for method 'lm' which i…
MuellerSeb Apr 14, 2021
89c3794
Merge pull request #159 from GeoStat-Framework/pylint_fixes
MuellerSeb Apr 14, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions .coveragerc

This file was deleted.

141 changes: 141 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
name: Continuous Integration

on:
push:
branches:
- "master"
- "develop"
tags:
- "*"
pull_request:
branches:
- "develop"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
source_check:
name: source check
runs-on: ubuntu-latest
strategy:
fail-fast: false

steps:
- uses: actions/checkout@v2

- name: Set up Python 3.8
uses: actions\setup-python@v2
with:
python-version: 3.8

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install black pylint
pip install --editable .

- name: black check
run: |
python -m black --check .

- name: pylint check
run: |
python -m pylint gstools/

build_wheels:
name: wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- uses: actions/checkout@v2
with:
fetch-depth: '0'

- name: Build wheels
uses: joerick/cibuildwheel@v1.10.0
env:
CIBW_BUILD: cp36-* cp37-* cp38-* cp39-*
CIBW_TEST_EXTRAS: test
CIBW_TEST_COMMAND: pytest -v {project}/tests
with:
output-dir: dist

- uses: actions/upload-artifact@v2
with:
path: ./dist/*.whl

build_sdist:
name: sdist on ${{ matrix.os }} with py ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: [3.6, 3.7, 3.8, 3.9]

steps:
- uses: actions/checkout@v2
with:
fetch-depth: '0'

- name: Set up Python ${{ matrix.python-version }}
uses: actions\setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
env:
GSTOOLS_BUILD_PARALLEL: 1
run: |
python -m pip install --upgrade pip
pip install build coveralls>=3.0.0
pip install --editable .[test]

- name: Run tests
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
python -m pytest --cov gstools --cov-report term-missing -v tests/
python -m coveralls --service=github

- name: Build sdist
run: |
# PEP 517 package builder from pypa
python -m build --sdist --outdir dist .

- uses: actions/upload-artifact@v2
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.9'
with:
path: dist/*.tar.gz

upload_to_pypi:
needs: [build_wheels, build_sdist]
runs-on: ubuntu-latest

steps:
- uses: actions/download-artifact@v2
with:
name: artifact
path: dist

- name: Publish to Test PyPI
# only if working on master or develop
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop'
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.test_pypi_password }}
repository_url: https://test.pypi.org/legacy/
skip_existing: true

- name: Publish to PyPI
# only if tagged
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.pypi_password }}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ info/
*.c
*.cpp

# generated version file
gstools/_version.py

# generated docs
docs/source/examples/
Expand All @@ -123,3 +125,4 @@ docs/source/generated/

*.vtu
*.vtr
*.vtk
14 changes: 14 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
version: 2

sphinx:
configuration: docs/source/conf.py

formats: all

python:
version: 3.7
install:
- method: pip
path: .
extra_requirements:
- doc
100 changes: 0 additions & 100 deletions .travis.yml

This file was deleted.

7 changes: 4 additions & 3 deletions AUTHORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ and was created by following people.

## Main Authors

- [Lennart Schüler](https://github.com/LSchueler), Email: <lennart@geostat-framework.org>
- [Sebastian Müller](https://github.com/MuellerSeb), Email: <sebastian@geostat-framework.org>
- Sebastian Müller, GitHub: [@MuellerSeb](https://github.com/MuellerSeb), Email: <sebastian@geostat-framework.org>
- Lennart Schüler, GitHub: [@LSchueler](https://github.com/LSchueler), Email: <lennart@geostat-framework.org>


## Contributors (in order of contributions)

- Falk Heße, Email: <falk.hesse@ufz.de>
- Falk Heße, GitHub: [@fhesze](https://github.com/fhesze), Email: <falk.hesse@ufz.de>
- Bane Sullivan, GitHub: [@banesullivan](https://github.com/banesullivan)
- Tobias Glaubach, GitHub: [@TobiasGlaubach](https://github.com/TobiasGlaubach)
Loading