-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
56 changed files
with
2,837 additions
and
1,678 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
|
||
.idea/ | ||
venv/ | ||
/.pytest_cache/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
exclude: 'oldsrc' | ||
|
||
repos: | ||
#- repo: https://github.com/markdownlint/markdownlint | ||
# rev: v0.11.0 | ||
# hooks: | ||
# - id: markdownlint | ||
# files: \.md$ | ||
# args: | ||
# - --git-recurse | ||
|
||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.1.0 | ||
hooks: | ||
- id: check-yaml | ||
- id: end-of-file-fixer | ||
- id: trailing-whitespace | ||
- id: check-added-large-files | ||
|
||
#- repo: https://github.com/psf/black | ||
# rev: 21.12b0 | ||
# hooks: | ||
# - id: black | ||
# args: [--line-length=88] | ||
|
||
- repo: https://github.com/pycqa/flake8 | ||
rev: 4.0.1 | ||
hooks: | ||
- id: flake8 | ||
args: | ||
# these settings are needed to make flake8 compatible with black | ||
- --max-line-length=88 | ||
- --select=C,E,F,W,B,B950 | ||
- --extend-ignore=E203,E501 | ||
additional_dependencies: | ||
- flake8-bugbear | ||
|
||
- repo: https://github.com/terrencepreilly/darglint | ||
rev: v1.8.1 | ||
hooks: | ||
- id: darglint | ||
args: ['-v2', '-sgoogle'] | ||
|
||
- repo: https://github.com/PyCQA/pydocstyle | ||
rev: 6.1.1 | ||
hooks: | ||
- id: pydocstyle | ||
args: ['--convention=google'] | ||
|
||
- repo: https://github.com/asottile/pyupgrade | ||
rev: v2.29.1 | ||
hooks: | ||
- id: pyupgrade | ||
|
||
- repo: https://github.com/asottile/setup-cfg-fmt | ||
rev: v1.20.0 | ||
hooks: | ||
- id: setup-cfg-fmt | ||
|
||
- repo: https://github.com/Lucas-C/pre-commit-hooks-safety | ||
rev: v1.2.2 | ||
hooks: | ||
- id: python-safety-dependencies-check | ||
|
||
# Checkitout | ||
- repo: https://github.com/Lucas-C/pre-commit-hooks-safety | ||
rev: v1.2.2 | ||
hooks: | ||
- id: python-safety-dependencies-check | ||
|
||
- repo: https://github.com/maxxxxxdlp/pre-commit | ||
rev: v1.0.6 | ||
hooks: | ||
- id: regex-blacklist | ||
args: | ||
- pre-commit-config/regex-blacklist.txt | ||
|
||
#- repo: https://github.com/PyCQA/isort | ||
# rev: 5.10.1 | ||
# hooks: | ||
# - id: isort | ||
# args: [--sp=pre-commit-config/.isort.cfg, --diff] | ||
# | ||
#- repo: https://github.com/PyCQA/pylint | ||
# rev: pylint-2.7.3 | ||
# hooks: | ||
# - id: pylint | ||
# args: [--rcfile=.github/linters/.python-lint] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<?eclipse-pydev version="1.0"?><pydev_project> | ||
|
||
<pydev_pathproperty name="org.python.pydev.PROJECT_SOURCE_PATH"> | ||
|
||
<path>/${PROJECT_DIR_NAME}/src</path> | ||
|
||
</pydev_pathproperty> | ||
|
||
<pydev_property name="org.python.pydev.PYTHON_PROJECT_VERSION">python interpreter</pydev_property> | ||
|
||
<pydev_property name="org.python.pydev.PYTHON_PROJECT_INTERPRETER">Default</pydev_property> | ||
|
||
</pydev_project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,12 @@ | ||
[](https://pycqa.github.io/isort/) | ||
|
||
# 2022 Data processing | ||
|
||
## Data Inputs | ||
|
||
United States Register of Introduced and Invasive Species (US-RIIS) | ||
https://doi.org/10.5066/P95XL09Q | ||
|
||
## Test USGS input files | ||
|
||
# Obsolete data processing | ||
|
||
## Process BISON-provider and GBIF data for BISON | ||
|
||
.. _2018 Data Load: docs/notes/dataload_2018.rst | ||
.. _2019/2020 Data Load: docs/notes/dataload_2019-2020.rst | ||
.. _Data Load Run Dependencies: docs/envsetup/develop_run_env.rst | ||
.. _GBIF Data Processing: docs/notes/gbif_process.rst | ||
.. _BISON-Provider Data Processing: docs/notes/provider_dataset_process.rst | ||
.. _Common Data Processing: docs/notes/provider_dataset_process.rst | ||
.. _July 2019 Data load meeting: docs/notes/mtgnotes_2019_07.rst | ||
.. _Standup meeting decisions about KU processing: docs/notes/standup_mtg_decisions.rst | ||
|
||
## Data Load by year | ||
* `2019/2020 Data Load`_ | ||
* `2018 Data Load`_ | ||
|
||
## Latest processing specifics | ||
* `BISON-Provider Data Processing`_ | ||
* `GBIF Data Processing`_ | ||
* `Common Data Processing`_ | ||
|
||
## Processing Dependencies | ||
|
||
see `Data Load Run Dependencies`_ | ||
|
||
## Misc Notes | ||
|
||
* `July 2019 Data load meeting`_ | ||
* `Standup meeting decisions about KU processing`_ | ||
python3 test/test_RIIS.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
"""Package for processing BISON data.""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
,astewart,badenov,27.12.2021 10:13,file:///home/astewart/.config/libreoffice/4; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Obsolete data processing | ||
|
||
## Process BISON-provider and GBIF data for BISON | ||
|
||
## Data Load by year | ||
* [2018 Data Load](notes/dataload_2018.rst) | ||
* [2019/2020 Data Load](notes/dataload_2019-2020.rst) | ||
|
||
## Latest processing specifics | ||
* [BISON-Provider Data Processing](notes/provider_dataset_process.rst) | ||
* [GBIF Data Processing](notes/gbif_process.rst) | ||
* [Common Data Processing](notes/provider_dataset_process.rst)**** | ||
|
||
## Processing Dependencies | ||
|
||
[Data Load Run Dependencies](notes/develop_run_env.rst) | ||
|
||
## Misc Notes | ||
|
||
* [July 2019 Data load meeting](notes/mtgnotes_2019_07.rst) | ||
* [Standup meeting decisions about KU processing](notes/standup_mtg_decisions.rst) | ||
|
||
## 2019 Data from Paul | ||
|
||
#### bison.tar.gz | ||
Occurrence data from BISON providers. CSV file created from Postgres table "solr" which | ||
is used to populate SOLR index. | ||
|
||
#### provider.csv | ||
|
||
BISON file containing provider lookup values for providers contained in "bisonProvider" table. | ||
Data is used to simplify filter function in web app. | ||
|
||
BISON provider ~= GBIF publisher/organization | ||
|
||
#### resource.csv | ||
|
||
BISON file containing resource lookup values for resources contained in "bisonResource" table. | ||
Data is used to simplify BISON API filter function. | ||
|
||
BISON resource ~= GBIF dataset |
Oops, something went wrong.