Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Datafarm #6

Draft
wants to merge 35 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
63fc211
Create DIMSFARM_example.ipynb
jsmariegaard Feb 28, 2023
6b8044d
datafarm first commit
Mar 29, 2023
d89207c
Datafarm update notebooks and docs
May 3, 2023
0d240bb
Create test_datafarm.py
jsmariegaard May 10, 2023
13d9032
requires_DATAFARM_API_KEY
jsmariegaard May 10, 2023
f793316
add DATAFARM_API_KEY to workflows
jsmariegaard May 10, 2023
a79458f
Rename arguments and variables
May 15, 2023
39344f9
Small fixes
May 15, 2023
b6c9740
Add tests
May 15, 2023
7241b85
Remove if name == "__main__"
May 15, 2023
ecaa632
parse start and end date in get_data
May 15, 2023
17b3ed1
Add defaults for "start" and "end" in get_data
May 15, 2023
d4f7701
Add /List/* endpoints
May 19, 2023
07217b6
use chached properties
May 24, 2023
8525639
Add fields and quality name mapping
May 24, 2023
6ab4727
List timeseries different path and GET request
ecomodeller May 26, 2023
21e49cb
insert_data
Jun 2, 2023
7c4ef20
Merge branch 'datafarm' of https://github.com/DHI/watobs into datafarm
Jun 2, 2023
bb0b255
Remove iso8601 timestamp option
Jun 2, 2023
61f57da
Update notebook
Jun 2, 2023
304c5fd
Add test_upload.txt
Jun 2, 2023
442157b
Fix QualityLevel dtype
Jun 6, 2023
85ff103
minor fix
Jun 6, 2023
858f164
Correct insert_data
Jun 9, 2023
005c4fb
Add delete_data
Jun 9, 2023
9269ff1
Add get_statistics
Jun 9, 2023
6e05862
Reconnect if token expires
Jun 9, 2023
7d32a71
only reconnect if connected
Jun 16, 2023
9b5f0bb
Small fixes
Jun 16, 2023
a43fd7e
Add delete test and example
Jun 16, 2023
4f1a6c6
Add update_data_quality
Jun 16, 2023
e8cd27f
Add type annotations
Jun 16, 2023
1de4bf4
oops.. missing __future__ import
Jun 21, 2023
346fbeb
fix
Jun 21, 2023
5383138
update notebook
Jun 21, 2023
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
1 change: 1 addition & 0 deletions .github/workflows/notebooks_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ jobs:
env:
DMI_API_KEY: ${{ secrets.DMI_API_KEY}}
DHI_ALTIMETRY_API_KEY: ${{ secrets.DHI_ALTIMETRY_API_KEY}}
DATAFARM_API_KEY: ${{ secrets.DATAFARM_API_KEY}}
run: |
pytest tests/notebooks/
1 change: 1 addition & 0 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,6 @@ jobs:
- name: Test with pytest
env:
DMI_API_KEY: ${{ secrets.DMI_API_KEY}}
DATAFARM_API_KEY: ${{ secrets.DATAFARM_API_KEY}}
run: |
pytest --cov=watobs --ignore tests/notebooks/
Loading